-
Notifications
You must be signed in to change notification settings - Fork 4k
[WAVE 7] Hold Requests: Individual Money Request Page, Reason Interstitial, Banner #33897
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
Merged
robertjchen
merged 33 commits into
Expensify:main
from
software-mansion-labs:hold-requests/hold-page
Feb 16, 2024
Merged
Changes from all commits
Commits
Show all changes
33 commits
Select commit
Hold shift + click to select a range
eb332d6
feat: add hold implementation
BartoszGrajdek 62ee823
feat: add proper permissions & style system messages
BartoszGrajdek 98c83da
fix: remove console log
BartoszGrajdek 7701651
chore: resolve merge conflicts
BartoszGrajdek ba91d6e
fix: typecheck
BartoszGrajdek 1387e34
Permissions check
BartoszGrajdek f751808
feat: add implementation for educational interstitial
cdOut e77b28d
fix: add correct spanish translations
cdOut 97b30f4
chore: resolve merge conflicts
BartoszGrajdek 6ba0c01
feat: migrate HoldReasonPage to ts
BartoszGrajdek e064395
feat: migrate ProcessMoneyRequestHoldPage to ts
BartoszGrajdek c8471e8
fix: correct shownHoldUseExplaination saving in onyx
cdOut 97dc65d
fix: update spanish translation to correct values
cdOut 9d107c1
chore: resolve merge conflicts
cdOut f165f6d
fix: init with stored value for shownHoldUseExplaination
cdOut 3adca53
chore: resolve merge conflicts
BartoszGrajdek 7b77145
fix: typecheck
BartoszGrajdek ee77f76
fix: lint
BartoszGrajdek 287a7a1
refactor: form types
BartoszGrajdek cb658e9
fix: lint
BartoszGrajdek aad7399
fix: FormActions typecheck
BartoszGrajdek 6a3b8da
refactor: change names & make remove unnecessary conditions
BartoszGrajdek f42c90d
fix: lint
BartoszGrajdek cc36caa
chore: resolve merge conflicts
BartoszGrajdek 2cb572a
fix: add prop comment
BartoszGrajdek aa36c86
chore: resolve merge conflicts
BartoszGrajdek fb9af0c
fix: permissions & typecheck
BartoszGrajdek 9f2dd51
fix: add testID to ProcessMoneyRequestHoldPage
BartoszGrajdek dc7c899
feat: resolve merge conflicts & add reportActionID parameter to HoldR…
BartoszGrajdek b487c33
chore: resolve merge conflicts related to form
BartoszGrajdek da99663
refactor: change onyx updates
BartoszGrajdek d35cb28
chore: resolve merge conflicts
BartoszGrajdek bd1881a
fix: lint
BartoszGrajdek 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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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,22 @@ | ||
| import React from 'react'; | ||
| import {View} from 'react-native'; | ||
| import useLocalize from '@hooks/useLocalize'; | ||
| import useThemeStyles from '@hooks/useThemeStyles'; | ||
| import Text from './Text'; | ||
| import TextPill from './TextPill'; | ||
|
|
||
| function HoldBanner() { | ||
| const styles = useThemeStyles(); | ||
| const {translate} = useLocalize(); | ||
|
|
||
| return ( | ||
| <View style={[styles.dFlex, styles.flexRow, styles.alignItemsCenter, styles.pb3, styles.ph5, styles.borderBottom]}> | ||
| <TextPill>{translate('iou.hold')}</TextPill> | ||
| <Text style={[styles.textLabel, styles.pl3, styles.mw100, styles.flexShrink1]}>{translate('iou.requestOnHold')}</Text> | ||
| </View> | ||
| ); | ||
| } | ||
|
|
||
| HoldBanner.displayName = 'HoldBanner'; | ||
|
|
||
| export default HoldBanner; |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
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.
Uh oh!
There was an error while loading. Please reload this page.