Improvement/task delete confirmation 854#1100
Conversation
…ation through a modal dialog. This improves the user experience by adding a safety check before performing irreversible actions.
|
|
Can you switch to a Radix UI Dialog Modal instead of the VScode native modal? |
…g component for task deletion confirmation. The change provides a more consistent user experience by using the same design system as the rest of the application. Changes: Add new DeleteTaskDialog component using Radix UIs AlertDialog Update HistoryView to manage dialog state and task deletion flow Remove VSCode native dialog from ClineProvider.ts
|
Per @hannesrudolph request this has been moved to us Radix UI Alert Dialog to fit the project structure better |
Can you update the pic in the PR? |
|
@hannesrudolph that is complete. Sorry for the oversite. |
|
Beautiful @mrubens take a look when you get a chance! |
|
Looks like a test failure though |
|
Test needs to handle the delete confirmation. Will update |
|
@mrubens corrected mistake in unit test. Ready to merge upon your approval. |
Description
Type of change
How Has This Been Tested?
Manual testing no failing unit tests
Checklist:
Additional context
--edit to show corrected image
Related Issues
Fixes #854
Reviewers
Important
Adds a confirmation dialog in
deleteTaskWithId()inClineProvider.tsto confirm task deletion.deleteTaskWithId()inClineProvider.tsto confirm task deletion.This description was created by
for 2fd3431. It will automatically update as commits are pushed.