-
Notifications
You must be signed in to change notification settings - Fork 3.5k
[No QA] Fix policyExpenseChat beta not being applied correctly #8343
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
Merged
Conversation
This file contains hidden or 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
Contributor
|
|
Contributor
Author
|
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
Contributor
|
🚀 Cherry-picked to staging by @luacmartins in version: 1.1.46-3 🚀
|
Contributor
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

policyExpenseChatactive for all dev accounts instead ofallhere. And then verify that the workspace chats still show up in NewDotPR 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
### Fixed Issuessection aboveTestssectionQA stepssectiontoggleReportand notonIconClick).src/languages/*filesSTYLE.md) were followed/** 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
N/A. This will be tested immediately in E2E testing on accounts that specifically only have access to the
policyExpenseChatbeta.Screenshots
N/A