Allow `show_dialog_deletion` to be set for new users by default
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 36.9k
- Forks
- 5.2k
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 713
Description
[!TIP]
Help move this idea forward
- Use the 👍 reaction to show support for this feature.
- Avoid commenting unless you have relevant information to add; unnecessary comments create noise for subscribers.
- Subscribe to receive notifications about status changes and new comments.
Is your feature request related to a problem? Please describe.
Users can configure to be asked to confirm file or folder deletions. But as far as I can tell this settings needs to be configured for each user explicitly.
Describe the solution you'd likeshow_dialog_deletion`
I would like a global option that sets show_dialog_deletion in the oc_preferences table for new users automatically.
Describe alternatives you've considered
I don't think there are any alternatives for this beside reworking the will a user be asked to confirm a deletion workflow completely.
Additional context
Even if files/folders are recoverable from the trashbin, this process can take a moment, and if this happens with a folder that is shared amongst many users, this process can be a bit stressful, and lead to unexpected inconsistencies with files that were edited during the deletion. So making sure that a 100GB folder actually needs to be deleted would have been good 😅
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 by tracing how new users are created and how the show_dialog_deletion preference is written to the oc_preferences table. Identify where a global default could be applied, then verify that newly created users receive the setting automatically without changing existing users.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- backend, database
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100