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

UNDO button for deleting queries #19

Open
masonmcelvain opened this issue Jul 15, 2020 · 1 comment
Open

UNDO button for deleting queries #19

masonmcelvain opened this issue Jul 15, 2020 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@masonmcelvain
Copy link
Member

When a user deletes a query, we could delay the deletion by 10 seconds (some fixed amount of time) and display a small pop up that confirms the phrase is deleted, and offers a button for the user to undo that deletion.

"Phrase deleted. UNDO"

Instead of deleting and undoing the phrase (which is hard), the cancel the requested deletion before it is even completed (ie cancel it within that 10 second window).

Problems to watch out for: If we fetch more queries immediately after a deletion is requested, we need to make sure that the deleted query isn't included in that fetch.

This approach could also be used for submitting queries as well.

Inspiration from Gmail and Outlook email deletion pop-ups.

@masonmcelvain masonmcelvain added the enhancement New feature or request label Jul 15, 2020
@Waidhoferj
Copy link
Member

It'd be cool if we could also map this to control + z

@masonmcelvain masonmcelvain removed their assignment Dec 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants