-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Merged
mountiny
merged 37 commits into
Expensify:main
from
software-mansion-labs:update-account-settings/preferences
Feb 13, 2024
Merged
Changes from 15 commits
Commits
Show all changes
37 commits
Select commit
Hold shift + click to select a range
0f80d69
redesign preferences page
kosmydel d836214
Merge branch 'Expensify:main' into update-account-settings/preferences
kosmydel bd0d930
new about page design
kosmydel beebe04
add english copy
kosmydel 1b2d2a7
add Spanish copy
kosmydel 9571905
Merge branch 'main' into update-account-settings/preferences
kosmydel 4397fc5
rename
kosmydel 3124444
small fixes
kosmydel 3a8cd2d
fix icon
kosmydel 330fb72
fix illustration height
kosmydel 9f2b8f8
Merge branch 'main' into update-account-settings/preferences
kosmydel 1d0e5a9
fix statusbar color on mWeb iOS
kosmydel c74a873
fix lint
kosmydel 715eacd
improve types
kosmydel 426632c
fix workspace list empty state
kosmydel b6d1789
fix
kosmydel 3601b3f
Merge remote-tracking branch 'origin-swm/update-account-settings/abou…
kosmydel 3e44c6f
fix About page status bar
kosmydel 3769321
Security page update
filip-solecki 028d355
fix lint issues
kosmydel eab2a13
Adjust illustration background color logic
filip-solecki 479203f
add missing icons
kosmydel 56fd657
address review
kosmydel 42d1233
Merge branch 'Expensify:main' into update-account-settings/preferences
kosmydel 782d2ca
add comment
kosmydel 8941626
Merge branch 'Expensify:main' into update-account-settings/preferences
kosmydel 31e513d
Merge branch 'Expensify:main' into update-account-settings/preferences
kosmydel a33f3a8
remove shouldEnableMaxHeight
kosmydel 5f13923
Merge branch 'main' into update-account-settings/preferences
kosmydel 1743d97
Revert "address review"
kosmydel 0375e27
Rename text styles
filip-solecki 0993456
fix centering
kosmydel a9ef0cc
Merge branch 'main' into update-account-settings/preferences
filip-solecki f2ca240
Merge branch 'Expensify:main' into update-account-settings/preferences
kosmydel 5e5bce0
attempt to fix the SignInPage-perf test
kosmydel 4f30355
fix perf tests
kosmydel 404b3c5
Merge branch 'main' into update-account-settings/preferences
filip-solecki File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,11 @@ | ||
import type {LottieViewProps} from 'lottie-react-native'; | ||
import type {ColorValue} from '@styles/utils/types'; | ||
|
||
type DotLottieAnimation = { | ||
file: LottieViewProps['source']; | ||
w: number; | ||
h: number; | ||
backgroundColor?: ColorValue; | ||
}; | ||
|
||
export default DotLottieAnimation; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 commentThe reason will be displayed to describe this comment to others. Learn more. this should be in dark mode i think
Screen.Recording.2024-02-14.at.4.08.20.AM.movThere was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Fixed here |
||
}, | ||
[SCREENS.SETTINGS.WORKSPACES]: { | ||
|
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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 makes it hard to use same illustration with a different background. Why don't we just pass
illustrationBackgroundColor
instead?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 theoretically couldn't use
colors
in components:DO NOT import colors.js into file
stated incolors.js
. So I put it here.Currently, we didn't have any case where we changed the background color of illustration. If someone needs it, he can possibly do that by passing
illustrationBackgroundColor
.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.
Should I move it anyway, and import
colors
? But personally I think, that background color is closely related to the illustration.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 is not.a blocker. Let's keep it as is for now
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! If internal decides we want to change it, I will do it as a follow-up!
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