Skip to content

fix(pi-board): use theme success token for the live indicator (dark-mode) - #4

Merged
nicpozent merged 1 commit into
mainfrom
claude/code-examination-qx719b
Jul 12, 2026
Merged

nicpozent merged 1 commit into
mainfrom
claude/code-examination-qx719b

Conversation

@nicpozent

Copy link
Copy Markdown
Owner

Small consistency fix from the latest gap review.

Fix — hardcoded color on the board's "Live" dot

The Program Board's connection indicator used a raw #16A34A / rgba(22,163,74,…) green. That violates the "no invented colors" guardrail and doesn't adapt in dark mode (ADR-0056). Swapped for color.success + color.successTint, which carry proper light/dark variants.

Dropped after verification — i18n

I proposed localizing the new UI strings, but on inspection none of the 25 feature screens use the t()/useI18n API — localization is applied only in the shell today. Wrapping just the board would be inconsistent with every neighbouring screen, so this is out of scope; app-wide i18n adoption is a separate, broader effort.

Verification

Frontend build + eslint + 72 tests pass locally.

Remaining known gaps (need an SDK-equipped env; not in this PR)

  • PiObjective.IterationId migration — also the proper fix for the placement concurrent-write race (per-row writes are naturally safe vs. the current single-JSON-blob read-modify-write).
  • Runtime end-to-end verification — no one has yet run the app + backend + browser to watch the board/cursors/Teams card live.

🤖 Generated with Claude Code

https://claude.ai/code/session_01F1g44VLAeYdf3FAoXsXRu7


Generated by Claude Code

…ode)

The Program Board's "Live" dot used a hardcoded #16A34A / rgba green, which
violates the "no invented colors" guardrail and didn't adapt in dark mode
(ADR-0056). Swap it for color.success + color.successTint, which carry proper
light/dark variants.

Note: an i18n pass on the new strings was considered and dropped — none of the
25 feature screens use the t()/useI18n API (localization is applied only in the
shell today), so wrapping just the board would be inconsistent with every
neighbouring screen. App-wide i18n adoption is a separate, broader effort.

Frontend build, lint and the 72-test suite pass.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01F1g44VLAeYdf3FAoXsXRu7
@nicpozent
nicpozent merged commit 40733b6 into main Jul 12, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants