Add production frontend with initial view#753
Open
backnotprop wants to merge 4 commits into
Open
Conversation
Daemon: - Project registry persisted to ~/.plannotator/projects.json - Auto-registers projects from session cwd on creation - GET/POST/DELETE /daemon/projects endpoints - cwd exposed on DaemonSessionSummary - project-registry feature flag + 9 unit tests Frontend (apps/frontend/): - TanStack Router, Zustand+Immer, Tailwind v4, oxlint/oxfmt - Daemon API client with project + session creation methods - WebSocket hub client with event stream + polling fallback - Landing page: project selector table + Code Review/Archive actions - Offcanvas sidebar: sessions grouped by mode (matching prototype) - Add project dialog - DiffKit theme + prototype shell pattern (bg-muted → card → content) - 13 shadcn primitives vendored in components/ui/ - Single-file HTML build (viteSingleFile) - Dev script: daemon + Vite with auto-proxy (scripts/dev-frontend.ts)
badge, card, dialog, dropdown-menu, label — not imported by any app code. use-project-actions, use-sessions-by-project — orphaned after sidebar and landing page rewrites.
This was referenced May 19, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Layer 5 in the daemon stack. Adds the production frontend app (
apps/frontend/) with the initial landing view — project selector, quick actions (Code Review, Browse Archive), and active sessions list.~/.plannotator/projects.json, auto-registers from session cwd,GET/POST/DELETE /daemon/projectsendpoints,cwdon session summariesbg-muted→rounded-xl bg-card shadow→ centered content)bun run dev:frontendstarts daemon + Vite with auto-proxy from~/.plannotator/daemon.jsonStack
feat/single-server-runtimefeat/plannotator-daemon-runtimefeat/runtime-frontend-shellfeat/websocket-event-hubfeat/frontend-initial-viewTest plan
bun run dev:frontendstarts daemon + frontend, proxy connectsbun run --cwd apps/frontend checkpasses (typecheck, oxlint, oxfmt, vitest)bun test packages/server/daemon/project-registry.test.tspasses (9 tests)bun run --cwd apps/frontend buildproduces single-file HTML