Cato and Claude Opus 5
0dfdbd059f
feat(projects): the row can hold controls, so health becomes a real one ( #832 )
...
The row WAS a single <Link> wrapping everything, with aria-label="Open {name}".
HTML forbids interactive content inside an anchor, so the row had ZERO
interactive children BY CONSTRUCTION — which is the actual reason every number
on it led to the same generic destination, and the reason the health chip could
only ever be a dead <span> explained by a hover `title`: invisible on touch, a
bare "7/10" to a screen reader.
THE CAPABILITY WAS NEVER MISSING. HealthScoreBar has always had an
`interactive` mode — a real button, aria-expanded, a panel naming each missing
point with an inline edit that writes it, and a draft-from-the-brief action.
The list could not use one line of it. Ten named checks, each with its rule and
the exact field that earns it, sat behind a structural prohibition.
Stretched link instead: the project NAME is the anchor and its ::after covers
the row, so the whole row remains one click target while the row itself is no
longer an <a>. Two things improve at once — a screen reader now announces a
link whose text is the project's name rather than an aria-label bolted to a
wrapper, and anything needing its own click sits above the overlay via
.ui-projects-row-actions.
Both classes live in globals.css, per the rule that styling has one home; the
test asserts they are DEFINED there, because a class the CSS does not define
would leave the row unclickable everywhere except the name — a silent, large
usability regression that nothing else would catch.
Caught by the repo's own lint while writing this: `brief` must be the CLEANED
description, never the raw column, or the gap-fill would draft a mission from
the bulk-import placeholder ("Local repository imported from loki-ui"). Good
rule; it fired exactly where it should.
Guarded by scripts/test/project-row-can-hold-controls.ts (6 checks). This is a
STRUCTURAL invariant, not a style preference: collapsing the row back to a
wrapping anchor would silently re-delete every control inside it — the page
would still render, nothing would fail to compile, and the disclosure would
just quietly stop existing again. Mutation-tested: dropping `interactive` fails
the payoff check.
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com >
2026-09-22 02:53:50 -07:00
..
2026-08-16 09:41:51 +00:00
2026-09-05 17:04:53 +00:00
2026-08-31 09:23:30 +00:00
2026-09-17 04:01:06 -07:00
2026-08-31 09:23:30 +00:00
2026-09-13 16:13:10 -07:00
2026-09-20 10:56:53 -07:00
2026-08-31 09:23:30 +00:00
2026-09-05 10:49:10 +00:00
2026-08-13 17:37:04 +02:00
2026-09-13 16:13:10 -07:00
2026-09-13 16:13:10 -07:00
2026-09-13 16:13:10 -07:00
2026-08-31 09:23:30 +00:00
2026-09-17 02:55:52 -07:00
2026-09-14 22:40:09 -07:00
2026-09-14 20:57:30 -07:00
2026-09-02 08:47:20 +00:00
2026-09-17 10:27:26 -07:00
2026-08-26 21:31:22 +00:00
2026-08-14 14:47:36 +00:00
2026-09-15 05:14:18 -07:00
2026-08-31 09:23:30 +00:00
2026-09-20 14:09:32 -07:00
2026-07-01 04:20:42 +02:00
2026-09-13 16:13:10 -07:00
2026-09-13 16:13:10 -07:00
2026-08-31 09:23:30 +00:00
2026-09-13 16:13:10 -07:00
2026-08-04 15:40:26 +02:00
2026-09-20 10:07:21 -07:00
2026-09-13 16:13:10 -07:00
2026-08-03 09:56:37 +02:00
2026-08-31 09:23:30 +00:00
2026-09-13 16:13:10 -07:00
2026-09-13 16:13:10 -07:00
2026-08-31 09:23:30 +00:00
2026-08-31 09:23:30 +00:00
2026-09-17 11:03:18 -07:00
2026-09-21 15:21:40 -07:00
2026-08-31 09:23:30 +00:00
2026-09-11 12:58:34 -07:00
2026-09-10 13:14:10 -07:00
2026-09-10 16:57:14 -07:00
2026-08-31 09:23:30 +00:00
2026-09-20 10:13:56 -07:00
2026-09-20 05:37:59 -07:00
2026-09-17 08:44:50 -07:00
2026-09-18 05:13:49 -07:00
2026-09-16 23:38:48 -07:00
2026-09-13 16:13:10 -07:00
2026-08-27 19:18:54 +00:00
2026-08-31 09:23:30 +00:00
2026-09-18 09:38:00 -07:00
2026-08-31 09:23:30 +00:00
2026-09-13 16:13:10 -07:00
2026-09-14 23:18:42 -07:00
2026-09-13 16:13:10 -07:00
2026-09-13 16:13:10 -07:00
2026-09-13 16:13:10 -07:00
2026-09-13 16:13:10 -07:00
2026-08-31 09:23:30 +00:00
2026-09-11 02:41:20 -07:00
2026-09-04 13:50:19 +00:00
2026-09-13 16:13:10 -07:00
2026-09-13 16:13:10 -07:00
2026-08-31 09:23:30 +00:00
2026-08-31 09:23:30 +00:00
2026-09-13 16:13:10 -07:00
2026-09-18 01:31:30 -07:00
2026-09-18 09:44:36 -07:00
2026-08-24 15:43:36 +00:00
2026-08-31 09:23:30 +00:00
2026-09-02 09:27:19 -07:00
2026-09-13 16:13:10 -07:00
2026-08-31 09:23:30 +00:00
2026-08-02 14:23:18 +02:00
2026-09-18 06:47:45 -07:00
2026-08-31 09:23:30 +00:00
2026-08-31 09:23:30 +00:00
2026-09-21 04:06:18 -07:00
2026-08-31 09:23:30 +00:00
2026-09-12 10:39:22 -07:00
2026-09-04 00:11:06 +00:00
2026-09-13 16:13:10 -07:00
2026-09-11 02:41:20 -07:00
2026-08-31 09:23:30 +00:00
2026-09-18 04:04:56 -07:00
2026-09-16 22:21:59 -07:00
2026-09-12 03:00:37 -07:00
2026-09-20 10:41:20 -07:00
2026-09-20 09:54:50 -07:00
2026-09-18 09:34:52 -07:00
2026-09-18 06:45:03 -07:00
2026-09-13 16:13:10 -07:00
2026-09-18 09:28:02 -07:00
2026-09-16 12:33:22 -07:00
2026-09-13 16:13:10 -07:00
2026-09-15 01:57:54 -07:00
2026-09-13 18:49:24 -07:00
2026-09-20 08:43:34 -07:00
2026-09-13 16:13:10 -07:00
2026-09-17 02:16:05 -07:00
2026-09-11 00:23:03 -07:00
2026-08-31 09:23:30 +00:00
2026-09-11 06:43:21 -07:00
2026-09-20 09:37:42 -07:00
2026-08-31 09:23:30 +00:00
2026-09-16 12:59:51 -07:00
2026-08-03 08:28:45 +02:00
2026-08-31 09:23:30 +00:00
2026-08-31 09:23:30 +00:00
2026-09-02 08:47:20 +00:00
2026-09-14 22:43:29 -07:00
2026-09-13 16:13:10 -07:00
2026-09-13 16:13:10 -07:00
2026-09-20 09:51:47 -07:00
2026-09-13 16:13:10 -07:00
2026-09-20 09:48:52 -07:00
2026-08-31 09:23:30 +00:00
2026-09-20 06:30:17 -07:00
2026-09-15 08:41:15 -07:00
2026-09-12 02:28:36 -07:00
2026-09-17 08:32:35 -07:00
2026-09-13 18:58:54 -07:00
2026-09-13 16:13:10 -07:00
2026-09-15 12:17:25 -07:00
2026-09-13 06:39:39 -07:00
2026-09-12 02:28:36 -07:00
2026-09-13 16:13:10 -07:00
2026-09-13 18:49:24 -07:00
2026-09-15 08:41:15 -07:00
2026-07-01 02:52:21 +02:00
2026-08-31 09:23:30 +00:00
2026-09-20 08:40:34 -07:00
2026-09-13 16:13:10 -07:00
2026-09-22 02:17:59 -07:00
2026-08-31 09:23:30 +00:00
2026-09-15 05:14:18 -07:00
2026-09-20 05:37:59 -07:00
2026-09-20 05:37:59 -07:00
2026-09-17 06:35:17 -07:00
2026-09-20 12:06:05 -07:00
2026-09-05 17:04:53 +00:00
2026-09-13 16:13:10 -07:00
2026-09-17 08:32:35 -07:00
2026-08-31 09:23:30 +00:00
2026-09-13 16:13:10 -07:00
2026-08-31 09:23:30 +00:00
2026-08-31 09:23:30 +00:00
2026-09-21 23:21:32 -07:00
2026-09-22 00:17:21 -07:00
2026-09-20 08:18:29 -07:00
2026-09-13 16:13:10 -07:00
2026-09-20 07:57:48 -07:00
2026-09-13 16:13:10 -07:00
2026-09-13 16:13:10 -07:00
2026-09-13 16:13:10 -07:00
2026-09-13 16:13:10 -07:00
2026-09-13 16:13:10 -07:00
2026-08-31 09:23:30 +00:00
2026-08-31 09:23:30 +00:00
2026-08-31 09:23:30 +00:00
2026-09-17 08:44:50 -07:00
2026-09-15 02:37:31 -07:00
2026-09-13 16:13:10 -07:00
2026-09-14 04:38:53 -07:00
2026-09-13 16:13:10 -07:00
2026-09-20 05:37:59 -07:00
2026-08-31 09:23:30 +00:00
2026-09-13 16:13:10 -07:00
2026-09-13 16:13:10 -07:00
2026-09-21 04:09:15 -07:00
2026-09-14 04:20:31 -07:00
2026-09-18 10:01:49 -07:00
2026-09-15 08:41:15 -07:00
2026-09-15 08:41:15 -07:00
2026-09-15 08:41:15 -07:00
2026-09-13 16:13:10 -07:00
2026-09-20 07:57:48 -07:00
2026-09-15 08:41:15 -07:00
2026-09-15 12:17:25 -07:00
2026-09-22 02:53:50 -07:00
2026-08-31 09:23:30 +00:00
2026-08-31 09:23:30 +00:00
2026-09-03 12:44:39 +00:00
2026-09-11 00:16:48 -07:00
2026-09-22 01:30:15 -07:00
2026-09-20 09:57:22 -07:00
2026-08-31 09:23:30 +00:00
2026-09-13 16:13:10 -07:00
2026-08-31 09:23:30 +00:00
2026-09-18 09:31:50 -07:00
2026-09-20 06:30:17 -07:00
2026-09-13 16:13:10 -07:00
2026-09-17 08:51:54 -07:00
2026-09-20 15:08:45 -07:00
2026-09-04 11:16:58 +00:00
2026-09-17 07:51:39 -07:00
2026-08-31 09:23:30 +00:00
2026-08-31 09:23:30 +00:00
2026-09-15 05:14:18 -07:00
2026-09-20 13:13:57 -07:00
2026-09-11 08:19:45 -07:00
2026-09-15 01:08:10 -07:00
2026-09-13 16:13:10 -07:00
2026-09-13 16:13:10 -07:00
2026-09-20 14:09:32 -07:00
2026-08-31 09:23:30 +00:00
2026-09-17 08:32:35 -07:00
2026-09-12 10:53:41 -07:00
2026-08-31 09:23:30 +00:00
2026-08-31 09:23:30 +00:00
2026-09-16 11:54:30 -07:00
2026-09-13 16:13:10 -07:00
2026-09-16 12:49:21 -07:00
2026-09-13 16:13:10 -07:00
2026-09-20 11:52:27 -07:00
2026-09-13 16:13:10 -07:00
2026-09-15 01:08:42 -07:00
2026-09-15 08:41:15 -07:00
2026-09-21 15:50:45 -07:00
2026-08-31 09:23:30 +00:00
2026-09-17 02:16:05 -07:00
2026-09-17 02:16:05 -07:00
2026-09-05 17:04:53 +00:00
2026-09-17 04:01:06 -07:00
2026-09-10 12:51:11 -07:00
2026-08-31 09:23:30 +00:00
2026-09-15 12:17:25 -07:00
2026-09-13 16:13:10 -07:00
2026-08-31 09:23:30 +00:00
2026-09-14 22:48:39 -07:00
2026-09-18 09:24:21 -07:00
2026-09-13 16:13:10 -07:00
2026-09-17 00:59:08 -07:00
2026-09-13 16:13:10 -07:00
2026-09-15 05:14:18 -07:00
2026-09-13 16:13:10 -07:00
2026-08-31 09:23:30 +00:00
2026-09-18 06:40:36 -07:00
2026-09-20 05:37:59 -07:00
2026-08-31 09:23:30 +00:00
2026-09-21 04:02:57 -07:00
2026-08-31 09:23:30 +00:00
2026-09-05 17:04:53 +00:00
2026-08-31 09:23:30 +00:00
2026-09-13 16:13:10 -07:00
2026-09-21 04:06:18 -07:00
2026-09-03 10:25:24 +00:00
2026-09-13 16:13:10 -07:00
2026-09-17 08:44:50 -07:00
2026-09-17 08:44:50 -07:00
2026-09-15 14:43:01 -07:00
2026-09-18 10:05:06 -07:00
2026-09-03 17:20:06 -07:00
2026-08-31 09:23:30 +00:00
2026-09-13 16:13:10 -07:00