Files
Doghouse/CHANGES-0.1.1.md
2026-12-01 06:21:47 +11:00

4.0 KiB
Raw Permalink Blame History

Doghouse 0.1.1

Patch release on top of 0.1.0 (45cd711, tag v0.1.0). It contains one UI fix, QA-8, which was developed on fix/qa-8-composer-focus-bar (99ce00e) and fast-forwarded into main. Package: dist/doghouse-0.1.1.zip.

Upgrading from 0.1.0: there are no database changes, no new settings and no changes to docker-compose.yml, livekit.yaml or npm-advanced.conf. Follow "Upgrading 0.1.0 -> 0.1.1" in the README: back up ./data, keep your .env (and livekit.yaml if you edited it), replace the source files from the new zip, then run docker compose up -d --build from deploy/.

QA-8 (Low): thin dark bar above the message box

Seen: the reported screenshot /workspace/shots/doghouse-phone.png (script /workspace/shots/tests/shots.spec.ts, 375 px). A 2 px dark strip about 215 px wide sits just above the composer's focus ring, and a matching one sits just below it.

Root cause: the strip is not the typing row, the voice bar or the safe-area padding. The global keyboard-focus style in app.css is :focus-visible { outline …; box-shadow: 0 0 0 4px var(--bg-tertiary) }. The composer textarea suppresses its own outline (outline: none), because the ring is drawn on .composer:focus-within, but it never reset the box-shadow. A focused textarea always matches :focus-visible, so its 4 px halo stuck out above and below the composer. The 2 px outline covered half of it, and the other 2 px showed as a bar in --bg-tertiary: (30,31,34) dark, (227,229,232) light, (21,22,24) amoled. It only shows while the message box is focused. That's the normal state on a phone after sending, and why the screenshot caught it. It happened at every width, 1440 included, and the bar spanned the textarea's width (x 55–270 at 375 px).

Fix: .composer-input now also sets box-shadow: none, so the composer keeps its 2 px accent ring and nothing else. The other elements that set outline: none under the same global rule got the same reset: menu items, which show focus with an accent fill; the members, main and message scroller panes, which are focused by script. app.css now notes that suppressing the outline means suppressing the halo too. The typing row (.below / .typing) is unchanged.

Regression test: e2e/tests/composer-layout.spec.ts covers 1440 (desktop project) and 375 + 320 (phone project), in dark, light and amoled. In each case the composer is focused while another user is typing. The test asserts that:

  • the "… is typing" row is visible;
  • the textarea's box-shadow is none and the composer's ring is still drawn;
  • the 8 px strip just outside the ring is plain background, using a pixel check on a screenshot clip.

I confirmed it fails against the unfixed build: the box-shadow is rgb(30, 31, 34) 0px 0px 0px 4px, and 1424 px (1440) / 430 px (375) break the background.

Screenshots (/workspace/shots/repro/, 27 before + 27 after): {before,after}-{320,375,1440}-{dark,light,amoled}-{idle,focus,typing}.png. In all 18 focus and typing pairs, rows 740–741 (phone) / 828–829 (1440) change from the bg-tertiary bar to the plain chat background. The typing indicator shows in every typing shot.

Tests (10 Oct 2026, 03:36–03:47 AEDT):

  • REQUIRE_LIVEKIT=1 npm run check: passed. shared 22, server 187, web 205, 0 failed, "Skipped tests: 0", "Server coverage: statements 98.12%, branches 92.35%, functions 99.29%, lines 99.19%".
  • REQUIRE_LIVEKIT=1 npm run e2e: "12 passed (41.2s)", "4 skipped". The 4 skips are the existing two-user specs that run once in the desktop project (one run covers both sizes), not LiveKit skips. The voice spec passed.

Release gate for 0.1.1 (version bumped, run on main, 10 Oct 2026, 03:49–03:51 AEDT):

  • REQUIRE_LIVEKIT=1 npm run check: passed. "Skipped tests: 0", "Server coverage: statements 98.12%, branches 92.35%, functions 99.29%, lines 99.19%" (shared 22, server 187, web 205 passed, 0 failed).
  • REQUIRE_LIVEKIT=1 npm run e2e: "12 passed (41.1s)", "4 skipped" (the same desktop-only two-user specs as above).