Open tomsmith8 opened 7 months ago
Remove delete out of here:
@tomsmith8 When user clicks "Delete", do we want to show warning "Are you sure you want to Delete this node?" And after deletion, do we need success message "Node Deleted"?
@tomsmith8 Here is a preview of entire Saving and deleting process. I made example for modal containing only one field, and version with three fields, so we can see how it works with multiple fields. In saving process i added "Saved" notification, And for deletion process i added "Are you sure" message and confirmation on the end.
https://github.com/stakwork/sphinx-nav-fiber/assets/13258550/46b60060-1468-474d-9fa1-5320fd535556
This is alternative solution for "Are you sure" message, showing it on same modal. But i believe previous version will work better.
https://github.com/stakwork/sphinx-nav-fiber/assets/13258550/b761c567-e5cf-4c75-8e13-74a95ef2e793
@tomsmith8 Here is video preview of the version with updates we discussed.
https://github.com/stakwork/sphinx-nav-fiber/assets/13258550/6c740203-f3a4-44e1-bd75-2e4a568b6ab8
@tomsmith8 Here are the final assets, in case you don't need any changes.
Video Preview
https://github.com/stakwork/sphinx-nav-fiber/assets/13258550/ad2375a2-bfa9-47d9-a434-8b5451ddfe14
Figma project
Dev mode link
Prototype
Task
Add delete node functionality to the Edit Modal UI: