-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
fix: 22507 Blank Page Displayed when Copying and Pasting URL next to Original URL and Reloading with Enter Key #23931
Conversation
…Original URL and Reloading with Enter Key
CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅ |
@rushatgabhane Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
I have read the CLA Document and I hereby sign the CLA |
Reviewer Checklist
Screenshots/VideosWebScreen.Recording.2023-08-02.at.04.04.49.movMobile Web - SafariScreen.Recording.2023-08-02.at.04.10.20.movDesktopScreen.Recording.2023-08-02.at.04.06.25.moviOSScreen.Recording.2023-08-02.at.04.07.52.movAndroidScreen.Recording.2023-08-02.at.04.07.32.mov |
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.
LGTM! 🚀
✋ 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/Gonals in version: 1.3.50-0 🚀
|
@dantastisk @rushatgabhane Can you pls help us with more QA friendly steps ? |
It is a bit hard to test this on native apps, but if you add a new contact, you can put the link below in the url field, save it and when you click it, it should open the app and display the before mentioned error page. Native link: (Notice "new-expensify://" instead of "https://new.expensify.com") This works for iOS at least. I am not sure about android, but let me know if it doesn't work and I'll come up with another solution. |
🚀 Deployed to production by https://github.com/puneetlath in version: 1.3.50-3 🚀
|
🚀 Deployed to staging by https://github.com/Gonals in version: 1.3.51-0 🚀
|
🚀 Deployed to production by https://github.com/Julesssss in version: 1.3.51-2 🚀
|
Details
Fixed Issues
$ #22507
PROPOSAL: #22507 (comment)
Tests
Go to any chat
Copy and paste the url twice and press "Enter" or hit "Go" depending on platform.
For native apps running in emulators, the following commands can be used:
iOS:
xcrun simctl openurl booted "<INSERT_DEEPLINK_URL_HERE>"
(e.g.xcrun simctl openurl booted "new-expensify:///r/5457316673649011new-expensify:///r/5457316673649011"
Android:
adb devices
to get device ID andadb -s '<INSERT_DEVICE_ID_HERE>' shell am start -W -a android.intent.action.VIEW -d "<INSERT_DEEPLINK_URL_HERE>"
(e.g.adb -s emulator-5554 shell am start -W -a android.intent.action.VIEW -d "new-expensify:///r/5457316673649011new-expensify:///r/5457316673649011"
)Electron: Navigate to the deeplink url from a browser and a popup will appear asking if you want to open it in the desktop app. Duplicated deeplink url example:
new-expensify:///r/5457316673649011new-expensify:///r/5457316673649011
Verify that the 404 page is shown and is properly formatted.
Offline tests
Same as "Tests"
QA Steps
Same as "Tests"
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
Mobile Web - Chrome
Mobile Web - Safari
Desktop
iOS
Android