[SAML NewDot][CP Staging] Hide SAML changes behind beta#29798
[SAML NewDot][CP Staging] Hide SAML changes behind beta#29798NikkiWines wants to merge 2 commits intomainfrom
Conversation
|
@ Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
| We use that function to prevent repeating code that checks which client is the leader. | ||
| */ | ||
| activeClients: {key: ONYXKEYS.ACTIVE_CLIENTS}, | ||
| betas: {key: ONYXKEYS.BETAS}, |
There was a problem hiding this comment.
Can't we use withBetas() instead?
There was a problem hiding this comment.
I only see src/pages/home/report/ContextMenu/BaseReportActionContextMenu.js using it that was atm
Deploying with
|
| Latest commit: |
a941463
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://2e7a6237.helpdot.pages.dev |
| Branch Preview URL: | https://nikki-hide-saml-behind-beta.helpdot.pages.dev |
This part doesn't make sense but I also don't know where we're at with implementing SAML in NewDot overall, checking with @sakluger if he has more context. |
|
Do we need a beta? What's the worst thing that happens without a beta? SAML users can't log into NewDot anyways, so worst case if we launch without a beta is that SAML required people get a different error than they get today, right? |
Reviewer Checklist
Screenshots/VideosWebMobile Web - ChromeMobile Web - SafariDesktopiOSAndroid |
Yeah also I don't think this works, at least it doesn't work for me, and I don't see any evidence in the (lack of) PR screenshots that it does. Betas don't seem to be loaded in Onyx yet when we run the check, so the |
Worst thing is that they'll try to sign in and end up in oldDot sign in page for SAML enabled users For SAML required users they'll try to log in but won't see an error message but also won't be able to log in |
This is fine for now IMO, I'd rather we don't show any users the broken flow than do |
|
Opted against this |
Details
Hides SAML changes behind a beta so we can test this safely on prod
Fixed Issues
$ N/A - tied to #28372
PROPOSAL: N/A
Tests
Try to log into a SAML enabled account (that is a non-expensifail account) and confirm you're only given the option for a magic code login
Try logging into a SAML required account (that is a non-expensifail account) and confirm you're unable to do so
Offline tests
N/A
QA Steps
Same as test steps
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.src/languages/*files and using the translation methodWaiting for Copylabel for a copy review on the original GH to get the correct copy.STYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)/** comment above it */thisproperly 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)ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
Screen.Recording.2023-10-18.at.00.07.54.mov
MacOS: Desktop