Skip to content

feat(settings): herdr-app style Terminal and Shortcuts pages - #3160

Merged
devswha merged 11 commits into
mainfrom
feat/settings-shortcuts-bare
Nov 6, 2026
Merged

devswha merged 11 commits into
mainfrom
feat/settings-shortcuts-bare

Conversation

@devswha

@devswha devswha commented Nov 6, 2026 •

Copy link
Copy Markdown
Owner

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&section=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).

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.
@coderabbitai

coderabbitai Bot commented Nov 6, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

You'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.

Check out review usage here.

View limit details

Limit details: You’ve used all 4 included reviews currently available.

Learn how review limits work.

Review configuration:

Run configuration

Commits

Reviewing files that changed from the base of the PR and between 60fcdbc and ee75ffd.

Files selected for processing: 21

  • changelog.d/settings-terminal-shortcuts.md
  • scripts/follow-focus-regression.ts
  • scripts/herdr-prefix-keys-demo-regression.ts
  • scripts/key-bar-customization-demo-regression.ts
  • scripts/terminal-ghostty-demo-regression.ts
  • scripts/terminal-images-demo-regression.ts
  • src/App.tsx
  • src/components/KeyBarSettings.css
  • src/components/KeyBarSettings.tsx
  • src/components/PaneTerminal.tsx
  • src/components/SettingsControls.tsx
  • 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
  • src/lib/i18n/settings.ja.ts
  • src/lib/i18n/settings.ko.ts
  • src/lib/i18n/settings.zh.ts
  • src/lib/settings.test.ts
  • src/lib/settings.ts
  • src/lib/useTerminalMount.ts
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

Share

…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).
@devswha

devswha commented Nov 6, 2026

Copy link
Copy Markdown
Owner Author

