nextcloud / nextcloud/server

Click during selection to (un)select

Open
#54,504 8 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.

During a selection, when I click on an item it opens the file or download it, and mess with the current selection.

Describe the solution you'd like

During a selection, clicking on an item selects it if it isn't yet, or unselect it if it is already selected. The same way, Shift+click should select the range.

Additional context

This behavior is used everywhere, even on the Nextcloud Android application.

The behavior with the list view may be different

Edit: addition about shift+click

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

No files, tests, or entry points are named. Search the repository for the file-selection UI and its click and Shift+click handling, then verify that clicks toggle items during an active selection, Shift+click selects a range, and the existing selection behavior is preserved outside that mode.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 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.