-
-
Notifications
You must be signed in to change notification settings - Fork 287
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
feat: 3835 - country selector similar to language selector #3936
feat: 3835 - country selector similar to language selector #3936
Conversation
Impacted files: * `consent_analytics_page.dart`: minor refactoring * `country_selector.dart`: now using the preferences for initial country code; same UI as language selector * `main.dart`: minor refactoring * `next_button.dart`: minor refactoring * `onboarding_flow_navigator.dart`: refactoring around `OnboardingPage` * `permissions_page.dart`: minor refactoring * `product_query.dart`: minor refactoring * `user_preferences.dart`: minor refactoring * `user_preferences_dev_mode.dart`: minor refactoring * `user_preferences_page.dart`: minor UI fix (app bar title on 2 lines) * `user_preferences_settings.dart`: added the "selected language" parameter; minor refactoring * `welcome_page.dart`: fixed a visual overflow bug
Codecov Report
@@ Coverage Diff @@
## develop #3936 +/- ##
===========================================
+ Coverage 10.99% 11.01% +0.01%
===========================================
Files 264 264
Lines 13051 13032 -19
===========================================
Hits 1435 1435
+ Misses 11616 11597 -19
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
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.
Thanks a lot @monsieurtanuki, great to have it behave the same
); | ||
case OnboardingPage.CONSENT_PAGE: | ||
return _wrapWidgetInCustomBackNavigator( | ||
context, | ||
page, | ||
ConsentAnalyticsPage(getBackgroundColor(page)), | ||
ConsentAnalyticsPage(backgroundColor), |
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.
I know it's not from you but I am wondering why don't we just have the color inside the page
Thank you @M123-dev for your review! Regarding the colors being defined outside of the pages, I wouldn't mind if it was coded differently but after all, that forces developers to think about a different color for each onboarding page. Let's keep it that way. |
What
OnboardingPage
. I was in a "Am I crazy or what?" mode for several days and tried everything to fix my issue. Was there a flaw in theprovider
? Spoiler alert: no there wasn't, I just coded something inappropriately that cleared the data I'd just entered...Screenshots
Fixes bug(s)
Files
consent_analytics_page.dart
: minor refactoringcountry_selector.dart
: now using the preferences for initial country code; same UI as language selectormain.dart
: minor refactoringnext_button.dart
: minor refactoringonboarding_flow_navigator.dart
: refactoring aroundOnboardingPage
permissions_page.dart
: minor refactoringproduct_query.dart
: minor refactoringuser_preferences.dart
: minor refactoringuser_preferences_dev_mode.dart
: minor refactoringuser_preferences_page.dart
: minor UI fix (app bar title on 2 lines)user_preferences_settings.dart
: added the "selected language" parameter; minor refactoringwelcome_page.dart
: fixed a visual overflow bug