Alert to double check for Action.Trash and custom toast message
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 7.8k
- Forks
- 6.9k
- Avg merge
- 2d 6h
- Merged PRs (30d)
- 442
Description
Description
Action.Trash is a convenient API for deleting files. While it's a file operation after all, I think it's necessary for users to double check. Maybe the API can add an optional boolean property such as enableDoubleCheck.
Also Action.Trash will toast after triggered, while the toast's message can not be customized.
Who will benefit from this feature?
No response
Anything else?
No response
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 locating the Action.Trash API entry point and the code that triggers its toast. Review how other actions handle confirmation and customizable messages, then define the expected optional property and message behavior. Done means the API behavior is specified and covered by the relevant documentation or tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- api, desktop
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100