nextcloud / nextcloud/server

Allow file rename from sidebar

Open
#40,775 1 comment 6 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

0. Needs triage enhancement feature: file sidebar feature: files
Dominant language
PHP
Stars
36.9k
Forks
5.2k
Avg merge
2d 3h
Merged PRs (30d)
713

Description

How to use GitHub
  • Please use the 👍 reaction to show that you are interested into the same feature.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

Is your feature request related to a problem? Please describe.
We are using an automated scanner solution with our nextcloud. With this, we get a fair amount of pdf files in a folder which are automatically named with the date and time they have been scanned. These need to be renamed in an efficient manner to reflect their actual content. Using Nextcloud in my browser, I can only rename the files when having the file list open. I could not find a possibility to rename the file while having the content previewed.

This leads to the following workflow (for each file)

  • Open the files list
  • Open the file in a new tab (and wait for it to load)
  • Change tabs for looking at the content of th file
  • Get back to file list, click the three dots, click rename
  • Start renaming the file
  • Realize that I have forgotten some information (e.g. exact spelling of a name)
  • Switch back to tab with file content open
  • Remember the needed information
  • Get back to the file list
  • Realize that I am not editing the file name anymore because I switched tabs
  • Open the three dots menu, click rename
  • Hopefully finish renaming the file. If not, get back to the other tab....

This would be so much easier when I could just rename the file while having the preview open (e.g. by enabling renaming through the sidebar).

Describe the solution you'd like
I would like to suggest either adding a little "edit" icon next to the filename in the sidebar or add "Rename" as an option to the three dot menu (which currently only contains the item "Tags" - see also #29903

Describe alternatives you've considered
Develop an own app for this.
Use the Windows client and rename file from the windows explorer

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the file preview and sidebar workflow in Nextcloud Server, then inspect the existing sidebar three-dot menu and its Tags action. The work is done when the preview sidebar offers a clear way to rename the currently viewed file and the renamed file is reflected in the file list.

Written by the indexing model from the issue text.

Assessment

Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.