-
-
Notifications
You must be signed in to change notification settings - Fork 21
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
Conversation
Hey there 👋,
|
@@ -148,6 +148,7 @@ dependencies: | |||
open_filex: ^4.5.0 | |||
phosphor_flutter: ^2.1.0 | |||
device_calendar: ^4.3.2 | |||
quickalert: ^1.1.0 |
There was a problem hiding this comment.
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??
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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', () { |
There was a problem hiding this comment.
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 😄 👏🏻
There was a problem hiding this 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!
With tests, on top of #2089 of course.
Additionally this refactors the
AsyncRsvpStatusNotifier
into a typed variant that uses theRsvpStatusTag
as it should be done.