nextcloud / nextcloud/viewer

Enable Delete-Shortcut in Picture Viewer

Open
#2,733 1 comment 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

0. Needs triage enhancement
Dominant language
JavaScript
Stars
119
Forks
72
Avg merge
18h 42m
Merged PRs (30d)
24

Description

While viewing pictures with the picture viewer the "delete-button" is hidden in the Overflow Menu (...)
It is much more handy to delete a picture using the "Del"-key of the keyboard.

Which Nextcloud Version are you currently using: (see administration page)
Nextcloud 29.0.9.2

Is your feature request related to a problem? Please describe.
I'm always frustrated when I have to delete pictures in the picture viewer.
For every deletion I have to click the dot menu (...). Then I must move the mouse pointer to the delete-icon. Then I must click the icon.
This are three actions for one deletion. It will be much more practical to do this with only one key click.
I have thousands of pictures from my smartphone automatical upload. There are always many double pictures or unsharp pictures to delete.
Browsing the pictures with the arrow keys and deleting with the del-key will be working like a charm.

Describe the solution you'd like
Enable a shortcut to delete pictures with the delete-key.

Describe alternatives you've considered
None.

Additional context

Image

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 locating the picture viewer's keyboard handling and the existing delete action. Check how the Delete key interacts with picture navigation and confirm that a picture can be deleted with that key while browsing, with the existing deletion behavior preserved.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.