[CP Staging] Navigate home if onyx data not returned from demo commands#26844
[CP Staging] Navigate home if onyx data not returned from demo commands#26844cristipaval merged 1 commit intomainfrom
Conversation
|
@burczu sorry but I'm unassigning you b/c this can only be tested in our dev accounts 🙏 |
|
@Beamanator lets update the QA steps to test the current sbe and saastr flows |
Reviewer Checklist
Screenshots/VideosWebweb.movMobile Web - Chromechrome.mobile.movMobile Web - Safarisafari.mobile.movDesktopN/A - can't scan a qr code with this AppiOSAndroidandroid.native.mov |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
[CP Staging] Navigate home if onyx data not returned from demo commands (cherry picked from commit be539b4)
|
🚀 Cherry-picked to staging by https://github.com/mountiny in version: 1.3.64-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/mountiny in version: 1.3.64-2 🚀
|
|
🚀 Deployed to staging by https://github.com/cristipaval in version: 1.3.66-0 🚀
|
|
🚀 Deployed to production by https://github.com/Beamanator in version: 1.3.66-3 🚀
|
Details
This is used for post-conference route handling. Once the conference ends, we won't create new workspaces so the user should be navigated back home so they aren't stuck on the demo page.
Fixed Issues
$ https://github.com/Expensify/Expensify/issues/307986
Tests
Note: The purpose of this changes is to handle the commands returning nothing (see Web-E branch: https://github.com/Expensify/Web-Expensify/pull/38755). However, we need to get this merged first so that we don't get the users stuck when we officially start returning
[]onyx data from web-e$timeNowvariable tonew DateTime('2023-10-01 00:01:00', new DateTimeZone('America/Los_Angeles'));(an example date that's past both conference end times)/saastrCreateDemoWorkspacebeing called/sberouteOffline tests
N/A
QA 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
Web
Mobile Web - Chrome
Mobile Web - Safari
Desktop
iOS
Android