Skip to content

feat(web): instant navigation feedback via loading skeletons#24

Open
fastestdevalive wants to merge 2 commits into
gb-personalfrom
feat/fix-link-opening
Open

feat(web): instant navigation feedback via loading skeletons#24
fastestdevalive wants to merge 2 commits into
gb-personalfrom
feat/fix-link-opening

Conversation

@fastestdevalive
Copy link
Copy Markdown
Owner

Summary

  • Adds loading.tsx to sessions/[id], sessions/[id]/workspace, and terminals/[name] — URL updates instantly on sidebar click and a three-pane skeleton is shown while the page loads, eliminating the frozen UI
  • Extracts createStubSession into a shared lib/stub-session.ts utility
  • Fixes the workspace page to render immediately using a stub session instead of blocking behind a loading guard until the API responds

How it works

Without loading.tsx, Next.js App Router holds the old page visible until the new route finishes rendering — the UI appears stuck. With loading.tsx present, Next.js updates the URL instantly and shows the skeleton as an immediate Suspense fallback.

Closes fix-link-opening

🤖 Generated with Claude Code

fastestdevalive and others added 2 commits April 7, 2026 16:38
- Add loading.tsx to sessions/[id], sessions/[id]/workspace, and
  terminals/[name] so the URL updates instantly on sidebar click and
  a skeleton is shown while the page renders — eliminates the frozen
  UI that appeared while waiting for route transitions
- Extract createStubSession into shared lib/stub-session.ts
- Fix workspace page to render immediately with a stub session instead
  of blocking on the API fetch behind a loading guard

Refs: fix-link-opening

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
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