-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Use window.location.href for current URL
#10494
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
Conversation
window.location.href for current URLwindow.location.href for current URL
tgolen
left a comment
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.
Love it! This is a great clean-up. Thank you ❤️
marcochavezf
left a comment
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, just a minor jsdoc change
Co-authored-by: Marco Chávez <marcochavezf@gmail.com>
|
@marcaaron friendly bump |
|
@marcaaron 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. |
|
🚀 Deployed to staging by @marcaaron in version: 1.1.97-0 🚀
|
|
@arosiclair Do we have to login to mWeb / chrome browser or OldDot app for step 1 " |
desktop chrome browser |
|
@arosiclair Web environment was tested already. How to test in iOS , Android and Desktop? |
This feature is not supported on these platforms so No QA for them |
|
Just mentioning here that this PR was a suspect for this fireroom. It would be great for anyone with context to take a look at this issue. Thanks! |
Replaces react-router logic for tracking the current URL
Fixed Issues
$ https://github.com/Expensify/Expensify/issues/217505
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
Same as Tests
Screenshots
Web
Screen.Recording.2022-08-23.at.2.55.31.PM.mov
Mobile Web
Desktop
iOS
Android