Skip to content

feat: add route-driven chat navigation#11

Merged
shakkernerd merged 5 commits into
mainfrom
feat/sveltekit-routing
May 11, 2026
Merged

feat: add route-driven chat navigation#11
shakkernerd merged 5 commits into
mainfrom
feat/sveltekit-routing

Conversation

@shakkernerd
Copy link
Copy Markdown
Member

Summary

  • Migrates the app to SvelteKit route-backed chat navigation.
  • Adds canonical public route IDs for workspaces, channels, DMs, and thread roots.
  • Supports legacy internal-ID links and canonicalizes them to public route URLs.
  • Keeps SvelteKit responsible for URL parsing while ChatApp syncs state from route params.
  • Fixes chat scrolling/unread behavior around live messages, unread dividers, active-channel clicks, and first-workspace onboarding.
  • Adds one-time route ID backfill gating so large existing SQLite DBs do not rescan route IDs on every startup.
  • Updates embedded web assets and docs for the SvelteKit build/output flow.

Verification

  • pnpm check
  • pnpm test:e2e passing: 32/32
  • pnpm build
  • docker build -t clickclack:ci .
  • Targeted SQLite route ID tests
  • Targeted routing e2e for channels, DMs, threads, legacy links, stale caches, and first-workspace creation

@shakkernerd shakkernerd merged commit 9bbeab6 into main May 11, 2026
4 checks passed
@shakkernerd shakkernerd deleted the feat/sveltekit-routing branch May 11, 2026 16:35
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