raycast / raycast/extensions

Alert to double check for Action.Trash and custom toast message

Open
#4,424 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

api feature request Stale
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

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 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.