Skip to content

Add a simple right click menu on the files Nextcloud app

License

AGPL-3.0, AGPL-3.0 licenses found

Licenses found

AGPL-3.0
LICENSE
AGPL-3.0
COPYING
Notifications You must be signed in to change notification settings

jcbdg18/files_rightclick

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Files Right Click (Nextcloud app)

Add a simple right click menu on the Files Nextcloud app. Add also some open options in function of the file type

Some screenshots

Folder context menu

Add "Open folder" option to open the folder as you just left clicked on it Add "Open in a new tab" option to open the folder in a new tab (middle click) alt text

Picture context menu

Add "See this picture" option to see the picture Add "Open in the gallery app" option to open the picture in the gallery app alt text

File context menu

Add "Edit this file" option to edit the file alt text

Other file types are handled (if an app can open it)

  • Audio files: start and stop playing
  • Video files: start watching

TODOs

  • Add a context menu for files applications (Files and Files_Sharing)
  • Add custom options for each files:
    • Open option (detect the file type)
    • Check or uncheck option
    • Adapt sharing and copy/move options with selected files
    • WebDAV link option
  • Detect if an app is installed
  • Split js files
  • Use strict mode
  • Create a context menu generator
  • Add a context menu to create files or directories
  • Add a context menu in each icon apps
  • Add sub menu compatibility in context menu
  • Publish a new app (with a different name) and allow any app to create its own context menu(s)
  • Backport to NC 12

Changelogs

v0.8.4

  • Rerouting as suggested by @zorn
  • Bugs fixed:
    • Bad delimiter selection
    • Submenus went out of the screen
    • Submenus was not deleted (at the end, unnecessary use of memory)

v0.8.3

  • Add a copy function (text instead of an onClick function)
  • Add WebDAV link copy option nextcloud#15
  • Bugs fix:

v0.8.2

  • Improve submenu display
  • Better onHover management
  • Better class names
  • Bug fix:

v0.8.1

  • Add submenu compatibility
  • Optimizations and bugs fixed

v0.8.0

  • Creation of an object to create simple menus (avalaible for any apps):
    • RightClick.Option create an option for a menu with an icon, a text and an onClick function
    • RightClick.Options regroup given options for a menu
    • RightClick.Menu allow to create a menu object applied to a delimited area
  • The next version will allow to have submenus
  • Add changelogs nextcloud#16

v0.7.0

  • Add TODO list
  • Optimizations
  • Set the NC compatibility to v13 and above nextcloud#14

v0.6.1

  • Add russian translation (thanks to @zorn)

v0.6.0

  • Can now recognized available apps
  • Bug fixed:
    • Correct loop of death caused by audioplayer incompatibily (now fixed) nextcloud#10

v0.5.3

  • Bugs fixed:
    • Share icon didn't show nextcloud#12
    • Right click context fixed

v0.5.2

  • German text updated (thanks to @worldworm)
  • Right click context changed

v0.5.1

v0.5.0

  • Add portuguese brazil translation (thanks to @darioems)
  • Add german translation (thanks to @worldworm)
  • Add (un)select options
  • Bugs fixed:
    • Copy/Move options nextcloud#5
    • Right click menu didn't show when the file was shared by link

v0.4.0

  • First release in the NC appstore
  • Add right click on files
  • Add custom options for each type of file

About

Add a simple right click menu on the files Nextcloud app

Resources

License

AGPL-3.0, AGPL-3.0 licenses found

Licenses found

AGPL-3.0
LICENSE
AGPL-3.0
COPYING

Stars

Watchers

Forks

Packages

 
 
 

Languages

  • JavaScript 96.1%
  • PHP 3.7%
  • CSS 0.2%