-
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
[No QA] Fix policyExpenseChat beta not being applied correctly #8343
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
TomatoToaster
changed the title
Fix policyExpenseChat beta not being applied correctly
[No QA] Fix policyExpenseChat beta not being applied correctly
Mar 29, 2022
melvin-bot
bot
requested review from
robertjchen
and removed request for
a team
March 29, 2022 17:05
|
Applying the CP-staging label because this is blocking us from doing E2E testing for Workspace Chats. |
mountiny
approved these changes
Mar 29, 2022
neil-marcellini
approved these changes
Mar 29, 2022
luacmartins
approved these changes
Mar 29, 2022
OSBotify
pushed a commit
that referenced
this pull request
Mar 29, 2022
[No QA] Fix policyExpenseChat beta not being applied correctly (cherry picked from commit 7ba54bb)
OSBotify
added a commit
that referenced
this pull request
Mar 29, 2022
…8343 🍒 Cherry pick PR #8343 to staging 🍒
69 tasks
🚀 Cherry-picked to staging by @luacmartins in version: 1.1.46-3 🚀
|
47 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Please review when you get the chance 🙇🏾
Details
Fixes a typo that prevented us from correctly determining if the policyExpenseChat beta is active.
Fixed Issues
$ https://github.com/Expensify/Expensify/issues/204286
Tests
No effective way to test this locally since all betas are active locally. You can change this line to return false and go to Web-E and make only the
policyExpenseChat
active for all dev accounts instead ofall
here. And then verify that the workspace chats still show up in NewDotPR Review Checklist
Contributor (PR Author) Checklist
### Fixed Issues
section aboveTests
sectionQA steps
sectiontoggleReport
and notonIconClick
)src/languages/*
filesSTYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)/** comment above it */
displayName
propertythis
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
### Fixed Issues
section aboveTests
sectionQA steps
sectiontoggleReport
and notonIconClick
).src/languages/*
filesSTYLE.md
) were followed/** comment above it */
displayName
propertythis
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)QA Steps
N/A. This will be tested immediately in E2E testing on accounts that specifically only have access to the
policyExpenseChat
beta.Screenshots
N/A