Fix linking to report for staging URLs#14487
Conversation
|
@Santhosh-Sellavel @amyevans 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] |
Should this say staging? |
alex-mechler
left a comment
There was a problem hiding this comment.
Actually, your QA steps should be updated. If the link is clicked in desktop, it should be opened in the desktop app as well. In addition, please provide videos of you testing this
|
PR is failing for me, I set up the environment as STAGING in .env. Still navigates to the old dot Screen.Recording.2023-01-24.at.10.39.30.PM.mov@alex-mechler does it passes for you? cc: @jasperhuangg |
|
Hey guys sorry, I should have left this on draft, was about to test it but something came up last minute. I'm gonna put this back on draft for the time being. |
Santhosh-Sellavel
left a comment
There was a problem hiding this comment.
Adding myself as a reviewer!
|
I'm testing this locally and I can't seem to get it to navigate me to OldDot (without my changes), it just opens the report in the same client as expected. I'm checking to see if there were any PRs merged that aren't on staging yet (since this behavior still happens on staging). Screen.Recording.2023-01-30.at.3.40.23.PM.mov |
|
@jasperhuangg try setting environment as staging locally then perform test steps |
|
Figured it out, thanks @Santhosh-Sellavel I thought I had set up my Working on screenshots now. I think we should be able to provide screen recordings for this for all platforms except Web since we'll get CORS errors when trying to run the staging env on Web. |
|
@Santhosh-Sellavel @alex-mechler thanks for your patience, ready for review! |
|
@jasperhuangg Just asking for confirmation should it open admins chat or 1:1 with a dedicated specialist? |
Reviewer Checklist
Screenshots/VideosDesktopScreen.Recording.2023-01-31.at.7.26.17.AM.moviOSSimulator.Screen.Recording.-.iPhone.14.-.2023-01-31.at.07.39.40.mp4AndroidScreen.Recording.2023-01-31.at.7.28.11.AM.mov |
Santhosh-Sellavel
left a comment
There was a problem hiding this comment.
LGTM, tests well!
@Santhosh-Sellavel I'm honestly not entirely sure, I just know it's supposed to navigate directly to the report, I'm not changing how the URL is generated (that's handled in the back-end). Based on how there's a message from what seems like a setup specialist I think that behavior is expected though. @alex-mechler can you confirm? |
Correct, the communication between the guide (setup specialist) and the customer will largely be in the #admins room, as then other admins can also see the conversation. It is expected to go to #admins as a result All you @amyevans |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
Performance Comparison Report 📊Significant Changes To DurationThere are no entries Meaningless Changes To DurationShow entries
Show details
|
|
🚀 Deployed to staging by https://github.com/amyevans in version: 1.2.63-0 🚀
|
|
🚀 Deployed to production by https://github.com/thienlnam in version: 1.2.63-0 🚀
|
Details
The code here handles linking to specific reports and wasn't correctly capturing staging URLs. This updates it to also handle staging URLs.
Fixed Issues
$ #12594
Tests
.env.staginginto.envnonphotoblue@pfortunezk.comasdfASDF00Staging QA
nonphotoblue@pfortunezk.comasdfASDF00PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)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.Screenshots/Videos
Only applicable locally on Desktop, iOS, and Android due to CORS errors on Web platforms.
Desktop
Screen.Recording.2023-01-30.at.3.54.10.PM.mov
iOS
Screen.Recording.2023-01-30.at.4.13.12.PM.mov
Android
Screen.Recording.2023-01-30.at.4.17.56.PM.mov