Skip to content

fix(app): load sidebar sessions after project restore#29387

Open
SpencerJung wants to merge 2 commits into
anomalyco:devfrom
SpencerJung:fix/27837-session-list
Open

fix(app): load sidebar sessions after project restore#29387
SpencerJung wants to merge 2 commits into
anomalyco:devfrom
SpencerJung:fix/27837-session-list

Conversation

@SpencerJung
Copy link
Copy Markdown

@SpencerJung SpencerJung commented May 26, 2026

Summary

Why

In web server mode, the sidebar can stay empty when the saved project list is restored after the original one-time session bootstrap has already run. Moving the bootstrap behind reactive readiness means the session list is fetched once persisted projects are actually available.

Verification

  • lsp_diagnostics packages/app/src/context/layout.tsx
  • �un test --preload ./happydom.ts ./src/context/layout.test.ts
  • �un run build
  • �un run typecheck (fails on existing packages/app/src/custom-elements.d.ts parse error: ../../ui/src/custom-elements.d.ts)

Fixes #27837

@SpencerJung SpencerJung requested a review from adamdotdevin as a code owner May 26, 2026 10:41
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.

Web UI: session list empty on left panel when using web server mode

1 participant