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

Error pages for more sections #2101

Merged
merged 19 commits into from
Aug 28, 2024
Merged

Error pages for more sections #2101

merged 19 commits into from
Aug 28, 2024

Conversation

gnunicorn
Copy link
Contributor

@gnunicorn gnunicorn commented Aug 25, 2024

  • Task
    • TaskList List
    • TaskList Details
    • Task Item Details
  • Events
    • Events List
    • Event Details

With tests, on top of #2089 of course.

Additionally this refactors the AsyncRsvpStatusNotifier into a typed variant that uses the RsvpStatusTag as it should be done.

Copy link
Contributor

Hey there 👋,
and thanks for the contribution. But it seems like you forgot to

  • 📰 Add a markdown file in .changes/ explaining what changed

@gnunicorn gnunicorn requested review from kumarpalsinh25, bitfriend and gtalha07 and removed request for kumarpalsinh25 August 25, 2024 16:35
@gnunicorn gnunicorn added bug Something isn't working s-tasks Tasks-Sektion s-calendar Calendar, events & meetings labels Aug 25, 2024
@gnunicorn gnunicorn marked this pull request as ready for review August 25, 2024 16:35
@gnunicorn gnunicorn mentioned this pull request Aug 26, 2024
17 tasks
@@ -148,6 +148,7 @@ dependencies:
open_filex: ^4.5.0
phosphor_flutter: ^2.1.0
device_calendar: ^4.3.2
quickalert: ^1.1.0
Copy link
Contributor

Choose a reason for hiding this comment

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

Aren't we using EasyLoading package to show different data states? Why this one is needed on top??

Copy link
Contributor Author

Choose a reason for hiding this comment

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

easyloading is transative, dialog-oriented and non-disruptive. quickalert provides further widget for more prominent, larger and more intrusive widgets. They are complementary.

Copy link
Contributor

Choose a reason for hiding this comment

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

If that is so, do we want to consider unify all alerts be approached according to this package? If it also supports loading/error states?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

no. they are complementary, covering different aspects. I think we want to keep easyloading as is. only errors and interactions we want the user to be forced to deal with, this is for.

import '../../helpers/test_util.dart';

void main() {
group('Event List Error Pages', () {
Copy link
Contributor

Choose a reason for hiding this comment

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

Protests! More like pro tests 😄 👏🏻

Copy link
Contributor

@gtalha07 gtalha07 left a comment

Choose a reason for hiding this comment

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

Nice additions. Overall lgtm!

@gnunicorn gnunicorn merged commit 37cdef2 into main Aug 28, 2024
21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working s-calendar Calendar, events & meetings s-tasks Tasks-Sektion
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants