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

Dev #315

Merged
merged 6 commits into from
Feb 25, 2024
Merged

Dev #315

merged 6 commits into from
Feb 25, 2024

Conversation

Sabra-xD
Copy link
Contributor

@Sabra-xD Sabra-xD commented Feb 24, 2024

Description

A notifier needed to be displayed for the user in a snackBar.
Wrapped the AlertDialog of add_Task with a Scaffold, so the snackBar's ScaffoldMessanger can locate it and displayed the message.
Also, highlighted the due time to be in red when the time selected is in the past.

AlertDialog is being displayed if the user haven't set up a TaskServer.

Fixes #(314 & 308 & 316)

Screenshots

Screenshot_2024-02-23-07-59-30-60_9bdaab249332ff0aa81548d24e981681

Screenshot_2024-02-25-01-56-21-82_9bdaab249332ff0aa81548d24e981681

overflow

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

@Sabra-xD
Copy link
Contributor Author

Hey, @Pavel401 I remove the flushBar from earlier since it caused and issue with adding the task, it didn't close it if the flush bar was still on screen for its 2 seconds, and I just made do with the snackBar instead.

@Pavel401
Copy link
Member

Hi @Sabra-xD, thank you for submitting the PR. By the way, could you replace the dialog with a snack bar on the task server page? In most places, we use Snackbar throughout the app, so it would be great if the new one matched. Also, please make sure that the snack bar matches the theme of the app, both in dark and light mode. Thank you!

@Sabra-xD
Copy link
Contributor Author

@Pavel401 Done.

@Sabra-xD
Copy link
Contributor Author

Hey @Pavel401 I have added the solution for the most recent issue to the PR.

@Pavel401 Pavel401 merged commit d380522 into CCExtractor:main Feb 25, 2024
2 checks passed
@Pavel401
Copy link
Member

From next time please send multiple PRs for each issue. @Sabra-xD

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