-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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 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? |
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.
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. |
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.
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! |
src/components/HTMLEngineProvider/HTMLRenderers/AnchorRenderer.js
Outdated
Show resolved
Hide resolved
@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 |
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, 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 |
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.
Looks good!
✋ 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.staging
into.env
nonphotoblue@pfortunezk.com
asdfASDF00
Staging QA
nonphotoblue@pfortunezk.com
asdfASDF00
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.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