You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Web UI: rebuild as a React/Vite SPA following rev-os, keeping lake's styling #561
Lake's web UI moves from server-rendered C++ pages (src/api/web_ui.cpp, web_ui_streams.cpp, web_ui_experiments.cpp) to a single-page app built the way oramasearch/rev-os builds its frontend, keeping lake's current styling.
What changes
Build:frontend/ holds a React 19 + Vite + Tailwind 4 + TypeScript app, with TanStack Query for reads and React Router for routes. Its tokens are lake's existing Orama design tokens (src/api/web_ui_tokens.inc, built from vendor/orama-design) and its fonts are the self-hosted IBM Plex faces, so the look stays the same.
Data: the app calls only the lake REST API (/v1/...), the same capabilities that MCP and agents call. It authenticates with the existing lake_session cookie. There is no second auth path, and the app can do nothing the API cannot.
Serving: lake embeds the built bundle in the binary. It serves the bundle under content-hashed, immutable URLs, and serves index.html for every UI route. The Dockerfile gains a Node stage.
UX: follows rev-os:
one route registry that feeds the rail, the breadcrumbs, the command palette and the router;
a collapsible rail of sections (Design · Train · Ship · Developer · Administration) with each section's screens listed beneath it;
a top bar with breadcrumbs, the workspace picker, search (⌘K or /), the theme switch and the signed-in person;
a 401 shows "Your session has ended" with Sign in again.
Retired: the C++ renderers, the form-POST page handlers (/drive/rename, /identity/... and the rest) once the SPA uses the REST capability, and their string tests.
Rollout
All pages are ported on one branch, and the switch happens once every page is done (big bang).
Done when
Every page that the server-rendered UI serves today has an SPA screen.
npm run build is green, and the lake suite is green without the retired renderers.
docs/ui/* and lake's CLAUDE.md rules describe the SPA.
The image is rolled to Lake/prod, and tools/e2e/walkthrough.mjs walks every page on lake.oramadev.net with screenshots reviewed.
Activity
docs(ui): the web app's build, kit and page rules (#561)
feat(serving): lake serves the web app for every browser page (#561)
fix(ui): a 401 reads as an ended session only when someone was signed…
feat(ui): postRead and usePostRead for capabilities that read over PO…
refactor(ui): Train's POSTed reads use the shared postRead, so a 401 …
fix(ui): only a /w/<id> page scopes API calls to a workspace (#561)
refactor(ui): one Markdown, one workspace gate, FormError and useThem…
fix(ui): Drive's share check names the folder; Factory sends the stor…
fix(ui): Ask Orama loads on first open; Create account only where sig…
docs(ui): the entry script's size after Ask Orama became lazy (#561)
docs(ui): bundle table measured at one revision (#561)
fix(api): agent_turn checks a confirmed proposal against the stored o…
refactor(server): retire the server-rendered console pages and their …
docs: the server's rules and route docs after retiring the console pa…
15 remaining items
Merge the Organization, Admin and Account redesign; Home's quick acti…
Merge the Design and Workspaces redesign; kit: submit buttons keep th…
fix(ui): lake's card grid is .lake-grid, so Tailwind's grid utilities…
docs(guide): lake designs, trains and ships AI; an AI project's pipel…
fix(ui): the Docs reader fills the width, and table terms wrap whole (#…
fix(ui): the Docs reader is not held to the page container's width (#561
fix(ui): the Docs page's Markdown is not held to 78ch; its paragraphs…
fix(ui): Docs text and tables share the reader's width (#561)
feat(ui): Drives pages over one storage interface (#561)
docs(drives): API, pages, customer guide and status for Drives (#561)
fix(ui): a drive's header names its storage at the top, and only its …
docs(guide): a model is a learned function, not what a run produces; …
Merge pull request #563 from oramasearch/issue-561-spa
homer6 commentedon Oct 11, 2026
Shipped: lake's web UI is the React/Vite app in
frontend/, merged intomainas PR #563 (0c71496) and running on dev.What it covers, each with its own closed issue:
The ordered queue of Steve's requests is #571.