-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
[Update Account Settings] Preferences, About, Security #35672
[Update Account Settings] Preferences, About, Security #35672
Conversation
The PR is ready for review. However, I found one issue with StatusBar: The StatusBar is not updating after the theme is changed. Previously it worked, because we didn't have to change the status bar color when changing the theme (both light and dark themes used the blue status bar color to match the illustration background). Now, as the illustration is no longer stuck to the header, we need to switch the colors of the status bar, which apparently doesn't work. I can see that there are some other issues related to StatusBar, maybe someone who worked with this component closer could have a look? Simulator.Screen.Recording.-.iPhone.15.Pro.-.2024-02-08.at.11.16.48.mp4 |
…t' into update-account-settings/preferences
|
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 for thorough testing, moving this ahead
@@ -26,6 +27,7 @@ const DotLottieAnimations: Record<string, DotLottieAnimation> = { | |||
file: require('@assets/animations/PreferencesDJ.lottie'), | |||
w: 375, | |||
h: 240, | |||
backgroundColor: colors.blue500, |
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 tmight be nice to add this as a follow up but I would say once we will need this dynamic which we dont right now as far as I know
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.
SignInPage tests need to be updated to mock the Navigation correctly after the updateStatusBarStyle
change
Changes Suggested to resolve the Statusbar background color issue (not adding proposal because new changes needed are straightforward i belive can be done in the PR)Remove these App/src/styles/theme/themes/light.ts Lines 95 to 98 in bfae5b2
App/src/styles/theme/themes/dark.ts Lines 95 to 98 in bfae5b2
and adding this (for sign in page status bar) [NAVIGATORS.BOTTOM_TAB_NAVIGATOR]: {
backgroundColor: colors.productDark200,
statusBarStyle: CONST.STATUS_BAR_STYLE.DARK_CONTENT,
} and merging #34409 which solves #35672 (comment), #35672 (comment) and minor suggestions from Rory #34154 (comment)
|
The performance tests are fixed. cc @mountiny |
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.
Thank you
Sorry for not getting to this sooner, please ping me in slack once you resolve conflicts |
@mountiny conflicts resolved |
@ishpaul777 I believe that this is out of the scope of this original issue. If we have dedicated PR (#34409) for handling the StatusBar we should focus on fixing all related issues there. |
Some PR introduced "Mute all sounds from Expensify" switch. Can someone confirm if it looks ok? The Figma designs doesn't cover this case. If needed, please update the designs. cc @shawnborton , @trjExpensify , @dubielzyk-expensify , @mountiny |
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.
That looks good thank you
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
@@ -105,7 +105,7 @@ const lightTheme = { | |||
statusBarStyle: CONST.STATUS_BAR_STYLE.LIGHT_CONTENT, | |||
}, | |||
[SCREENS.SETTINGS.PREFERENCES.ROOT]: { | |||
backgroundColor: colors.blue500, | |||
backgroundColor: colors.productLight100, | |||
statusBarStyle: CONST.STATUS_BAR_STYLE.LIGHT_CONTENT, |
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.
this should be in dark mode i think
statusBarStyle: CONST.STATUS_BAR_STYLE.DARK_CONTENT,
Screen.Recording.2024-02-14.at.4.08.20.AM.mov
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.
Fixed here
🚀 Deployed to production by https://github.com/thienlnam in version: 1.4.41-12 🚀
|
Details
Update all pages in AccountSettings that use illustrations according to the new designs:
It also this minor regression.
And it also adds missing icons in the Account Settings.
Fixed Issues
$ #35606
$ #35607
$ #35608
$ #35905
$ #36246
PROPOSAL: N/A
Tests
Offline tests
N/A
QA Steps
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.src/languages/*
files and using the translation methodWaiting for Copy
label for a copy review on the original GH to get the correct copy.STYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)Design
label so the design team can review the changes.ScrollView
component to make it scrollable when more elements are added to the page.main
branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTest
steps.Screenshots/Videos
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
web.mov
MacOS: Desktop
desktop.mov