-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Domain selection when enabling travel for workspaces with admins from multiple domains #55300
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
Conversation
I can help with this PR ! |
A very specific bug when we reload a page with a domain in address bar 2025-01-24.23.43.43.movTo fix this we need to update routes so that they don't end to a domain Lines 1485 to 1488 in 176266d
Update to
Lines 1500 to 1503 in 176266d
Update to
|
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 🚀
|
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 Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)src/languages/*
files and using the translation methodSTYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)Design
label and/or tagged@Expensify/design
so the design team can review the changes.ScrollView
component to make it scrollable when more elements are added to the page.main
branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTest
steps./** comment above it */
this
properly so there are no scoping issues (i.e. foronClick={this.submit}
the methodthis.submit
should be bound tothis
in the constructor)this
are necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);
ifthis.submit
is 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