-
Notifications
You must be signed in to change notification settings - Fork 3k
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: Redundant URL param openOnAdminRoom
on log out
#17447
Fix: Redundant URL param openOnAdminRoom
on log out
#17447
Conversation
@amyevans @thesahindia 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] |
@thesahindia All you 😄 |
@tienifr, can you please update the package.json in this PR? |
…redundant-url-param-on-log-out
@thesahindia Didn't think the upstream was merged that fast 😄! I've updated the package version accordingly. |
Ahh so there is one more case, we will still see @tienifr, can you look into it? |
Sounds like an improvement over resetting the whole route, let's do it 👍 |
@amyevans @thesahindia Tests well with both Screencast.from.24-04-2023.23.49.41.webmScreencast.from.24-04-2023.23.50.41.webm |
@situchan Still cannot reproduce. Can you give more context? |
|
Cool! It looks good. It's EOD for me. I will test it in the morning. |
Works well! @tienifr, can you please look into #17447 (comment)? |
Reviewer Checklist
Screenshots/VideosWebScreen.Recording.2023-04-26.at.9.18.34.PM.movMobile Web - ChromeScreen.Recording.2023-04-26.at.9.54.32.PM.movMobile Web - SafariScreen.Recording.2023-04-26.at.10.09.20.PM.movDesktopScreen.Recording.2023-04-26.at.9.28.24.PM.moviOSScreen.Recording.2023-04-26.at.9.57.52.PM.movAndroidScreen.Recording.2023-04-26.at.9.43.51.PM.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!
All yours @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 and tests well, just the 1 comment, plus please update your QA steps to cover the second scenario as well:
- Create a new free policy in OldDot
- Verify that you're redirected to the Workspace #admins room in NewDot
- Logout
- Verify the URL is the login page, without any query parameters
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.
Sorry for the delay. I was away.
LGTM!
✋ 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/amyevans in version: 1.3.9-12 🚀
|
🚀 Deployed to production by https://github.com/roryabraham in version: 1.3.12-0 🚀
|
Details
On logging out, the
openOnAdminRoom
URL param is redundant. It should be omitted if it's undefined. This PR fixes that.Fixed Issues
$ #16452
PROPOSAL: #16452 (comment)
Tests
Case 1
Case 2
Offline tests
Same above
QA Steps
Case 1
Case 2
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
Web
Screencast.from.14-04-2023.13.27.32.webm
Mobile Web - Chrome
Screenrecording_20230414_140121.mp4
Mobile Web - Safari
Screen.Recording.2023-04-14.at.16.54.02.mov
Desktop
Screen.Recording.2023-04-14.at.17.01.17.mov
iOS
original-8F3C00F9-EB09-4670-B03A-DC5505C8F5C8.mp4
Android
untitled_0eYVwBNv.mp4