Add delete option for project actions#223
Conversation
Adds a delete button to the action edit dialog with a confirmation alert. Fixes pingdotgg#208.
|
@shiroyasha9 is attempting to deploy a commit to the Ping Labs Team on Vercel. A member of the Team first needs to authorize it. |
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Tip Try Coding Plans. Let us write the prompt for your AI agent so you can ship faster (with fewer bugs). 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. Comment |
Context
Adds a delete button to the action edit dialog with a confirmation alert.
Related issues
Fixes #208
Flows tested:
Screenshots
Note
Add delete action for project scripts via
ChatViewandProjectScriptsControlto support removing scripts from the active projectIntroduce
onDeleteProjectScriptinChatHeaderand wire it toProjectScriptsControl, adding a confirmation dialog and invokingChatView'sdeleteProjectScriptto persist removal and show a toast. See ChatView.tsx and ProjectScriptsControl.tsx.📍Where to Start
Start with
deleteProjectScriptin ChatView.tsx, then follow theonDeleteProjectScriptprop throughChatHeadertoonDeleteScriptin ProjectScriptsControl.tsx.Macroscope summarized 4aeca68.