Use new path for share url#21081
Conversation
|
@marcaaron 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] |
| const subtitle = ReportUtils.getChatRoomSubtitle(this.props.report); | ||
|
|
||
| const url = isReport ? `${CONST.NEW_EXPENSIFY_URL}r/${this.props.report.reportID}` : `${CONST.NEW_EXPENSIFY_URL}details?login=${encodeURIComponent(this.props.session.email)}`; | ||
| const url = isReport ? `${CONST.NEW_EXPENSIFY_URL}r/${this.props.report.reportID}` : `${CONST.NEW_EXPENSIFY_URL}a/${this.props.session.accountID}`; |
There was a problem hiding this comment.
Can we use getReportRoute and getProfileRoute instead?
158eefe to
0a3d621
Compare
|
Updated! |
|
Lint is failing, but code LGTM. @marcaaron all yours! |
luacmartins
left a comment
There was a problem hiding this comment.
LGTM. Can we also add test steps and screenshots for all platforms?
|
Doesn't this only apply to web? |
|
Edit: nevermind, I figured this one out haha |
This comment was marked as outdated.
This comment was marked as outdated.
|
Oh also I would say that maybe these links should work with deep links on native? But I see we have not set them up yet here (at least for Apple): App/.well-known/apple-app-site-association Lines 7 to 46 in b49ca20 |
Reviewer Checklist
Screenshots/VideosDesktopiOSAndroid |
|
Oh sorry, did we want to CP this to staging? Maybe it must be done manually now? |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
Use new path for share url (cherry picked from commit 3030d6f)
…ing-21081 🍒 Cherry pick PR #21081 to staging 🍒
|
🚀 Cherry-picked to staging by https://github.com/luacmartins in version: 1.3.29-7 🚀
@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes. |
|
🚀 Deployed to production by https://github.com/luacmartins in version: 1.3.29-11 🚀
|
|
🚀 Deployed to staging by https://github.com/marcaaron in version: 1.3.32-1 🚀
|
|
🚀 Deployed to production by https://github.com/thienlnam in version: 1.3.32-5 🚀
|




Details
When we refactored Personal Details we didn't remember to update the QR Code/Share Link page. This PR addresses that with @hungvu193's proposed fix.
Fixed Issues
$ #20993
PROPOSAL: #20993 (comment)
Tests
Offline tests
QA Steps
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.src/languages/*files and using the translation methodWaiting for Copylabel for a copy review on the original GH to get the correct copy.STYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)/** comment above it */thisproperly 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)ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Web
Mobile Web - Chrome
2023-06-19_17-36-09.mp4
Mobile Web - Safari
Uploading Simulator Screen Recording - iPhone 13 - 2023-06-19 at 16.57.50.mp4…
Desktop
N/A
iOS
N/A
Android
N/A