-
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
Change route for teachers unite campaign and add deep link to it #26806
Conversation
Testing on native platforms is still pending. Android and iOS env are broken in my machine |
Ready for review @Li357 |
@marcochavezf Sounds good. Can we merge main really quick? I'll start testing in a bit. |
Done |
Reviewer Checklist
Screenshots/Videos |
Checklist complete! Tests well 👍 |
✋ 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/marcochavezf in version: 1.3.70-0 🚀
|
🚀 Deployed to production by https://github.com/thienlnam in version: 1.3.70-8 🚀
|
Details
This PR changes the original route
save-the-world
toteachersunite
for the Teachers Unite campaign in favor of being able to add more campaigns in the future and identify them by route vs. using the genericsave-the-world
route. Additionally, it adds the deep link configuration to open the flow from a link in native apps. cc @youssef-lrFixed Issues
$ https://github.com/Expensify/Expensify/issues/313898
PROPOSAL:
Tests
To navigate to https://new.expensify.com/teachersunite on dev:
To navigate to https://new.expensify.com/teachersunite on staging/production:
On web just paste the URL in the browser (i.e. https://new.expensify.com/teachersunite) and click on open this link in your browser
On desktop also paste the URL in the browser but click on Open Electron from the alert dialog
On native open the report chat from an external link (for example send https://staging.new.expensify.com/teachersunite to your email and open the link from the phone).
Verify that no errors appear in the JS console
Offline tests
QA Steps
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.src/languages/*
files and using the translation methodWaiting for Copy
label for a copy review on the original GH to get the correct copy.STYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)/** 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
)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)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.Screenshots/Videos
Web
Screen.Recording.2023-09-06.at.0.39.01.mov
Mobile Web - Chrome
Screen.Recording.2023-09-06.at.1.15.38.mov
Mobile Web - Safari
Screen.Recording.2023-09-06.at.1.15.12.mov
Desktop
Screen.Recording.2023-09-11.at.10.27.16.mov
iOS
Screen.Recording.2023-09-09.at.17.08.19.mov
Android
Screen.Recording.2023-09-10.at.11.47.42.mov