-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Add check for team.expensify.com emails for default workspace rooms #10855
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
|
Did you test after turning all the betas off? |
Yup, overrode checks for canUsePolicyRooms and canUseAllBetas. I tested on main with these as well and checked that the opposite case worked as well. This might actually have to end up being No QA unless we get team.expensify.com emails in time
|
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
@thienlnam @Gonals @alex-mechler Can we run this PR with Expensifail.com account to QA? |
This won't work with an expensifail.com account, we'll do the QA for this internally |


Details
Fixed Issues
$ https://github.com/Expensify/Expensify/issues/227011
Tests
Same as QA steps EXCEPT make sure to locally override checks for canUsePolicyRooms to false and canUseAllBetas to false
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
On OldDot, From a team.expensify.com account (guides account), create a COLLECT and CONTROL policy
Invite a second account to the policies (that is not an @expensify.com account) and make them policy admins
Log into the second account in NewDot AND the guides account and ensure you see the default workspace rooms (#announce, #admins) for both the COLLECT and CONTROL policy
Repeat the steps from 1-4 except without a team.expensify.com account OR an account on all betas and ensure that you DO NOT see default workspace rooms
Screenshots
Web
Mobile Web
Desktop
iOS
Android