Skip to content

fix(desktop): hold loading until pre-workspace overlay opens#3424

Open
marovole wants to merge 1 commit into
multica-ai:mainfrom
marovole:fix/desktop-pre-workspace-white-screen
Open

fix(desktop): hold loading until pre-workspace overlay opens#3424
marovole wants to merge 1 commit into
multica-ai:mainfrom
marovole:fix/desktop-pre-workspace-white-screen

Conversation

@marovole
Copy link
Copy Markdown

Summary

  • Fixes a startup white screen for authenticated users who still need a pre-workspace flow (onboarding, pending invitations, or create workspace).
  • Root cause: DesktopShell rendered before the window overlay useEffect ran (and before listMyInvitations() resolved), leaving TabContent and WindowOverlay both null.
  • Keeps the existing MulticaIcon loading screen up until the overlay is mounted.

Test plan

  • Fresh account / onboarded_at null: app shows loading briefly, then onboarding or invitations overlay (no blank window).
  • Onboarded user with zero workspaces: loading → create-workspace overlay.
  • Onboarded user with workspace(s): normal dashboard, no extra loading delay.
  • Logged-out cold start: login page unchanged.

Made with Cursor

Authenticated users entering onboarding, invitations, or create-workspace
flows saw a blank window: DesktopShell mounted before the window overlay
useEffect ran (and before listMyInvitations resolved), leaving TabContent
and WindowOverlay both null.

Co-authored-by: Cursor <cursoragent@cursor.com>
@vercel
Copy link
Copy Markdown

vercel Bot commented May 28, 2026

@marovole is attempting to deploy a commit to the IndexLabs Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant