-
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
Give users on a domain the ability to join their colleagues when the company is already using Expensify #51681
Merged
+731
−88
Merged
Changes from all commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
ad6007b
onboarding flow without errors
allroundexperts fa273c3
Merge branch 'main' into feat-48189
allroundexperts 7c5c611
working version
allroundexperts 3cba659
Merge branch 'main' into feat-48189
allroundexperts 938bdf2
WIP: ad6007b6398 onboarding flow without errors
allroundexperts a107528
fix: handle comments
allroundexperts 79cdc1c
merge with main
allroundexperts 4737f1a
add onboarding wrapper
allroundexperts dd29fd8
Merge branch 'main' into feat-48189
allroundexperts 467f79d
Merge branch 'main' into feat-48189
allroundexperts 9672b4a
fix errors
allroundexperts 5a8d697
fix lint errors
allroundexperts cc7ce8c
complete onboarding
allroundexperts 3fa2478
Merge branch 'main' into feat-48189
allroundexperts e633f90
merge with main
allroundexperts b2859e0
Merge branch 'main' into feat-48189
allroundexperts dc13807
make the whole row not clickable
allroundexperts ebbbbdd
merge with main
allroundexperts 1572b2e
merge with main
allroundexperts 44b73c4
Merge branch 'main' into feat-48189
allroundexperts cf70577
handle comments
allroundexperts 3c497ac
fix: lint checks
allroundexperts 9bf5636
disable private flow
allroundexperts 0dd74d0
remove unwanted files
allroundexperts c71dacd
Merge branch 'main' into feat-48189
marcaaron 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 |
---|---|---|
@@ -0,0 +1,23 @@ | ||
import React from 'react'; | ||
import {View} from 'react-native'; | ||
import useThemeStyles from '@hooks/useThemeStyles'; | ||
import FocusTrapForScreens from './FocusTrap/FocusTrapForScreen'; | ||
|
||
type OnboardingWrapperProps = { | ||
/** Rendered child component */ | ||
children: React.ReactNode; | ||
}; | ||
|
||
function OnboardingWrapper({children}: OnboardingWrapperProps) { | ||
const styles = useThemeStyles(); | ||
|
||
return ( | ||
<FocusTrapForScreens> | ||
<View style={styles.h100}>{children}</View> | ||
</FocusTrapForScreens> | ||
); | ||
} | ||
|
||
OnboardingWrapper.displayName = 'OnboardingWrapper'; | ||
|
||
export default OnboardingWrapper; |
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,5 @@ | ||
type JoinAccessiblePolicyParams = { | ||
policyID: string; | ||
}; | ||
|
||
export default JoinAccessiblePolicyParams; |
5 changes: 5 additions & 0 deletions
5
src/libs/API/parameters/ValidateUserAndGetAccessiblePoliciesParams.ts
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,5 @@ | ||
type ValidateUserAndGetAccessiblePoliciesParams = { | ||
validateCode: string; | ||
}; | ||
|
||
export default ValidateUserAndGetAccessiblePoliciesParams; |
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
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.
I assume this should still be false and use
isUserOnPrivateDomain
method