fix(webapp): a saved name's receipt no longer squeezes the name to a letter a line (#1257) #1335

Merged
claude-bot merged 1 commit from fix/1257-names-row-squeeze into main 2026-11-04 23:28:57 +00:00
Collaborator

The owner found this on dev with 4.7.0-rc2 (screenshot on the session).

  • The fault: in Prep → Names, after Save to the wiki, the row's actions column sized itself to "In the wiki as The Amberlands Insurance Society". The name column (minmax(0, 1fr), with overflow-wrap: anywhere) was squeezed until the name stood up one letter per line.
  • The fix, CSS only (PrepSheet.css):
    • the row is minmax(45%, 1fr) minmax(0, max-content), so the name keeps at least 45%;
    • the actions get min-width: 0 and wrap in their own column;
    • the name breaks between words (overflow-wrap: break-word).

Checked

  • In a browser at the drawer's width, old rule against new, with the real rules and the owner's names:
    • old: names beside a long receipt were 191 px and 86 px wide, the second over six lines;
    • new: every name is at least 275 px, and "The Amberlands Insurance Society" sits on one line, with the receipt wrapping beside it.
  • The drawer tests: 36 passed.
  • A changelog fragment was added.

🤖 Generated with Claude Code

The owner found this on dev with 4.7.0-rc2 (screenshot on the session). - **The fault:** in Prep → Names, after Save to the wiki, the row's actions column sized itself to "In the wiki as The Amberlands Insurance Society". The name column (`minmax(0, 1fr)`, with `overflow-wrap: anywhere`) was squeezed until the name stood up one letter per line. - **The fix,** CSS only (`PrepSheet.css`): - the row is `minmax(45%, 1fr) minmax(0, max-content)`, so the name keeps at least 45%; - the actions get `min-width: 0` and wrap in their own column; - the name breaks between words (`overflow-wrap: break-word`). **Checked** - **In a browser at the drawer's width,** old rule against new, with the real rules and the owner's names: - old: names beside a long receipt were 191 px and 86 px wide, the second over six lines; - new: every name is at least 275 px, and "The Amberlands Insurance Society" sits on one line, with the receipt wrapping beside it. - **The drawer tests:** 36 passed. - A changelog fragment was added. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
fix(webapp): a saved name's receipt no longer squeezes the name to a letter a line (#1257)
All checks were successful
CI / Backend lint (ruff) (pull_request) Successful in 34s
CI / Feedback site tests (pull_request) Successful in 50s
CI / Bot/backend version sync (pull_request) Successful in 26s
CI / Does this change touch the recording path? (pull_request) Successful in 18s
CI / Synthetic session harness (no GPU, no LLM) (pull_request) Has been skipped
CI / Which journeys does this change need? (pull_request) Successful in 19s
CI / Bot tests and audit (pull_request) Successful in 2m3s
CI / Summarisation accuracy eval harness (stub provider) (pull_request) Successful in 2m10s
CI / Docker image build (pull_request) Successful in 2m31s
CI / Frontend (shard 1/2) (pull_request) Successful in 9m6s
CI / Frontend (shard 2/2) (pull_request) Successful in 15m29s
CI / End-to-end journeys (desktop) (pull_request) Successful in 11m41s
CI / Backend migration, tests, and audit (pull_request) Successful in 36m50s
3e5033016e
The owner saw it on dev with 4.7.0-rc2: after Save to the wiki, "In the
wiki as The Amberlands Insurance Society" sized the actions column and
the name, allowed to break anywhere, stood up one letter per line. The
name now keeps at least 45% of the row and breaks only between words;
the actions wrap in their own column.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
rbrooks referenced this pull request from a commit 2026-11-04 23:29:16 +00:00
Sign in to join this conversation.
No description provided.