Domain selection when enabling travel for workspaces with admins from multiple domains#55300
Conversation
|
I can help with this PR ! |
|
I'm not sure if this is a bug, but I think that when we click "Got it," RHP should close, and we shouldn't return to the previous screen 2025-01-24.23.44.48.movAlso we have issues related with bottom padding on ios For example on choose a domain screen and on other random screens we have correct bottom padding
But on other travel screens we don't have padding
Actually for android this issue is more critical
To fix paddings we need remove some lines related to App/src/pages/Travel/TravelTerms.tsx Line 74 in 176266d |
…n-when-provisionTravel
Yeah I agree. As far as I understand, the user won't really be able to do anything here—so we should just close the entire RHP. |
|
Thanks @ZhenjaHorbach and @dannymcclain! Really valuable feedback. The PR is ready again for review |
|
@cristipaval Since we have small discrepancy 2025-01-27.18.55.14.movApp/src/pages/Travel/TravelTerms.tsx Lines 82 to 84 in c3431a9 Update to |
|
LGTM ! |
|
Thank you all for reviewing ❤️ @nkuoch, we merged this one because the deadline for travel is the end of this week, and we want this one in production by then 🤞 |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🚀 Deployed to staging by https://github.com/tgolen in version: 9.0.90-0 🚀
|
|
@cristipaval we see this when log in to gmail account |
|
We don't see the "book a travel" option both in different domain and unvalidated private domain private.unclaimed.mp4dif.private.domain.mp4 |
|
🚀 Deployed to production by https://github.com/yuwenmemon in version: 9.0.90-6 🚀
|
| (travelDotURL) => { | ||
| resolve(travelDotURL); | ||
| return travelDotURL ?? ''; | ||
| const failureData: OnyxUpdate[] = [ |
There was a problem hiding this comment.
We forgot to revert the optimistic data completely, which caused weird bugs on clicking same button again. More info - #85944









HOLD on https://github.com/Expensify/Auth/pull/13841HOLD on https://github.com/Expensify/Web-Expensify/pull/45210Explanation of Change
Fixed Issues
$ #55377
PROPOSAL:
Tests
Workspace with admins having public domain emails
Workspace with admins having the same private domain emails
Workspace with admins having different private domain emails
Workspace with admins having private unclaimed domain emails
Offline tests
The same as tests, but when Offline, the Continue button should be disabled when accepting the Terms and Conditions. The user should also see the offline status at the bottom of the screen.

QA Steps
Same as the Tests.
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel and/or tagged@Expensify/designso the design team can review the changes.ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps./** comment above it */thisproperly so there are no scoping issues (i.e. foronClick={this.submit}the methodthis.submitshould be bound tothisin the constructor)thisare necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);ifthis.submitis never passed to a component event handler likeonClick)Screenshots/Videos
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop