-
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
feat: PersonalInfo Step #30576
Merged
mountiny
merged 20 commits into
Expensify:vit-tieredBankAccountFlow
from
MrMuzyk:michal/personal-info-page
Nov 7, 2023
Merged
feat: PersonalInfo Step #30576
Changes from all commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
d7ef177
feat: personal info page
MrMuzyk ea52ce1
feat: substeps
MrMuzyk 31dc2cf
Merge branch 'vit-tieredBankAccountFlow' of https://github.com/Expens…
MrMuzyk 8ea2e86
Merge branch 'marcin/30239-useSubStep-hook' of github.com:Swor71/App …
MrMuzyk 5a086ab
Merge branch 'edu/vbba_setup_flow/30237_interactive_sub_step_header' …
MrMuzyk 3538899
Merge branch 'marcin/30239-useSubStep-hook' of github.com:Swor71/App …
MrMuzyk 95c2716
feat: more of personal info
MrMuzyk cf4c1ec
feat: begining of cleanup
MrMuzyk 75c976c
Merge branch 'vit-tieredBankAccountFlow' of https://github.com/Expens…
MrMuzyk 9e75d88
fix: cr fixes
MrMuzyk 59a3f6a
fix: minor layout fixes
MrMuzyk 9a8394d
fix: fix check for inital substep
MrMuzyk ca9f2f6
Merge branch 'vit-tieredBankAccountFlow' of https://github.com/Expens…
MrMuzyk 6f29432
feat: CR fixes
MrMuzyk b964b3c
fix: linting fixes
MrMuzyk 54fd19f
fix: default values
MrMuzyk 76d5e9c
Merge branch 'vit-tieredBankAccountFlow' of https://github.com/Expens…
MrMuzyk ead9074
fix: lint fixes
MrMuzyk 5e1c05d
fix: prettier fix
MrMuzyk 47553da
fix: initial substep fix
MrMuzyk 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
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 |
---|---|---|
@@ -0,0 +1,51 @@ | ||
import PropTypes from 'prop-types'; | ||
import React from 'react'; | ||
import {View} from 'react-native'; | ||
import Icon from '@components/Icon'; | ||
import * as Expensicons from '@components/Icon/Expensicons'; | ||
import Text from '@components/Text'; | ||
import TextLink from '@components/TextLink'; | ||
import styles from '@styles/styles'; | ||
import CONST from '@src/CONST'; | ||
|
||
const propTypes = { | ||
/** Style for wrapping View */ | ||
// eslint-disable-next-line react/forbid-prop-types | ||
containerStyles: PropTypes.arrayOf(PropTypes.object), | ||
|
||
/** Translate function */ | ||
translate: PropTypes.func.isRequired, | ||
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. Any reason we prefer passing the translate function here instead of using the hook here? |
||
}; | ||
|
||
const defaultProps = { | ||
containerStyles: [], | ||
}; | ||
|
||
function HelpLinks({containerStyles, translate}) { | ||
return ( | ||
<View style={[styles.flexRow, styles.alignItemsCenter, containerStyles]}> | ||
<Icon src={Expensicons.QuestionMark} /> | ||
<View style={[styles.ml2, styles.dFlex, styles.flexRow]}> | ||
<TextLink | ||
style={[styles.textMicro]} | ||
href={CONST.BANK_ACCOUNT_PERSONAL_DOCUMENTATION_INFO_URL} | ||
> | ||
{translate('requestorStep.learnMore')} | ||
</TextLink> | ||
<Text style={[styles.textMicroSupporting]}>{' | '}</Text> | ||
<TextLink | ||
style={[styles.textMicro, styles.textLink]} | ||
href={CONST.PERSONAL_DATA_PROTECTION_INFO_URL} | ||
> | ||
{translate('requestorStep.isMyDataSafe')} | ||
</TextLink> | ||
</View> | ||
</View> | ||
); | ||
} | ||
|
||
HelpLinks.displayName = 'HelpLinks'; | ||
HelpLinks.propTypes = propTypes; | ||
HelpLinks.defaultProps = defaultProps; | ||
|
||
export default HelpLinks; |
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.
Did you get these translations verified in Slack?