[CP Staging] Revert #87283 "feat: Submit workspace creation + onboarding flow"#89808
[CP Staging] Revert #87283 "feat: Submit workspace creation + onboarding flow"#89808carlosmiceli merged 1 commit intomainfrom
Conversation
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppAndroid: mWeb ChromeiOS: HybridAppiOS: mWeb SafariMacOS: Chrome / Safari |
Codecov Report❌ Looks like you've decreased code coverage for some files. Please write tests to increase, or at least maintain, the existing level of code coverage. See our documentation here for how to interpret this table.
|
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 618f431645
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| // so checkIfShouldShowPolicy returns false. Suppress NotFound during this loading window. | ||
| const shouldShowNotFoundPage = !shouldShowPolicy && !policy?.isLoading && (!isPendingDelete || prevIsPendingDelete); | ||
|
|
||
| const shouldShowNotFoundPage = !shouldShowPolicy && (!isPendingDelete || prevIsPendingDelete); |
There was a problem hiding this comment.
Keep loading guard before rendering workspace NotFound
shouldShowNotFoundPage now ignores the policy loading state, so in the private-domain join path (joinAccessiblePolicy → openPolicyInitialPage) the workspace can be treated as inaccessible before policy.role is hydrated. In that window, checkIfShouldShowPolicy() is false and this line renders NotFound for valid workspaces, causing a visible error flash/regression during onboarding/join flows; keep a loading gate (as previously done with policy.isLoading) until policy access fields are populated.
Useful? React with 👍 / 👎.
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
…458589661-1 🍒 Cherry pick PR #89808 to staging 🍒
|
🚧 @carlosmiceli has triggered a test Expensify/App build. You can view the workflow run here. |
…459941429-1 🍒 Cherry pick PR #89808 to staging 🍒
|
🧪🧪 Use the links below to test this adhoc build on Android, iOS, and Web. Happy testing! 🧪🧪
|
|
🚀 Cherry-picked to staging by https://github.com/carlosmiceli in version: 9.3.67-13 🚀
Bundle Size Analysis (Sentry): |
|
I reviewed the changes in this PR, which reverts #87283 ("feat: Submit workspace creation + onboarding flow"). The reverted feature introduced a I searched No help site changes are required for this PR. |
|
🚀 Deployed to production by https://github.com/francoisl in version: 9.3.67-13 🚀
|
|
🚀 Cherry-picked to staging by https://github.com/carlosmiceli in version: 9.3.68-0 🚀
Bundle Size Analysis (Sentry): |
Explanation of Change
This reverts commit 960631a, reversing changes made to 8526bac.
Fixed Issues
$ #89684
PROPOSAL:
Tests
Offline tests
QA Steps
// TODO: These must be filled out, or the issue title must include "[No QA]."
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))npm run compress-svg)Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel and/or tagged@Expensify/designso the design team can review the changes.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