-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Partial revert of "Use window.location.href for current URL"
#10908
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
| FREE: 'free', | ||
| PERSONAL: 'personal', | ||
| CORPORATE: 'corporate', | ||
| TEAM: 'team', |
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.
Unrelated to revert. I saw a console error about this and decided to patch it up. Ideally, I think we should have this entire list over here.
|
|
window.location.href for current URL"
|
@yuwenmemon looks like this was merged without passing tests. Please add a note explaining why this was done and remove the |
|
Merging as a part of the fix we're doing in fireroom-2022-09-08-part2 |
Partial revert of "Use `window.location.href` for current URL" (cherry picked from commit 3044915)
…-10908 🍒 Cherry pick PR #10908 to staging 🍒
|
🚀 Cherry-picked to staging by @yuwenmemon in version: 1.1.98-1 🚀
@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes. |
|
🚀 Cherry-picked to staging by https://github.com/AndrewGable in version: 1.3.28-2 🚀
@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes. |
Details
Partial revert of #10494. cc @arosiclair, @marcaaron, @tgolen
Fixed Issues
$ https://github.com/Expensify/Expensify/issues/227519
Tests
Screen.Recording.2022-09-08.at.2.38.08.PM.mov
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
Screenshots
Web
Mobile Web
Desktop
iOS
Android