Exclude concierge links from OldDot link handling#10310
Conversation
There was a problem hiding this comment.
Heh, I remember I reviewed the PR that introduced this small bug: #9450 (comment)
I'm not sure if this should have been handled in the same place:
Lines 42 to 48 in 9a76034
At that time the problem was logsearch urls, now it is concierge
@johnmlee101 thoughts?
|
Ahhhh I see. The problem is the concierge chat has a |
Yes.. I guess the question is... are we interested in putting the shortLivedAuthToken in the concierge chat URL? if we are not, I think the PR is fine. If we were interested, then we should fix it in the mentioned function... thinking a bit more about I don't see a good reason to try to attach the shortLivedAuthToken to this url, and I tried testing it (fixing manually the URL) and it didn't logged me in.. so 🤷 |
Ah you're right, we don't need it |
|
Triggered auto assignment to @madmax330 ( |
|
@aldo-expensify looks like this was merged without passing tests. Please add a note explaining why this was done and remove the |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
Not an emergency: I only see the "warnCPLabel" check not done, the rest all passed. |
|
This early InternalQA assignment seems weird so I did it myself and looks good. Concierge links open without issue: Screen.Recording.2022-08-18.at.10.38.23.AM.mov |
|
However transition links to OldDot don't automatically sign you in because of the following PR and Issue: |
|
@arosiclair May I know how #10144 is causing this issue? Also, do you have an example that I can follow to test that |
|
Not sure as it seems to be working fine in dev with the latest on |
|
|
Details
Excludes concierge links from link handling since they cannot be properly parsed and lead to an error page. Seamless transitions with authTokens also shouldn't be necessary for internal coaches and employees.
Fixed Issues
$ https://github.com/Expensify/Expensify/issues/220219
Tests
PR Review Checklist
Contributor (PR Author) Checklist
### Fixed Issuessection aboveTestssectionQA stepssectiontoggleReportand notonIconClick)src/languages/*filesSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)/** comment above it */displayNamepropertythisproperly 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)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG)Avataris modified, I verified thatAvataris working as expected in all cases)PR Reviewer Checklist
The Contributor+ will copy/paste it into a new comment and complete it after the author checklist is completed
### Fixed Issuessection aboveTestssectionQA stepssectiontoggleReportand notonIconClick).src/languages/*filesSTYLE.md) were followedAvatar, I verified the components usingAvatarhave been tested & I retested again)/** comment above it */displayNamepropertythisproperly 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)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG)Avataris modified, I verified thatAvataris working as expected in all cases)QA Steps
Screenshots
Web
Mobile Web
Desktop
iOS
Android