CodeRabbit skipped this PR (its base is feat/settings-appearance, not main), so the reviews that stand in:

  • omo reviewer at d050ac3: CLEAR.
  • Codex (Terra 6.1, xhigh), two passes on the diff:
    • Fixed: a row reset could leave two actions on one key (reset now offered only when the default is free); focus fell out of the row after a reset (moves to the row's control); the herdr prefix keys' explanation was hidden (kept); an earlier version wrote ovis:terminal-images=false on every save, so it read as a choice and kept pictures off on herdr-core (moved to ovis:terminal-pictures, an old true still counts); re-picking the selected herdr window option changed stored values (no-op now); an unused section name.
    • Left, not reproduced: the image addon loads asynchronously, so a sixel/iTerm2 picture printed before it has loaded on a fresh page is not drawn (as before with the setting turned on); with no choice made, the Pictures switch reads this PC's runtime, while a pane of a remote herdr-core PC follows its own server.

Follow-ups from the picture measurements: #3146, #3147.

…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.
Rows are a name and a control with an icon where the name is not enough; a changed shortcut resets in place;
herdr prefix keys go under More settings; the key bar's touch-only rows move into its editor; one herdr window
choice replaces two switches; Pictures in the terminal follow the server (on with herdr-core) until a device
chooses, under a key of their own.
…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.
…eat/settings-shortcuts-bare

# Conflicts:
#	src/components/SettingsControls.tsx
#	src/components/SettingsDialog.tsx
Base automatically changed from feat/settings-appearance to main November 6, 2026 11:05
…ts-bare

# Conflicts:
#	src/components/SettingsControls.tsx
#	src/components/SettingsDialog.tsx
@devswha

devswha commented Nov 6, 2026

Copy link
Copy Markdown
Owner Author

Fixes for the omo review at 7d7af1b (BLOCK), in d538cb3:

  • MEDIUM, reproduced (pictures reset undone after reload): a device with an earlier ovis:terminal-images=true that pressed ↺ got true back on the next load. Saving now removes the earlier key; settings.test.ts covers it ("keeps a reset of pictures after an earlier version's on").
  • MEDIUM (switch read this PC's runtime): the Pictures switch now follows the PC shown (shownHerdr: herdr-core with attached panes), as the pane does.
  • LOW, left: the image addon still loads asynchronously, so a picture in the very first bytes of a fresh page can be missed (as with the setting turned on before); "Follow its focus" also turns on "Use alongside", which is the owner-approved single choice.

Rows and columns stay a switch here; making them always on follows in its own PR (lane split-grid-always).

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Nov 6, 2026 •

Copy link
Copy Markdown

Deploying ovis with  Cloudflare Pages  Cloudflare Pages

Latest commit: 01d3bb6
Status: ✅  Deploy successful!
Preview URL: https://579effee.ovis.pages.dev
Branch Preview URL: https://feat-settings-shortcuts-bare.ovis.pages.dev

View logs

@devswha

devswha commented Nov 6, 2026

Copy link
Copy Markdown
Owner Author

CodeRabbit did not review head 01d3bb6 (review limit reached). Standing in: omo reviewer CLEAR at 01d3bb6, Codex two passes (findings and fixes above). CI is green at this head; Integration tests failed once in server/opencode.contract.test.ts (16.6 s stream-close timeout, not touched here) and passed on the rerun.

@devswha

devswha commented Nov 6, 2026

Copy link
Copy Markdown
Owner Author

Merge note (merge pass) at head 01d3bb6:

  • Merged on GitHub's required checks, all green on this head (Fast checks, Integration and browser, Native Windows install).
  • omo review receipt: CLEAR at this exact head. Unresolved review threads: 0 (GraphQL). CodeRabbit: neutral; no CodeRabbit review ran on this head.
  • Terminal and Shortcuts settings pages (settings redesign). Codex rounds done.

…ts-bare

# Conflicts:
#	src/components/SettingsControls.tsx
#	src/components/SettingsDialog.tsx
#	src/lib/i18n/settings-composer.ko.ts
@devswha

devswha commented Nov 6, 2026

Copy link
Copy Markdown
Owner Author

Merge note (merge pass) at head ee75ffd:

  • Merged on GitHub's required checks, all green on this head. Unresolved review threads: 0 (GraphQL). CodeRabbit: rate-limited; no CodeRabbit review ran on this head.
  • This head merges main to resolve conflicts (SettingsRow keeps main's resetAlso with this PR's onReset; the Codex drag row stays where main moved it). A fresh omo review at this head: no HIGH. Its MEDIUM is filed as Terminal pictures default on herdr-core: add a no-stored-choice regression and check the first output #3184 (no regression test for pictures on by default on herdr-core; a picture in a pane's first output may be dropped).
  • LOWs, recorded here: the Settings pictures toggle and each pane decide the herdr-core default from different facts (shown machine vs the pane's socket); "Follow its focus" now also turns on releasing a pane after 1 s/10 s; pictures are decoded by default on herdr-core within the existing memory caps; on desktop the key-bar rows no longer appear in Settings search (they have no effect there).

@devswha
devswha merged commit cf97256 into main Nov 6, 2026
14 checks passed
@devswha
devswha deleted the feat/settings-shortcuts-bare branch November 6, 2026 12:24
devswha added a commit that referenced this pull request Nov 6, 2026
…path (#3171)

## What

The split view always takes rows and columns. Follows #3160 (merged);
origin/main is merged in.

- **Setting removed:** Settings → Terminal → More settings → "Split into
rows and columns" (`splitGrid`) is gone. A stored `splitGrid` (including
`false`) is dropped by `sanitizeSettings`, so every device gets rows and
columns (up to four slots, movable boundaries). Two panes still open as
two halves side by side (`data-side`, Close this half).
- **Halves-only path removed:** `asHalves` and the effect that folded a
grid back into two halves; the `grid` argument of `useSplitLayout`.
- **Dead drop guide removed:** `SplitDropPreview` draws only the grid
guide (slot outlines + one moving `.split-drop-zone` highlight,
`data-edge`). The two-halves track (`.split-drop-half` /
`.split-drop-target`, `data-side` on the guide) and its `dropAt` /
`dropAtRef` / `showDropTarget` plumbing in `useSplitState` / `App` are
gone. `dropSide` stays: `dropZone` uses it for a single pane's steady
midpoint.
- **Behaviour change for a device that had the switch off:** with two
halves open, a pane's "Open in the left/right half" (`dockSide`) now
opens a new slot beside the active one while there is room (up to four),
as rows and columns always did, instead of replacing that half. A full
area still replaces the slot covering that half.
- DESIGN.md and docs/guide.md updated. The unreleased fragment
`changelog.d/split-view-rows-and-columns.md` (#3072, shipped only in
betas) now describes the split without a switch and says the beta's
switch is gone; no second fragment.

## Regression steps rewritten to the grid guide (same intent)

`scripts/split-view-regression.ts` and `scripts/ui-regression.ts` read
the guide's `data-edge` instead of `data-side`:
- One pane: a drop on the right half reads `data-edge="right"` (same
hysteresis around the midpoint, same cancel paths: outside drop, blur,
Escape, text/file drags ignored, narrow window, reduced motion now
checked on `.split-drop-zone`).
- "Both drop guides stay mounted / one indicator moves" becomes "the
slot outline stays mounted / one `.split-drop-zone` moves and is not
replaced when the side changes".
- Two slots open: a drop at 20% / 80% of the area is that slot's middle
(`data-edge="middle"`, the pane takes its place), where the halves
offered a half; the outcomes asserted (which slot shows which pane,
active slot) are unchanged.
- The rows-and-columns block no longer turns the setting off; closing
the last other slot uses the two halves' Close this half.
`files-prompt-regression.ts` and `tab-overflow-regression.ts` only wait
for `.split-drop.is-visible` / use two halves' `data-side`, which still
hold; no change needed.

## Validation

At `f8c8ad55a` (origin/main d023c8a merged in):
- `bun run check fast`: all steps ok (unit 12745 pass, 0 fail).
- `scripts/ui-contexts-regression.ts` (runs split-view-regression and
tab-overflow-regression) in `herdr-ci-runner:local`
(`RUNNER_ENVIRONMENT=self-hosted`, `bun
scripts/ci-browser-parallel.ts`): passed.

At `5cd0b9e46` (the same split code on #3160's 7d7af1b), in the runner
image: **9/9 passed, no reruns** — `ui-regression`,
`ui-contexts-regression`, `files-prompt-regression`,
`render-crash-demo-regression`, `terminal-autoswitch-demo-regression`,
`sidebar-split-demo-regression`, `sidebar-split-access-demo-regression`,
`phone-split-grid-demo-regression`, `codex-drag-demo-regression`.

Screenshots (demo, light, 1280 and 390, a device that had stored
`splitGrid: false`): three slots open, the "Drop below" guide on a slot,
and Settings → Terminal → More settings without the switch.

Not run: `check full`, the integration suite, Windows/macOS jobs (no
server, shared or native change).

This adds no new control anywhere.
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).
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