nextcloud / nextcloud/server

Files Keyboard Shortcut for item with mouse over

Open
#54,505 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Is your feature request related to a problem? Please describe.
There are shortcut in the Files application to show right panel of an item, select it, manage tags, etc. But it is possible to use them only with item hovered with the keyboard arrows ("pre-select"): If you open a directory point mouse on a folder and tape "d", nothing happens.

Describe the solution you'd like
I wish it would be possible to use them with the item with the mouse over if none as been "pre-selected" with the keyboard.

Describe alternatives you've considered

  • It should also be possible to have a Shift+Click to "pre-select" an item - then the css should maybe be slightly different with mouse over
  • A selected item (when the selection input on the left is checked) should "pre-select" an item too.

Additional context
These shortcuts are maybe the way to go when we can't get used to the clicking UX, when a single click opens anything

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 in the Files application’s keyboard-shortcut handling and examine how an item is pre-selected by keyboard navigation. Reproduce the case where the mouse is over an item without a pre-selected item, then verify that the relevant shortcuts work there while preserving existing selection behavior.

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
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.