Commit b48c006
fix(ops): P2 batch — tooltip rollout, Stages display, WCAG hit target, Telemetry filter (#367)
Four P2 items from the 2026-05-14 QA punch list, shipped as one
batch since they're all small UX/data corrections to existing
pages.
## P2-1 — Roll the fast CSS tooltip system out to remaining pages
The Specs page had fast 100ms tooltips via [data-tooltip] +
::after pseudo-element; other pages used native title= with
browser-controlled delays (Safari ~1.5s — feels broken). Convert
four sites that were still on title=:
- base.html running-badge (data-tooltip + data-tooltip-position=bottom)
- base.html env-value project-root chip (ditto)
- workflows.html scope-na n/a label
- runner.js Recent-strip chip scope hover
Added a new [data-tooltip-position="bottom"] CSS variant so
topbar elements render their tooltip below the element instead
of above (default position would clip off-screen).
Each conversion preserves aria-label for screen readers since
data-tooltip is visual-only. Native <option> title attributes
left as-is — CSS tooltips can't escape the native dropdown.
## P2-4 — "Stages 0" → em-dash with tooltip
Meta-orchestration workflows don't expose a stages array;
rendering them as "0" implies zero stages rather than
"unknown/not-applicable". Template now shows "—" with a
tooltip explaining the difference.
## P2-6 — WCAG 2.5.5 AA click target on Specs pills
.status-pill-editable::before pseudo-element overlays a 24x24px
click area around the visual pill. Pseudo-element sits behind
the visible content (z-index: -1) so it doesn't intercept hover
for the tooltip. Visual size unchanged — only the hit area grew.
## P2-8 — Filter test/stub workflows from Telemetry top-list
read_telemetry_summary now cross-references the canonical
list_workflows() registry; entries not in the registry
(historical test fixtures, removed workflows) drop from the
top-20 cost sort. Defensive fallback: if registry introspection
fails, show everything rather than hide all data.
Real-world impact: clears entries like "test-tier-fallback"
and "new-sample-workflow1" (visible in the rules sync logs)
from the Telemetry page's "top spenders" rollup.
Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>1 parent a490889 commit b48c006
5 files changed
Lines changed: 83 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
414 | 414 | | |
415 | 415 | | |
416 | 416 | | |
417 | | - | |
418 | | - | |
419 | | - | |
420 | | - | |
421 | | - | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
| 424 | + | |
| 425 | + | |
| 426 | + | |
| 427 | + | |
| 428 | + | |
| 429 | + | |
| 430 | + | |
| 431 | + | |
| 432 | + | |
| 433 | + | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
| 437 | + | |
| 438 | + | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
422 | 444 | | |
423 | 445 | | |
424 | 446 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
733 | 733 | | |
734 | 734 | | |
735 | 735 | | |
| 736 | + | |
| 737 | + | |
| 738 | + | |
| 739 | + | |
| 740 | + | |
| 741 | + | |
| 742 | + | |
| 743 | + | |
| 744 | + | |
| 745 | + | |
| 746 | + | |
| 747 | + | |
| 748 | + | |
| 749 | + | |
| 750 | + | |
| 751 | + | |
| 752 | + | |
736 | 753 | | |
737 | 754 | | |
738 | 755 | | |
| |||
799 | 816 | | |
800 | 817 | | |
801 | 818 | | |
| 819 | + | |
| 820 | + | |
| 821 | + | |
| 822 | + | |
| 823 | + | |
| 824 | + | |
| 825 | + | |
802 | 826 | | |
803 | 827 | | |
804 | 828 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
519 | 519 | | |
520 | 520 | | |
521 | 521 | | |
522 | | - | |
| 522 | + | |
| 523 | + | |
| 524 | + | |
| 525 | + | |
523 | 526 | | |
524 | 527 | | |
525 | 528 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
23 | 29 | | |
24 | 30 | | |
25 | 31 | | |
26 | 32 | | |
27 | 33 | | |
28 | 34 | | |
29 | 35 | | |
30 | | - | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
31 | 40 | | |
32 | 41 | | |
33 | 42 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
41 | 54 | | |
42 | 55 | | |
43 | 56 | | |
| |||
68 | 81 | | |
69 | 82 | | |
70 | 83 | | |
71 | | - | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
72 | 87 | | |
73 | 88 | | |
74 | 89 | | |
| |||
0 commit comments