RocketChat / RocketChat/Rocket.Chat

Add "Don't Ask Again" Option in Delete Files Modal

Open
#35,229 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
46.1k
Forks
13.9k
Avg merge
3d 3h
Merged PRs (30d)
130

Description

Description:

Currently, every file deletion requires confirmation, which can be repetitive and frustrating for users who frequently delete files.
Enhance the delete confirmation modal by adding a "Don't ask again" checkbox. adding this feature will be beneficial for:

  • moderators improving their workflow efficiency,
  • Gives users control over their experience by allowing them to disable repeated prompts.

It should also contain Reset Option: Allow users to re-enable the confirmation from settings.

Steps to reproduce:
  1. Go to any channel
  2. In files aggregator
  3. option -> delete any file -> check the prompt.
Expected behavior:

I expect Delete modal should show the option (checkbox) where user can choose to prompt Delete File again or not.

Actual behavior:

There is not any option.

Server Setup Information:
  • Version of Rocket.Chat Server: 7.4
  • License Type:
  • Number of Users:
  • Operating System: Any
  • Deployment Method: development
  • Number of Running Instances:
  • DB Replicaset Oplog:
  • NodeJS Version: 22.11.0
  • MongoDB Version: 7
Client Setup Information
  • Desktop App or Browser Version: Any
  • Operating System: FireFox
Additional context

Please Note: it is just an addition not a bug, If team want this addition then i can raise a PR for the change.

Relevant logs:

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 from the delete action in the channel Files aggregator and trace the delete confirmation modal and existing user settings patterns. Implement the checkbox behavior and a settings reset path, then verify that deletion prompts can be disabled and later restored.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.