Skip to content

Add delete option for project actions#223

Merged
t3dotgg merged 1 commit intopingdotgg:mainfrom
shiroyasha9:fix/delete-actions
Mar 9, 2026
Merged

Add delete option for project actions#223
t3dotgg merged 1 commit intopingdotgg:mainfrom
shiroyasha9:fix/delete-actions

Conversation

@shiroyasha9
Copy link
Contributor

@shiroyasha9 shiroyasha9 commented Mar 7, 2026

Context

Adds a delete button to the action edit dialog with a confirmation alert.

Related issues

Fixes #208

Flows tested:

  • Creating a new action works fine and does not show the delete button.
  • Using the keybindings to trigger the action works.
  • Editing an action shows the delete button in the footer.
  • The delete button opens an appropriate confirmation dialog
  • Deleting shows a toast, and the keybindings no longer works.

Screenshots

image image image

Note

Add delete action for project scripts via ChatView and ProjectScriptsControl to support removing scripts from the active project

Introduce onDeleteProjectScript in ChatHeader and wire it to ProjectScriptsControl, adding a confirmation dialog and invoking ChatView's deleteProjectScript to persist removal and show a toast. See ChatView.tsx and ProjectScriptsControl.tsx.

📍Where to Start

Start with deleteProjectScript in ChatView.tsx, then follow the onDeleteProjectScript prop through ChatHeader to onDeleteScript in ProjectScriptsControl.tsx.

Macroscope summarized 4aeca68.

Adds a delete button to the action edit dialog with a confirmation
alert. Fixes pingdotgg#208.
@vercel
Copy link

vercel bot commented Mar 7, 2026

@shiroyasha9 is attempting to deploy a commit to the Ping Labs Team on Vercel.

A member of the Team first needs to authorize it.

@coderabbitai
Copy link

coderabbitai bot commented Mar 7, 2026

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: 0e663cdb-9167-4b92-8203-41fdcc49a574

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

Tip

Try Coding Plans. Let us write the prompt for your AI agent so you can ship faster (with fewer bugs).
Share your feedback on Discord.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@shiroyasha9 shiroyasha9 mentioned this pull request Mar 7, 2026
@t3dotgg t3dotgg merged commit 1c43bad into pingdotgg:main Mar 9, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Can't delete actions

2 participants