Skip to content

Implement snackbar undo to prevent accidental deletes fixes #1363#1380

Open
gauravk16in wants to merge 1 commit intofoss42:mainfrom
gauravk16in:issue1363
Open

Implement snackbar undo to prevent accidental deletes fixes #1363#1380
gauravk16in wants to merge 1 commit intofoss42:mainfrom
gauravk16in:issue1363

Conversation

@gauravk16in
Copy link
Contributor

PR Description

Implemented Snackbar with Undo to avoid accidental deletes during rapid API testing.
Make sure to works from both delete buttons one in sidebar and another in editor top bar.
Upgraded snackbar.dart for action and also duration support.

Video -Before Snackbar

before.mp4

Video -After Snackbar

after.1.mp4

Related Issues

Closes #1363

Checklist

  • I have gone through the contributing guide
  • I have updated my branch and synced it with project main branch before making this PR
  • I am using the latest Flutter stable branch (run flutter upgrade and verify)
  • I have run the tests (flutter test) and all tests are passing

Added/updated tests?

We encourage you to add relevant test cases.

  • Yes
  • No, and this is why: please replace this line with details on why tests have not been included

OS on which you have developed and tested the feature?

  • Windows
  • macOS
  • Linux

@animator please review it and merge the pr.

@gauravk16in gauravk16in changed the title Iimplement snackbar undo to prevent accidental deletes fixes #1363 Implement snackbar undo to prevent accidental deletes fixes #1363 Mar 19, 2026
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.

Add confirmation dialog before deleting requests or collections

1 participant