-
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
Logout button improvements - Fix padding on loading. Hide the button … #977
base: develop
Are you sure you want to change the base?
Conversation
…after logout. Optimise the business logic
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #977 +/- ##
========================================
Coverage 95.66% 95.66%
========================================
Files 121 121
Lines 2632 2632
========================================
Hits 2518 2518
Misses 114 114 ☔ View full report in Codecov by Sentry. |
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.
Do we really need to move the logout button ?
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.
It was an issue in the mocking one of states. I have fixed it and reupload tests.
...plates/bricks/lib_auth/__brick__/lib/feature_profile/ui_components/logout_action_button.dart
Outdated
Show resolved
Hide resolved
), | ||
child: RxBlocMultiBuilder2<UserAccountBlocType, bool, bool>( | ||
state1: (bloc) => bloc.states.isLoading, | ||
state2: (bloc) => bloc.states.loggedIn, |
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.
Let's try to immediately redirect the user to the login page, instead of hiding the button
…after logout. Optimise the business logic
Overview
< Pull Request Description >
Checklist
Implementation
Stability