fix(gui): the status card's live word at its right edge, the event on hover, and no line ever wraps
The heading row is badge and name (elided) at the left, the live dot and word at the right edge; the event is the heading's hover and the live word's accessible label, not a printed row. The check lines are as before, with no event. Every text elides to one line; a test lays the card out in every state with a very long name and event 1,234,567. The heading is its badge's height and the card's vertical padding 8, so the sidebar still fits at 1479x519. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
d8ff776a52
commit
6f916f8bbd
6 files changed
+399
-277
No files matched your search
+11
-8
@@ -131,14 +131,17 @@ where the assistant's connection state is drawn later), and the Overview
|
||||
opens with its summary sentence, not a heading with the name. The company
|
||||
is named once more, at the opposite corner: the status card at the foot of
|
||||
the sidebar begins with a heading row: the badge (small) and the name, cut
|
||||
with an ellipsis and whole on hover, and at the right the live dot and
|
||||
"Live" (or "Snapshot"). The journal chain line, the card's last, ends with
|
||||
"· event N"; there is no row of its own for the state. Folded (a short
|
||||
window) the card is the heading alone, "● Live · event N" (and the seal
|
||||
when the name keeps room), or, when a check failed, the heading over one
|
||||
line naming it. The rail shows the badge with the live dot on its corner
|
||||
(a warning there when a check failed), the name, state, event and checks on
|
||||
hover. Each company has one badge
|
||||
with an ellipsis, and at the card's right edge the live dot and "Live" (or
|
||||
"Snapshot"); the name elides before the live word is ever clipped. The
|
||||
heading's hover reads, a fact a line: the company's full name, "Live ·
|
||||
event N", then the checks; the live word's accessible label is "Live ·
|
||||
event N". The event is printed nowhere else in the card, and no text in it
|
||||
wraps: every line is one row and elides (`the_status_card_never_wraps_in_any_state`).
|
||||
The journal chain line is just "Journal chain verified". Folded (a short
|
||||
window) the card is the heading alone, or, when a check failed, the heading
|
||||
over one line naming it. The rail shows the badge with the live dot on its
|
||||
corner (a warning there when a check failed), the name, state, event and
|
||||
checks on hover. Each company has one badge
|
||||
hue of eight (`theme::BADGE_HUES`, light and dark), chosen by a stable
|
||||
hash of the id of its books (`theme::hue_index`, FNV-1a modulo eight: a
|
||||
function of the id alone, so a company keeps its colour on every machine
|
||||
|
||||
Reference in new issue
Block a user