Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add confirmation modal for removing from workspace #236

Merged
merged 2 commits into from
Sep 24, 2024

Conversation

marjisound
Copy link
Contributor

What does this change?

This PR adds a confirmation modal for removing items from workspace. If it's a single file to be removed, the confirmation message displayed to user is:
"This will remove the file [filename] from the current workspace. It cannot be undone. Are you sure you want to proceed?"

If it’s any other type (folder, zip, email database that can be “expanded” etc), the message is:
"This will remove the selection [item name] and everything nested inside it from your workspace. It cannot be undone. Are you sure you want to proceed?"

The PR also updated the delete modal message to be consistent with the remove modal.
ezgif-7-ef995e90b0

How to test

Tested locally

@marjisound marjisound requested a review from a team as a code owner September 24, 2024 09:43
@marjisound marjisound changed the title Add confirmation modal for remove Add confirmation modal for removing from workspace Sep 24, 2024
Copy link
Contributor

@philmcmahon philmcmahon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work

@marjisound marjisound merged commit 35d6acf into main Sep 24, 2024
4 checks passed
@marjisound marjisound deleted the add-confirmation-modal-for-remove branch September 24, 2024 10:50
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.

2 participants