feat(web/claw): restyle the interface after Rhema Together
android / debug (push) Successful in 2m16s
android / release (push) Successful in 2m9s
ci / checks (push) Successful in 3m39s
ci / test (push) Successful in 2m5s
ci / docker (push) Successful in 1m52s
ci / web (push) Successful in 13s
ci / publish-edge-images (deploy/docker/claw.Dockerfile, rhema-claw) (push) Successful in 1m56s
ci / chart (push) Successful in 6s
ci / publish-edge-images (deploy/docker/ui.Dockerfile, rhema-claw-ui) (push) Successful in 20s
ci / publish-edge-chart (push) Successful in 4s
android / debug (push) Successful in 2m16s
android / release (push) Successful in 2m9s
ci / checks (push) Successful in 3m39s
ci / test (push) Successful in 2m5s
ci / docker (push) Successful in 1m52s
ci / web (push) Successful in 13s
ci / publish-edge-images (deploy/docker/claw.Dockerfile, rhema-claw) (push) Successful in 1m56s
ci / chart (push) Successful in 6s
ci / publish-edge-images (deploy/docker/ui.Dockerfile, rhema-claw-ui) (push) Successful in 20s
ci / publish-edge-chart (push) Successful in 4s
The web client kept its own dark shell: an icon rail, neon jade accents, and rows that reported state with colored dots and pills. Rhema Together had since settled on a warmer, quieter language, and the two surfaces no longer looked like one product. The shell is now one 232px sidebar plus a view. Chat lists sessions in the sidebar and renders the transcript in a 760px column; settings moves its searchable nav into the same sidebar and its pages onto an 880px column. The palette, type scale, controls, cards, and markdown come from Together's light theme, with its dark values following the OS. FiraCode Nerd Font Mono sets code, and the product mark, logo, and lucide icons replace the glyph characters. Status is a word now: running, waiting, held, connected, live, snapshot. The rail, its dots, the duplicate consent deny action, and the session key tag are gone. The model backend moved into the chat topbar beside the stream state. The mobile shell keeps the composer fixed in chat and lets settings scroll as a document. README and component docs follow the new layout. nuxt typecheck and build pass; checked light and dark at 1280x800 and 390x844 against mock API data.
This commit is contained in:
1 parent
acda9cc537
commit
d17d8e2973
33 files changed
+1858
-1383
No files matched your search
+27
-22
@@ -30,8 +30,8 @@ When the claw config sets `token:`, every `/v1` route wants
|
||||
config `clawToken`), or
|
||||
- the inline field in the 401 banner; it is stored in `localStorage`.
|
||||
|
||||
`/healthz` is open either way, which is how the header dot stays honest
|
||||
when the token is wrong.
|
||||
`/healthz` is open either way, which is how the sidebar's health word
|
||||
stays honest when the token is wrong.
|
||||
|
||||
## Build
|
||||
|
||||
@@ -160,8 +160,8 @@ Two consequences worth knowing before changing this code:
|
||||
first remaining session, the stream's watcher following the key so
|
||||
nothing keeps streaming a session that no longer exists.
|
||||
- **Every row is controllable.** Beside the delete button, on hover:
|
||||
`hold` posts `POST /v1/sessions/{key}/pause` and the row badges
|
||||
`held` — queued work accumulates and nothing dispatches until `run`
|
||||
`hold` posts `POST /v1/sessions/{key}/pause` and the row says
|
||||
`held` in the warn tone — queued work accumulates and nothing dispatches until `run`
|
||||
posts the resume, both answered by the inventory's `paused` flag.
|
||||
`stop` posts `POST /v1/sessions/{key}/abort`: a live turn is cut
|
||||
(the stream closes on its `aborted` marker, in the warn tone, since
|
||||
@@ -172,15 +172,17 @@ Two consequences worth knowing before changing this code:
|
||||
|
||||
## Layout
|
||||
|
||||
The shell is an icon rail plus two views, switched by a tiny hash
|
||||
router (`#/chat`, `#/settings/agent/general`, `#/settings/agent/
|
||||
accounts`, `#/settings/providers`, `#/settings/about`), no
|
||||
vue-router. The chat view is the session inventory plus the live
|
||||
transcript; the settings view is a searchable nav plus pages. The
|
||||
agent's identity (name, mark, avatar) loads
|
||||
once and renders everywhere — rail, sidebar, chat, window title —
|
||||
through `AgentAvatar`, which owns the precedence: avatar image, then
|
||||
mark or initials. Settings pages stage edits into a local draft and
|
||||
The shell is one sidebar plus a view, switched by a tiny hash router
|
||||
(`#/chat`, `#/settings/agent/general`, `#/settings/agent/accounts`,
|
||||
`#/settings/providers`, `#/settings/about`), no vue-router. The sidebar
|
||||
holds the session list in chat and the searchable settings nav in
|
||||
settings. Both start with the product mark and end with a link to the
|
||||
other view plus the claw's health. The chat view is the live
|
||||
transcript; the settings view is pages on an 880px column. The agent's
|
||||
identity (name, mark, avatar) loads once and renders in the chat rows
|
||||
and the sidebar account row through `AgentAvatar`, which owns the
|
||||
precedence: avatar image, then mark or initials. Settings pages stage
|
||||
edits into a local draft and
|
||||
apply them with an explicit Save (`PUT /v1/providers/active` answers
|
||||
the new pair only; the client carries the provider list forward).
|
||||
The providers page also manages the roster itself: the add form renders
|
||||
@@ -189,7 +191,7 @@ from the `addable` kinds the claw serves; each kind's `fields` carry
|
||||
without (llama.cpp needs neither of its fields, it serves keyless on a
|
||||
default url); the form demands only those, marks the rest optional, and
|
||||
takes an optional instance name; unnamed, the id is the kind. Model
|
||||
options carry a `◉ vision` mark when the live listing knows the model
|
||||
options carry a `(vision)` note when the live listing knows the model
|
||||
takes images (`supports_vision: true`); the key's absence is unknown,
|
||||
never a no, so it renders nothing. A login
|
||||
is `PUT /v1/providers/{id}/credentials`: apply immediately,
|
||||
@@ -201,12 +203,14 @@ claw-side.
|
||||
|
||||
```
|
||||
app/
|
||||
app.vue the shell: rail, banners, view switch
|
||||
assets/css/main.css the Jadeite tokens (matches the TUI's
|
||||
palette.rs DARK) + card/badge primitives
|
||||
app.vue the shell: sidebar, banners, view switch
|
||||
assets/css/main.css the Rhema Together palette (light and
|
||||
dark), type scale, controls, cards,
|
||||
markdown
|
||||
assets/fonts/ FiraCode Nerd Font Mono for code
|
||||
components/
|
||||
AppRail.vue the icon rail: views, claw pulse
|
||||
AppBadge.vue the status/tag pill
|
||||
SidebarBrand.vue the product mark and name
|
||||
AppBadge.vue the quiet tag
|
||||
AppCallout.vue the toned inline note (info/ok/warn/error)
|
||||
AppMarkdown.vue agent replies as markdown (markdown-it,
|
||||
raw HTML escaped, styles in main.css .md)
|
||||
@@ -218,12 +222,13 @@ app/
|
||||
AppMarkdown
|
||||
SessionsSidebar.vue conversable dispatch keys (phone status
|
||||
keys hidden), interactive first; the
|
||||
+ form creates a session
|
||||
+ form creates a session; settings and
|
||||
the agent's health in the footer
|
||||
PageHeader.vue title + subtitle + page actions
|
||||
SettingCard.vue one titled card of rows
|
||||
SettingRow.vue name + description + control
|
||||
SettingsNav.vue searchable settings nav
|
||||
StatusDot.vue one honest state dot
|
||||
SettingsNav.vue searchable settings nav; chat and
|
||||
health in the footer
|
||||
settings/
|
||||
ProvidersPage.vue the backend switch: draft → Save/Discard
|
||||
AboutPage.vue identity, stack, the routes spoken
|
||||
|
||||
Reference in new issue
Block a user