Parameterize the minimum number of selected files required to enable the delete confirmation popup.
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 36.9k
- Forks
- 5.2k
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 713
Description
In its current state, the server asks for confirmation to remove files only if at least 5 files have been selected, when the recycle bin is enabled.
I think it would be useful to have that limit as a configurable parameter in config.php, so that it can be set as desired, specifically to 1 to always force the request popup.
See https://github.com/nextcloud/server/blob/master/apps/files/src/actions/deleteAction.ts#L87
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at apps/files/src/actions/deleteAction.ts around the linked selection threshold, then trace how configuration values are exposed through config.php. Make the minimum selected-file count configurable and verify that setting it to 1 always triggers the delete confirmation popup.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php, typescript
- Domain
- full-stack
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100