Skip to content

Rename chat-ui to web and separate shell responsibilities - #682

Merged
blakebauman merged 3 commits into
mainfrom
refactor/web-app-structure
Nov 15, 2026
Merged

blakebauman merged 3 commits into
mainfrom
refactor/web-app-structure

Conversation

@blakebauman

Copy link
Copy Markdown
Contributor

Rename the browser app from apps/chat-ui / @felix/chat-ui to apps/web / @felix/web, and replace root chat:* commands with web:*. Update CI, deployment selection, scripts, documentation, shared UI configuration, and the terminal client’s local secrets lookup. Keep the existing felix-chat-ui Cloudflare Worker identity.

Group application setup, API code, styles, and supporting modules by responsibility. Reduce AppShell from 3,646 lines to an 84-line layout, with a separate header and conversation controller plus focused hooks for preferences, manifests, thread indexing, workspace panes, approvals, notifications, clocks, recovery, and side questions. Keep tab-level state above the route outlet so navigation preserves live runs. Normalize shared hook filenames to kebab-case.

Validation on this branch against current main:

  • Full web test suite passes.
  • Production build, including TypeScript, passes.
  • Biome checks for src/app, Tailwind source checks, API drift checks, and the first-load bundle budget pass.

Rename apps/chat-ui to apps/web and @felix/chat-ui to @felix/web. Update workspace scripts, CI, tooling, docs, and the terminal secrets lookup. Group app setup, API code, styles, and feature logic into dedicated folders. Keep the deployed Cloudflare Worker name.

Validation: web production build and 1,676 tests pass; Tailwind, API drift, protocol parity, payload shapes, palette, and bundle budget checks pass.
Keep AppShell focused on layout, extract the header and conversation controller, and move preferences, manifests, thread indexing, workspace panes, approvals, notifications, clocks, recovery, and side questions into focused hooks. Normalize shared hook filenames to kebab-case. Keep tab-level state mounted above the route outlet.

Validation: all 1,676 web tests pass; production build, app-file Biome checks, Tailwind, and bundle budget checks pass. TypeScript also passes on the isolated commit contents. Existing workspace, sandbox, and terminal edits remain uncommitted.
@blakebauman
blakebauman merged commit f615512 into main Nov 15, 2026
1 check passed
@blakebauman
blakebauman deleted the refactor/web-app-structure branch November 15, 2026 00:40
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