FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

feat: added autoclosing for taskserver setup snackbar by rohansen856 · Pull Request #582 · CCExtractor/taskwarrior-flutter · GitHub

feat: added autoclosing for taskserver setup snackbar - #582

Open
rohansen856 wants to merge 2 commits into
CCExtractor:mainfrom
rohansen856:snackbar_autoclose
Open

feat: added autoclosing for taskserver setup snackbar#582
rohansen856 wants to merge 2 commits into
CCExtractor:mainfrom
rohansen856:snackbar_autoclose

Conversation

rohansen856 commented Feb 4, 2026
edited
Loading

Copy link
Copy Markdown
Contributor

Description

The SnackBar widget was created without a duration parameter. As duration is not specified, the SnackBar will remain visible until explicitly dismissed or until a new SnackBar is shown. This caused the banner to stay on screen indefinitely, creating a poor user experience.

  1. Added duration: const Duration(seconds: 4) to the SnackBar constructor also async Timer to close the snackbar forcefully in 4s.
  2. The user can now also swipe to cancel the snackbar

Fixes #577

Screenshots

Checklist

  • Tests have been added or updated to cover the changes
  • Documentation has been updated to reflect the changes
  • Code follows the established coding style guidelines
  • All tests are passing

Signed-off-by: rohansen856 <rohansen856@gmail.com>

Copy link
Copy Markdown
Collaborator

Keep the old style
It should be attached to bottom of screen similar to other snackbars in the App

Copy link
Copy Markdown
Contributor Author

Keep the old style It should be attached to bottom of screen similar to other snackbars in the App

Sure thing! Also in that case should i keep the swipe to dismiss functionality or discard that too...?

Copy link
Copy Markdown
Collaborator

Keep the old style It should be attached to bottom of screen similar to other snackbars in the App

Swipe down to dismiss should be there. (No Left or Right)

Copy link
Copy Markdown
Contributor Author

Keep the old style It should be attached to bottom of screen similar to other snackbars in the App

Swipe down to dismiss should be there. (No Left or Right)

Got it! implementing with the next commit.

Signed-off-by: rohansen856 <rohansen856@gmail.com>

Copy link
Copy Markdown
Collaborator

@rohansen856, Any updates on this?

Copy link
Copy Markdown
Contributor Author

@SGI-CAPP-AT2 the issue is solved. please review it. Thanks!

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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.

TaskServer is not configured” banner does not disappear

2 participants


Back | FazBrowse Home | New Git URL