Repository navigation
feat(settings): herdr-app style Appearance page with sideways theme cards - #3162
Conversation
Rows are a label and its control with no sentences or group captions; a reset button sits beside a changed row. Themes are picture cards in one sideways-scrolling row per side (own kind first, then the other kind). Terminal and chat fonts and sizes move to Appearance > Typography; search keywords and palette aliases follow them.
…as one scroller, share SettingsRow icon/preview/condition The Dark/Light side switch is named Show dark themes / Show light themes, so Appearance has one button named Light. The phone fit check holds the theme cards to their sideways scroller and checks the scroller itself. SettingsRow takes the icon, preview and condition props the other settings pages use (from feat/settings-chat-agents).
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 2 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
…o side-effect notes; test the row reset Review round: the cards show the side drawn now until Dark or Light is chosen; arrows, Home and End pick as a radio group does; Name tabs and Lock pinned agents keep their side-effect line through condition; the phone fit check skips only theme cards; a regression covers the reset button and keyboard picks.
…ield, theme kind names, narrow rows) The reset button hands the focus to its row control; resetting Interface font closes the custom field; an other-kind theme card names its kind; the checked card is brought into view after a reset; font rows wrap their size under the list when a narrow dialog has no room; Lock pinned agents keeps its how-to line.
…t focus skips a disabled control
# Conflicts: # src/components/SettingsDialog.tsx
Deploying ovis with
|
| Latest commit: |
87b6a20
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://63ca65ef.ovis.pages.dev |
| Branch Preview URL: | https://feat-settings-appearance.ovis.pages.dev |
|
Review notes for head 87b6a20
Left as LOW (not changed):
Checks at the head, on the P620: |
|
Merge note (merge pass) at head 87b6a20:
|
…-control rows (#3158) Stacked on the Appearance page PR (base `feat/settings-appearance`). **Merge before #3157** (or together with it): #3157 removes the OMP Side conversations chip from Agents, and this PR is where that row lives now, so Settings never loses it. ## What Alerts, About and a new Experimental page in the same row style as the Appearance page: each row is a name and its control, without group captions or sentences (the sentences stay in the code as the words Settings' search finds a row by), with an icon where the name alone does not say what the row is, and a ↺ beside a changed value that restores the default. The design follows herdr-app's settings rows and T3 Code's per-row reset. ### Alerts - Needs input, Needs permission, Finished (long turns / every turn) and Stopped on an error are one line of chips, each with its icon. The two Finished chips are the one `alertDone` setting's two levels: every turn takes in the long ones, so Any lights Long too. The row's ↺ restores all five, the two kept in the alert filters' own store included. - **In the app is removed** (the owner's choice). In-app alerts always drop in while the app is on screen. What an older version stored for `alertInApp` is ignored; `sanitizeSettings` drops it, and telemetry keeps reporting `alertInApp: true`, so the event schema and the Worker are unchanged. Turning every alert off is still the Alerts switch in the header's More menu, which is now always shown (it hid only when in-app alerts were off and the browser had denied notifications). - The webhook row is named "Also send to" (the group's caption, which a bare page does not show). ### About - The first line, **In use**, names the runtime this PC's server reports serving, with its version: herdr or herdr-core. Nothing is guessed: it reads `herdr_runtime` and `herdr_core` from the health answers. - With both installed and the server offering the switch (`switch_to`), that line is the choice between them, each with its version; picking the other asks first and then restarts through the existing switch. With one installed it is a plain fact, and another runtime found installed without a switch gets its own line. - Ovis core is not listed: the server reports nothing about it yet. - Ovis ("Running v…"), herdr's Update button, the plugins and the usage counts follow as one list. The compact Updates line keeps its (visually hidden) "Updates" heading and the notes of what the last update brought, which the header's "What's new" opens. Installing, a failure or a pending reload still show the full update section. Switching to a herdr whose TUI server is not running still warns to start herdr after the switch. - The webhook's sentence on what a message carries to a third party stays visible on the compact page. ### Experimental (new page) Named agent groups (from Appearance's More settings), Lock pinned agents (from Appearance's Experimental fold), Codex panes' drag (from Terminal's Experimental fold) and, under an "Agents" sub-heading, OMP's Side conversations chip (from its row on Agents) and OpenCode's subagent ends read from their session (`opencodeParentEnds`, from Appearance's Experimental fold, added on main since). Stored keys and defaults are unchanged. The palette finds the page by those names. ### Shared controls On top of the shared `SettingsRow` icon/preview/condition API from the base branch: `SettingsRow` takes `resetAlso` (a store of its own that ↺ also restores), `SettingsGroup` takes `heading` (a title kept on a bare page) and `keepNote`, and there is a `ChipToggles` control. The `experimental` fold variant stays for #3157. Also renamed in Korean, as the owner asked for plain names on unclear rows: the Codex drag row now reads "Codex 창의 드래그는 Codex에 넘기기". ## Screenshots (demo build, light) | | 1280 | 390 | |---|---|---| | Alerts (Sound and "Any turn finished" changed: ↺ shown) |  |  | | About, herdr only |  |  | | About, herdr and herdr-core installed (`?demo_runtime=both`) |  |  | | Experimental |  |  | The "Push alerts need HTTPS" line under Test notification shows because the demo runs on plain http. ## Validation Rebased onto `feat/settings-appearance` 87b6a20 (#3162 with origin/main merged). On that head: - `bun run check fast` on this host: typecheck, build green; unit 12708 pass, 1 fail: `server/remote-entry.test.ts`, which this PR does not touch (no `server/` change) and which passes alone (10/10). - Browser on this host after the rebase, PASS: `settings-pages-demo-regression.ts`, `ui-regression.ts`, `agent-groups-demo-regression.ts`, `agent-lock-demo-regression.ts`, `alert-webhook-demo-regression.ts`. - Before the rebase (head b116058): - Browser on this host, PASS: `settings-pages-demo-regression.ts` (all, including three new checks: About names the runtime in use and offers the switch only with two installed, asking first; Alerts' chips: every turn lights the long turns and ↺ restores all five; About's compact Updates line keeps the last update's notes, its name and the running version), `ui-regression.ts` (the `Light` step that stopped it before is fixed on the base), `droplet-regression.ts` (a stored `alertInApp: false` no longer stops an in-app alert). - Failing first, against the demo with hot reload: with the fixes reverted, About showed no "What the last update brought" region and the alert ↺ left Needs permission off and Stopped on an error on, with Long turn finished unpressed while every turn alerted; with them, both pass. - Browser on old-desktop before the rebase, PASS: `revision-bound-update-demo-regression.ts`, `agent-groups-demo-regression.ts` and `agent-lock-demo-regression.ts` (now on Experimental), `alert-webhook-demo-regression.ts`, `push-health-demo-regression.ts`, `pane-mute-demo-regression.ts`, `chat-request-details-demo-regression.ts`, `codex-drag-demo-regression.ts`, `file-text-size-demo-regression.ts`, `interface-font-demo-regression.ts`. - Not green, and the same without this PR: `bun run check integration` on old-desktop fails `server/api.contract.test.ts` (Grok, Agy, Muse, Codex conversation API: fixture process did not start in 10 s) and `server/hermes.contract.test.ts`; the base commit ef1caca fails exactly these five tests there too. `update-browser-qa.ts` stops at its own install's build ("Tsconfig not found …/shared/vendor/paseo-e2ee") on the base commit as well; its notes check is covered by the new settings-pages check above. - Scripts that stored `alertInApp: false` to keep drop-ins out of their captures now store `alertsOn: false`. Review: omo BLOCK at 8b055b2 (HIGH: compact Updates hid the last update's notes) and Codex MEDIUMs, fixed here as above. Not changed, by the owner's choices: in-app alerts can no longer be silenced apart from push (In the app was removed on purpose), and Experimental's rows show no descriptions (this page style drops them; they stay as search words).
## What Settings > Shortcuts and Settings > Terminal drawn as herdr-app draws its settings: each row is a name and its control, with no sentences under it and no group captions. A row whose value moved off its default shows a ↺ beside its name, as T3 Code does. Rows whose name alone is not obvious get a leading icon, and the two key bar rows get a small phone picture of what they change. Follows the Appearance PR #3162 (merged), which brought the shared pieces (`SettingsBare`, the ↺ reset, "n changed" on the fold, `SettingsRow` icon/preview/condition). This PR adds only `onReset` to `SettingsRow` (a row whose value lives inside another setting: one shortcut of `shortcutOverrides`), and keeps focus in the row after a reset. ### Shortcuts - The note paragraph above the list is gone. - The per-row "Your browser or operating system may intercept …" sentence is gone where the list itself already says "— Reserved". A recorded exact chord (not in the list) keeps its warning, and so does a saved terminal key. - A changed shortcut shows ↺; it is offered only when the default is free (no duplicate binding), and focus moves to the row's control when it is used. - herdr prefix keys move under More settings (with their explanation kept: the prefix stops reaching the pane). `?settings=shortcuts§ion=herdr-keys` opens that fold. ### Terminal - First view: input mode, wheel speed, key bar, herdr window. Fonts already moved to Appearance in the base PR. - **herdr window** replaces two toggles with one choice: Separate / Use alongside / Follow its focus. Stored `releasePaneAway` and `followHerdrFocus` are kept; Follow sets both, Separate clears both. A device that stored follow-without-alongside reads as Follow and keeps that until it picks another option. The old row names still find it in search. - The three key bar rows ("Don't open the keyboard when tapping the terminal", formerly "Keyboard only from the key bar"; "Hide the key bar in the input line", formerly "Fold the key bar"; "Attach files button") move into the key bar editor, on touch screens only (as two of them already were; the first now too). Settings search still finds them on the Terminal page, by old and new names. Stored values unchanged. - Split into rows and columns stays (under More settings, with an icon); making it always on follows in its own PR, since the half-only drop guide it retires is covered by several browser regressions. - **Pictures in the terminal is on by default on herdr-core.** `terminalImages` is now `boolean | null`, kept under a new key `ovis:terminal-pictures` (up to now every save wrote `ovis:terminal-images`, `false` included, so a stored `false` there was not a choice; a stored `true` there still counts): `null` (never chosen) follows the pane's server: on where it keeps the terminal's history (herdr-core), off on herdr, which passes no pictures anyway. An explicit on or off on a device stays. The image addon's memory caps are unchanged (desktop 4096² px / 64 MB, touch 2048² px / 16 MB). - More settings: clipboard from a pane, pictures, rows and columns. Experimental: Codex drag. Measured on an isolated hc 0.1.17 and herdr 0.9.5 session before the default change: herdr delivers no picture protocol at all; on herdr-core kitty (`chafa -f kitty`, `timg -pk`) already draws by default via libghostty, and with pictures on sixel (`chafa -f sixel`, `timg -ps`) and iTerm2 (`timg -pi`) draw too. Gaps found: #3146 (kitten icat), #3147 (imgcat multipart, chafa TIFF). Design follows herdr-app (rows without descriptions) and T3 Code (per-row reset, folds), as the owner asked; icons from lucide like the rest of the app. ## Screenshots Light, 1280 and 390, before/after: attached in the lane report (demo build). ## Validation On 01d3bb6 (origin/main merged in), old-desktop heavy runner: - `bun run check fast`: ok (unit 12733 pass, 0 fail; typecheck, build, generated files). - Browser regressions: settings-pages-demo, herdr-prefix-keys-demo, key-bar-customization-demo, shortcut-exact-modifiers-demo, terminal-images-demo: pass. Earlier heads of the same change also passed terminal-ghostty-demo, terminal-keyboard-demo, composer-fit-demo, split-view and follow-focus. - ui-regression, terminal-input, sticky-modifiers: fail on that runner identically on the base without this change (no Rust PTY host there); CI's runner image decides them. - Reviews: see the PR comments (Codex two passes, omo; the omo BLOCK on a pictures reset after an earlier version's `true` is fixed with a test).
## What Follow-up to #3162: every row on Settings → Appearance leads with an icon, so a row reads at a glance instead of by its words (the rows carry no sentences since #3162). Uses the shared `SettingsRow` `icon` and `preview` props from #3162; lucide icons, as elsewhere in the app. - Theme `SunMoon`, the dark/light theme row `Palette`, Interface font size `ALargeSmall`, Interface font `Type`, Terminal font `SquareTerminal`, Chat font `MessageSquare`, Density `Rows3`, Language `Languages`, Sidebar rows `PanelLeft`, Agents order and Within a state `ArrowDownUp`. - In More settings: Name tabs from the first message `Tag`, Sidebar filter `Filter`, Show the sidebar on hover `MousePointer2`, Background workspaces apart `Layers`, Context left on agent rows `Gauge`, Agents under workspaces `ListTree`, Fold helpers `FoldVertical`, Named agent groups `Tags`, Agent logos `Shapes`, Status indicators `CircleDot`, File text size `FileText`; in Experimental, Lock pinned agents `Lock`. - Sidebar rows also gets a tiny drawing of the choice beside its control: two workspace rows of one line, or of two lines. No setting, label, string or stored value changes. Icons are `aria-hidden`; the preview is `aria-hidden` (the control names the choice). ## Screenshots 1280 and 390, light, demo build, on the maintainer's tailnet: http://100.106.153.26:47974/appearance/icons-1280-light-full.png and http://100.106.153.26:47974/appearance/icons-390-light-full.png ## Validation See the comment below for the run at the PR head.
## Change Closes #3275 (proposed by @pnexus-wikii). ### Where the maintainer's look stands The maintainer has seen the demo and approved the explanations (2026-11-13, through the lead). What was the author's recommendation, for the record: - **Which variant.** Three were shown on a demo. This PR ships **C**: the sentence on a resting mouse, keyboard focus and a tap, plus one short line always in sight under the two rows whose name misleads. The others were **A** (hover and tap only, no added line) and **B** (an info button on each row). C differs from A by two `condition` props and three dictionary entries. - **Escape.** While an explanation is showing, the first Escape closes the explanation and the next one closes the dialog. The keyboard shows one only after Tab or an arrow moved the focus there, so closing an editor or answering a confirmation never adds a press (details under "Behavior change" below). - **Still open with him:** variant C's two lines show on a phone as on a desktop, without a tap. He asked whether a phone shows anything before a tap; hiding those two lines on phones is a small follow-up if he wants it. Since Settings went to bare rows (#3157, #3158, #3160, #3162, #3432: a name and its control, as herdr-app draws them), a row's sentence has been in the document only for search and for screen readers. This PR shows that sentence on demand, on every kind of device, and rewrites every sentence against the code. It does not bring the lines under the rows back. ### How a sentence shows - **Mouse**: rest on a row for 450 ms and its sentence is drawn above the row, its left edge on the name's. Above, so it covers neither the row's own control nor the row below, which is where the pointer goes next; under the row only where the screen ends above it, and never above the screen's top. Over another row's control it narrows to the room beside that control. Where there is no such room (224 px) it lies on that control's near end and gives way there: the pointer coming onto that part closes the sentence, so a press reaches the control. It does not move or fade, the pointer on the rest of it keeps it, and a row entered within 400 ms of another's closing shows its own at once. It is never taller than the screen, and scrolls where its words do not fit. - **Keyboard**: the focus on a row's control shows the same sentence at once. Every control in the row is also described by it (`aria-describedby`), so a screen reader reads it with the control: the switch, select, stepper or group of choices, and a button or a field the page draws there (Edit key bar, Import, the font field), unless it brings a description of its own. The sentence takes no focus. A focus is the keyboard's when a key that moves the focus came last (Tab, an arrow, Home, End): a click or a tap that puts the focus in a field or a select shows no sentence, and neither does the focus the app gives back after Escape or Enter (an editor closed, a confirmation answered). - The sentence is drawn only while its row is in the page's view. A dialog's Tab moves the focus without scrolling (`lib/useFocusTrap.ts`, on main since #570), so the focus can be on a setting the page is not scrolled to: its sentence waits for the row, and Escape is not its own meanwhile. That Tab does not bring the focused control into view is main's, in every dialog, and is not changed here. - **Touch**: a tap on the row, anywhere but its control, opens the sentence in the row, under the name and the control at the row's width; a second tap closes it, and so does Escape, before Settings (a touch screen with a keyboard). Nothing is drawn over a phone's page. A pen's tap does the same: a pen that cannot hover has no other way to the sentence. - **Escape closes the sentence alone** and leaves Settings open (WCAG 2.2 1.4.13: dismissible without moving the pointer or the focus). In a text field that Escape is the field's too, and the first text typed closes the sentence. A dialog opened over Settings keeps its own Escape, and a row that a search hides takes its sentence with it. - **A press on the row's control closes the sentence**, the keyboard's as a pointer's: a choice, not a question. - A device that only watches reads the same sentences. - Two rows whose name alone misleads keep one short line in sight: the theme row ("Dark and Light here only switch which themes you choose from.") and Web links ("Only pages this PC serves can open beside the pane."). ### Behavior change: Escape with a sentence showing With the keyboard on a setting its sentence is showing, so the first Escape closes the sentence and the next one does what Escape did before (empties the search, then closes Settings). This is how React Aria's tooltip treats Escape ([`useTooltipTrigger`](https://github.com/adobe/react-spectrum/blob/main/packages/react-aria/src/tooltip/useTooltipTrigger.ts): a capture-phase Escape that closes the tooltip and stops there while it is open), and what 1.4.13 asks for: closing Settings would move the focus. After a press on the control (Space, Enter, a click) no sentence is showing, so Escape closes Settings at once, as before. The same holds for the focus the app gives back: Escape out of the key bar editor, then Escape, closes Settings, two presses as on main. Two existing browser checks pressed Escape once with the keyboard on a setting; they now assert both steps: - `scripts/settings-rows-demo-regression.ts`: a search result reached by Tab shows its sentence; Escape closes it and keeps the search and the focus, and the next empties the search. A result the keyboard did not move to takes one Escape, as before. - `scripts/file-viewer-regression.ts`: after the Tab walk on a desktop (it ends on the open page's first setting), Escape closes the sentence, then Settings, over the same preview entry. Every other script of CI's browser lane that names the Settings dialog passes unchanged. ### What the sentences say - 115 of the 118 Settings rows have a sentence, in English, Korean, Japanese and Chinese, each one or two sentences: what the setting changes, what each choice means, and whether it is this device's or every device's, in the words its label already uses. The three without are the read-only key list under "Use herdr's prefix keys" and the search-only "Add a connection" row. Two disclosures keep their length (Delete account, Send anonymous usage counts). - Each claim was checked against the code. Corrected on the way: quick replies and the theme were said to be this device's (they are shared, `SHARED_SETTING_KEYS`); Sidebar rows spoke of workspace rows only (agent rows change too). - **Test notification** (Alerts) was a hand-drawn row whose sentence was not in the document on a bare page at all; it is a `SettingsRow` now, with the push health line as its `condition`. Its boxes on screen are unchanged at 390 and 1280. - New keys live in `src/lib/i18n/settings-help.{ko,ja,zh}.ts`; the entries of the sentences they replace are removed. ### What it follows - [Zed's settings](https://github.com/zed-industries/zed/blob/main/crates/settings_ui/src/settings_ui.rs) give each control its row's description as its accessible description; the same here, instead of a row group that reads its name twice. - herdr-app's settings rows stay a name and a control and carry a line only where there is something to say; the two visible lines follow that. - The surface is the app's one tooltip surface (the relay map's), and the pattern is WAI-ARIA's tooltip (hover and focus, Escape, no focus of its own). - VS Code, T3 Code and Paseo show every description under its title. That differs here on purpose: the owner removed those lines for calm (#3157 and the PRs beside it). ## Screenshots | | Before (main) | After | |---|---|---| | A resting mouse (1280, dark) | <img src="https://raw.githubusercontent.com/devswha/ovis/f0be5278de4041742765fb99178ccf1713559162/before-appearance-1280-dark-mouse.png" width="380"> | <img src="https://raw.githubusercontent.com/devswha/ovis/f0be5278de4041742765fb99178ccf1713559162/after-appearance-1280-dark-mouse.png" width="380"> | | Keyboard focus (1280, light) | <img src="https://raw.githubusercontent.com/devswha/ovis/f0be5278de4041742765fb99178ccf1713559162/before-chat-1280-light-keyboard.png" width="380"> | <img src="https://raw.githubusercontent.com/devswha/ovis/f0be5278de4041742765fb99178ccf1713559162/after-chat-1280-light-keyboard.png" width="380"> | | Test notification (1280, dark) | <img src="https://raw.githubusercontent.com/devswha/ovis/f0be5278de4041742765fb99178ccf1713559162/before-alerts-1280-dark-mouse.png" width="380"> | <img src="https://raw.githubusercontent.com/devswha/ovis/f0be5278de4041742765fb99178ccf1713559162/after-alerts-1280-dark-mouse.png" width="380"> | | A tap on the name (390, light) | <img src="https://raw.githubusercontent.com/devswha/ovis/f0be5278de4041742765fb99178ccf1713559162/before-chat-390-light-tap.png" width="190"> | <img src="https://raw.githubusercontent.com/devswha/ovis/f0be5278de4041742765fb99178ccf1713559162/after-chat-390-light-tap.png" width="190"> | | A long sentence on a phone (390, dark) | <img src="https://raw.githubusercontent.com/devswha/ovis/f0be5278de4041742765fb99178ccf1713559162/before-terminal-390-dark-tap.png" width="190"> | <img src="https://raw.githubusercontent.com/devswha/ovis/f0be5278de4041742765fb99178ccf1713559162/after-terminal-390-dark-tap.png" width="190"> | | The theme row's line (1280, dark) | <img src="https://raw.githubusercontent.com/devswha/ovis/f0be5278de4041742765fb99178ccf1713559162/before-appearance-1280-dark-line.png" width="380"> | <img src="https://raw.githubusercontent.com/devswha/ovis/f0be5278de4041742765fb99178ccf1713559162/after-appearance-1280-dark-line.png" width="380"> | | Web links' line (390, light) | <img src="https://raw.githubusercontent.com/devswha/ovis/f0be5278de4041742765fb99178ccf1713559162/before-chat-390-light-line.png" width="190"> | <img src="https://raw.githubusercontent.com/devswha/ovis/f0be5278de4041742765fb99178ccf1713559162/after-chat-390-light-line.png" width="190"> | ## Validation Head `58ea6fdc1`, with main `3ade453cb` merged in. The checks of this head ran on the project's pool of check VMs (the CI runner image's Bun, Node, herdr, Chromium and fonts), which now takes the place of this PC's queue. - `bun run check fast`'s steps (release guards, workflow syntax, generated types and themes, typecheck, build, unit tests): green on this head (16817 unit tests pass, all six steps ok). One unit test, `server/copilot.test.ts` "keeps a logged binding when only the log's timestamps change", fails only on the VMs' kernel and is on the pool's list of such tests; this PR does not touch it. - Browser regressions: the 57 of the 209 scripts of CI's browser lane that name the Settings dialog or its parts, with the merge gate's browser runner: all 57 pass on this head, none needing a second run (`ui-contexts-regression` ran with `ui-regression` as CI pairs them, and passed too). The same set passed in the CI runner image on this PC at `379fcb7c8`. - The design gate on the Settings pages (`scripts/design-gate-qa.ts --surfaces settings-…`), against a report of main, at `379fcb7c8`: 40 visits, 0 failures on that head and 0 on main, nothing new. It was not run again since: it is a container run on this PC, the VM pool has no mode for it, and it visits the Settings pages at rest, where no sentence is drawn. The only CSS change since is the sentence's height limit. - New checks: `where a row's sentence goes`, `when a row's sentence shows and whose Escape it is` and `a row's sentence describes its control` (`src/components/SettingsControls.test.tsx`); `rowSentences` in `scripts/settings-rows-demo-regression.ts` (a resting mouse, keyboard focus, Escape, a text field, a finger's and a pen's tap, a row out of view, a watching device; the pointer on a control the sentence lies on, a search that hides the row, Escape on a sentence a tap opened, and a row hovered again after Escape). - Measured on the demo build: text contrast of the sentence 13.12:1 (light) and 10.85:1 (dark) over the page, 5.97:1 and 5.35:1 opened in a row; the shortest row a finger taps is 58 px. - Every row of the seven pages without sentences (64 rows in the demo's state), swept in a browser on the demo build: a resting mouse at 1280 in both densities (each sentence is its row's own, on the screen, off the row's own control and the row below; 4 of the 64 lie on the near end of the control of the row above, where there is no room beside it), Tab through every control (the sentence clear of the focused control and its ring, every control described), and a tap on each name at 390 and 320 (in the card, no sideways scroll, a second tap closes it): 0 problems in every sweep, at `e76da99b3`. That is before the demo switch came out and before the review fixes below; the sweep was not run again after them. - Review of `0db524275` found that the focus the app gives back opened a sentence, that a pen without hover could not open one, that a sentence taller than the screen began above it, and that a sentence could take another dialog's Escape. All four are fixed in `50ccbaaa3`. The first, second and fourth were run in a browser on builds of both commits; the third and the Escape decisions are unit tests. - Review of `bc6b0300c` found that a sentence lying on the control of the row above took the pointer and the click meant for that control, that Escape closed Settings while a sentence a tap had opened was showing, that a row hidden by the search kept its sentence and showed it again later, and that a sentence taller than the window could not be read to its end. All are fixed in `504de4eea`. The first three were run in a browser on builds of both commits (red before, green after); the height limit is checked by its computed style only. The new regression step then found one more: a row hovered again after Escape on its sentence showed nothing once, fixed in `58ea6fdc1`. - Skipped: the integration lane and the Windows and macOS jobs (no server, shared or native code changed).
What
Settings → Appearance redrawn the way herdr-app draws its Look page, with T3 Code's reset and theme previews:
description, hidden by the newSettingsBarecontext).SettingsRowresetprop, existing "Restore defaults" string).generate-themes.tsnow writes six preview colours per theme intothemes.generated.ts. Dark / Light beside the row pick the side; the side drawn now opens first; the side's own kind comes first, then the other kind after a rule, so any theme still goes on either side (Q1 kept). The chosen card is scrolled into view by the row's own scroll; arrow keys move along the row.SettingsBare,SettingsRowreset/icon/preview/condition,Segmentedoptionname(an accessible name when a short label is shared nearby: the side switch is "Show dark themes" / "Show light themes", so the page has one button named "Light").Stored values and keys are unchanged; deep links to
?settings=appearance§ion=typography/typography-moreand the Terminal and Chat pages still open.Design source: herdr-app's Settings (Look page rows, no descriptions) and T3 Code's Settings (reset per row, theme wireframe cards, folded sections). Layout only; no code taken from either.
Screenshots
1280 light / dark and 390 light / dark from the demo build, on the maintainer's tailnet: (shared privately with the maintainer) (final-1280-light-view.png, final-1280-dark-view.png, final-390-light-view.png, final-390-dark-view.png; full pages final-1280-light-full.png, final-390-dark-full.png).
Validation
bun run check fast: green on old-desktop at d663d44 and on the P620 at the head.settings-pages-demo(all pass, incl. 46 searches in 4 languages, theme tokens per legacy palette on the cards, 390/320 phone fit),interface-font-demo,file-text-size-demo,composer-fit-demo,theme-first-paint-demo,deep-link-demo,preferences-sync,settings-tabs,terminal-pinch,telemetry,ui(85 pass on a fresh test session).paletteSettings.test.ts,i18n.test.ts, theme tests, conventions.