Repository navigation
feat(settings): herdr-app style Chat and Agents pages - #3157
Merged
Merged
Conversation
|
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 23 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. |
devswha
force-pushed
the
feat/settings-chat-agents
branch
from
November 6, 2026 09:25
83b95b8 to
e622bf6
Compare
Owner
Author
Review roundsReviews at 0494ed5 (omo + Codex Terra xhigh), 83b95b8, e622bf6 and 137ef2d (omo). Fixed in this PR:
Left as LOW (not fixed here):
CodeRabbit skipped this PR (base is not the default branch). |
devswha
added a commit
that referenced
this pull request
Nov 6, 2026
…-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).
Rows are an icon, a name and its control without sentences (search and screen readers still get them) and a reset beside a changed row. Chat keeps short group headings, its quick replies list as before, and its message box buttons as one row of chips; Wrap long lines draws a line of code. Agents drops its captions: each agent's row shows the model and effort New tab starts it with, herdr's integrations fold under one line, Plan limits is one row. Compaction and failed requests, the Markdown outline and Files' Documents tab are always on and their switches are gone. The OMP side conversations chip is on the Experimental page only.
devswha
force-pushed
the
feat/settings-chat-agents
branch
from
November 6, 2026 11:58
2c06004 to
963ac18
Compare
Owner
Author
|
Merge note (merge pass) at head 963ac18:
|
…ents # Conflicts: # src/components/SettingsDialog.tsx # src/lib/i18n/settings-composer.ja.ts # src/lib/i18n/settings-composer.ko.ts # src/lib/i18n/settings-composer.zh.ts
Owner
Author
|
Merge note (merge pass) at head 7f81fe8:
|
devswha
added a commit
that referenced
this pull request
Nov 6, 2026
…ing (#3188) ## Summary `scripts/mobile-tabs-regression.ts:164` failed in the ui-contexts browser lane on PRs that do not touch it (`goto: net::ERR_ABORTED at /?pane=wC%3Ap8`; #3130, #3172, #3157 twice). All three failures ran on the same group of self-hosted runners. **Cause.** A phone bottom sheet is a history entry. When it closes, `leaveSheet` in `src/lib/sheetHistory.ts` steps back off that entry with `history.back()` a task later. The check closed the More sheet with Cancel, waited only for the sheet to leave the DOM, and then called `page.goto`. When the sheet's same-document `history.back()` lands after the goto has started (late on a loaded runner), Chrome aborts the goto with `net::ERR_ABORTED`. The app's behaviour is intended (Back must not go to the pane before the sheet); the check did not wait for it. **Fix (test only).** A `cancelSheet` helper taps Cancel, waits for the sheet to detach, and then waits (bounded, 5 s) until `history.state` no longer carries the sheet's `ovis:sheet` entry, the state the step back leaves. Navigating after that cannot race the traversal. Both Cancel sites in the check use it. No sleeps, no retries. ## Validation - Logged history calls in the check: More > Cancel calls `history.back()` and its `popstate` lands only ~9 ms before the goto's request on this PC. That step back is the only navigation between the two. - Reproduced naturally in `herdr-ci-runner:local` by looping only this check: original **1 failure in 155 runs**, with exactly the CI error (`goto: net::ERR_ABORTED ... ?pane=...p8`). - Forced the race (scratch harness, not committed: the sheet's back step 20 ms late, document responses 400 ms slow, service worker blocked): original **20/20 failed** with the CI error; this branch **0/50**. - Natural runs of this branch in the runner image: **0/50**. - `bun run check fast`: pass (typecheck, build, unit 12723 pass / 0 fail). No changelog fragment: test-only change.
devswha
added a commit
that referenced
this pull request
Nov 6, 2026
…3185) ## Change Fixes #3179. Adds Settings → Chat → **Reopen files on return** (`reopenFileOnReturn`), in the Files group under More settings. It is off by default and saved per device. With it off, nothing changes. With it on: - A file open on a tab still closes when you switch to another tab, as today. - Coming back to that tab shows the file again, whether you use Back, the tab strip, the sidebar or a shortcut. This works in both popup and docked mode. - If you close the file on its tab, it stays closed the next time you return. - Up to 10 tabs' files are remembered. ### How it works - **Back** (`useAddressBar.ts`): when you leave a tab, its history entry keeps the file (`hideFile` instead of `releaseFile`), and the switch is pushed over it instead of replacing it. Back lands on that entry and shows the file again. - **Tab strip, sidebar or shortcut** (`useFilePanels.ts`): `leaveFile` remembers the file left on each pane, in memory, keyed by PC and pane. After the switch's history entry is pushed, `restoreFile` opens that file again on an entry of its own. Close and Back then remove only the file, not the tab switch. - **Forgetting:** a file is dropped from memory once it shows on its pane again, so a file closed there does not come back. - **The tricky part:** on Back, the viewer's `popstate` listener shows the file one render before the address bar's listener selects its pane. In that render the file looked left behind, so the old code hid it again and wrote the other pane's address over the entry. `useFileViewer` now reports whether the file shown came from a Back or Forward (`fileFromPop`). While the selection hasn't moved since, `useAddressBar` leaves both the file and the address alone until the pane is selected (`fileLanding`). If the Back lands on a different pane (the file's pane is gone), the selection moves and the file is released as before. - A move that replaces its entry (`autoSelected`, Settings open) removes the kept file from the entry (`withoutFile` in `historyKeys.ts`). ### Limitations - The memory is lost on a reload. Back still shows files after a reload, because those live in the history entries. - A tab you leave by pressing Back isn't remembered for a later return from the tab strip. ### Docs The setting is described in DESIGN.md (the docked-panel paragraph), `docs/guide.md` and a `changelog.d/` fragment. Its label and description are translated into Japanese, Korean and Chinese. Related: #1230 (where closing the viewer on a pane move became deliberate), #1224, #1324, #3002, #1061. ## Validation Rebased on `main` at `2b37a54e`, after #3157 (the new Chat settings page) and #3171. The new row moved into the page's Files group with an icon, like its neighbours. - `bun run check fast` (macOS, after the rebase): typecheck, build, the conventions tests and every `src/` and `shared/` test pass. - 19 files in `server/` and `scripts/` fail. I checked a sample on `main` and they fail the same way there, so they look specific to this Mac (for example `scripts/check.test.ts`, `server/bridge.test.ts`, `server/kimi.test.ts`). - Hook tests in `src/lib/useFilePanels.reopen.hook.test.ts` (7 tests) pass: - With the setting off, a file is never brought back. - With it on, the entry keeps the file and a switch back reopens it on its own entry. - A file closed after Back shows it stays closed. - Only the last 10 panes are remembered. - A closed tab's file gives its place up before a live one is forgotten. This test fails without the fix. - Browser regressions, on macOS with the installed Google Chrome against the isolated `ovis-test` herdr session: - `scripts/file-viewer-regression.ts`: the new case for this setting passes on every run (Back, a sidebar switch back, Close, and a file closed on its tab staying closed). - The full script passed 80/80 before the rebase. - After the rebase, the transitions table sometimes fails at "docked web (from the narrow popup) → file: Back 1" or "web → narrow → wide → file: Back 1". A clean `origin/main` worktree fails the same row in 3 of 4 runs on this Mac, and `main`'s CI passes it, so it looks like timing on this machine, not this change. - `scripts/file-viewer-mobile-regression.ts`: 18 checks, and `scripts/files-panel-demo-regression.ts`: 4 checks. Both passed before the rebase; not rerun after it. - **Maintainer validation in the CI runner image** (`herdr-ci-runner:local`, as CI's browser job, no retries needed): - At 2217298: the 19 browser scripts that cover the file viewer, Files, deep links, Settings and the sidebar pass 19/19, including the transitions table's "Back 1" rows. - At 25a9f47: `file-viewer-regression.ts`, `file-viewer-mobile-regression.ts`, `files-panel-demo-regression.ts`, `deep-link-demo-regression.ts`, `text-file-edit-regression.ts` and `file-preview-text-browser-qa.ts` pass 6/6. - `bun run check fast` at 1d95b8f (25a9f47 only changes the browser script): typecheck, build, 12813 unit tests pass, 0 fail. - The new same-path step fails on the path-only key and passes with the PC + pane + path key; the closed-tab Forward step fails on 66c71fe and passes now. - GitHub's own CI for this fork has not started (it waits for a maintainer's approval). 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: Claude Opus 5.5 <[email protected]> Co-authored-by: devswha <[email protected]>
devswha
added a commit
that referenced
this pull request
Nov 13, 2026
## 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).
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.
What
Settings → Chat and Settings → Agents in the herdr-app row style the Appearance page introduced: each row is a name and its control, without sentences, with a ↺ beside a changed row. Stacked on
feat/settings-appearance.Chat
Agents
composerBtw) leaves this page; the Experimental page takes it in a separate PR. Its stored value is unchanged.Shared (SettingsControls)
SettingsBaretakes"rows": no sentences, group headings kept.SettingsRowgainsicon,previewandcondition. A condition (a refused model name, a mic problem, a missing API key, an outdated session resume) stays in sight where sentences are hidden.Links and search: every group keeps its
section(composer,composer-more,quick-replies,file-viewer,file-viewer-more,voice,plan-limits,other-accounts,integrations,integrations-missing, ...); hidden sentences and moved rows' old names still match a search; palette aliases follow the moved chips.Design reference: herdr-app's settings rows and T3 Code's per-row reset and provider rows; no code taken.
Validation
On old-desktop (heavy runner):
bun run check fast: pass (typecheck, build, unit tests 12637 pass).bun run check run --build: settings-pages-demo, cliproxy-settings, settings-unload, usage, agent-entry-points-demo, agents-sign-in-demo, chat-request-details-demo, files-documents-demo, files-panel-demo, palette-local-page-demo, markdown-outline-browser-qa, text-file-edit, deep-link-demo, usage-account-management, sidebar-filter-demo, settings-tabs, new-session-skills-browser-qa, file-text-size-demo, ui-regression: all pass for these pages. settings-pages-demo and ui-regression still stop on two Appearance-page failures of the base branch (390px theme scroller, two "Light" buttons); those are fixed on the base branch and this PR is rebased when that lands.Not run: full integration suite, Windows/macOS jobs.