-
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
[MacOS Electron Popup] allow deeplink popup for all routes on mac #16869
[MacOS Electron Popup] allow deeplink popup for all routes on mac #16869
Conversation
Signed-off-by: Prince Mendiratta <[email protected]>
@iwiznia @rushatgabhane One of you needs to 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] |
Reviewer Checklist
Screenshots/VideosMobile Web - ChromeMobile Web - SafariDesktopiOSAndroid |
@Prince-Mendiratta QA steps can be simplified because the concierge link on Proposed QA steps:
Can you please update the OP if you agree? |
@Prince-Mendiratta the test steps on dev could be simplified as well.
|
That's great, I have updated the OP description.
I don't think we should reduce the test steps to just this, since we need to test the functionality when transitioning from Old Dot. As for the other routes, it already should work since we haven't modified anything that affects them. What do you think? |
cool |
Signed-off-by: Prince Mendiratta <[email protected]>
@rushatgabhane looks like some quite significant changes were introduced to this component yesterday with #16043. I've tested locally and it works well but can you please take a look as well at the latest conflict resolution and confirm that the changes are aligned with the logic behind this issue and #16043 ? |
Signed-off-by: Prince Mendiratta <[email protected]>
gentle bump @rushatgabhane |
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.
@iwiznia LGTM!
Bump @iwiznia |
✋ 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/iwiznia in version: 1.2.99-0 🚀
|
🚀 Deployed to production by https://github.com/francoisl in version: 1.2.99-6 🚀
|
if (!matchedRoute) { | ||
this.updateAppInstallationCheckStatus(); | ||
return; | ||
} |
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.
This caused a regression #23409. After allowing all the routes to use the short lived auth token (which is triggered after the highlighted code snippet) the magic login link didn't work correctly because of the existed auth token (the one that that we attach to each url). Magic link only works if no auth token is supplied otherwise we'd be stuck on the account that we used on Web.
Details
With this PR, we allow all routes to new expensify to show the option to show the "Open link in New Expensify?" desktop app popup.
Specifically, these changes were brought forward to support the desktop app popup when transitioning from old expensify to new expensify via the concierge button on old expensify.
Fixed Issues
$ #16083
PROPOSAL: #16083 (comment)
Tests
We need to check for the deeplink popup when transitioning from old expensify to new expensify via the concierge button on old expensify.
It is slightly complicated to test this functionality locally since we disable the popups in dev environment. To setup the development environment, please do the following:
App/src/components/DeeplinkWrapper/index.website.js
Line 19 in 8b9ad23
App/src/components/DeeplinkWrapper/index.website.js
Line 25 in 8b9ad23
npm run web
.To continue testing the PR,
Note: Technically the concierge chat should be opened in ND but that is not the case. It is an unrelated bug to this PR and has been reported here.
Offline tests
N/A.
QA Steps
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)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
Haven't uploaded videos for platform other than MacOS Web because:
Do bring this up if you disagree.
MacOS [Web]
web1.mp4