-
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
[CP Staging] Fix hasExpensifyGuidesEmails call #12038
Conversation
|
@@ -941,7 +941,7 @@ function shouldReportBeInOptionList(report, reportIDFromRoute, isInGSDMode, curr | |||
} | |||
|
|||
// Include default rooms unless you're on the default room beta, unless you have an assigned guide |
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.
NAB: Kinda weird wording on this 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
I have checked off the PR author checklist as done, however, I have been having troubles running App locally due to some unrelated issues. Alberto tested the change in Android and confirmed it works. |
@mountiny looks like this was merged without passing tests. Please add a note explaining why this was done and remove the |
[CP Staging] Fix hasExpensifyGuidesEmails call (cherry picked from commit 5cb3c34)
…-12038 🍒 Cherry pick PR #12038 to staging 🍒
Not an emergency the tests were passing |
Ah, thanks for fixing this! I should have tested login flow! |
🚀 Cherry-picked to staging by @mountiny in version: 1.2.18-4 🚀
@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes. |
@trjExpensify has confirmed the fix worked. |
Yep, I can access staging NewDot on web again. 👍 |
🚀 Deployed to production by @chiragsalian in version: 1.2.18-10 🚀
|
🚀 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. |
🚀 Deployed to production by https://github.com/AndrewGable in version: 1.3.28-5 🚀
|
Details
Cannot use
this
here so removing it, it is called within the ReportUtils file so we cannot usethis
Fixed Issues
$ #12037
Tests
For me locally I dont have the room so I have updated the condition temporarily to remove the isDefaultRoom check and the permission just to test the method call is fine and not breaking the App.
QA Steps
PR Review Checklist
PR Author Checklist
### Fixed Issues
section aboveTests
sectionQA steps
sectiontoggleReport
and notonIconClick
)src/languages/*
filesWaiting 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)PR Reviewer Checklist
The reviewer will copy/paste it into a new comment and complete it after the author checklist is completed
### Fixed Issues
section aboveTests
sectionQA steps
sectiontoggleReport
and notonIconClick
).src/languages/*
filesWaiting 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
have been tested & I retested again)/** 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)Screenshots
Web
Mobile Web - Chrome
Mobile Web - Safari
Desktop
iOS
Android