step 5: complete first gauge catalogue

This commit is contained in:
2026-07-02 14:47:05 +02:00
parent d638c512e9
commit 1a476bc91d
11 changed files with 594 additions and 16 deletions

View File

@@ -2,7 +2,7 @@
## Current status
Step 4 completed and verified with automated checks. Step 4 commit is pending.
Step 5 completed and verified with automated checks. Step 5 commit is pending.
## Completed steps
@@ -28,7 +28,20 @@ Step 1 - Public API contract and pure core:
## Current step
Step 4 - Digital, bar, level, and status gauges.
Step 6 - High-rate updates, animation, and stress examples.
Step 5 - Analog, segmented, compass, thermometer, battery, and multi-value gauges:
Implemented during Step 5:
- Added analog and compass dial rendering with arcs, ticks, tick labels, needles, redline bands, and markers.
- Added compass heading wraparound for runtime values.
- Added segmented gauge rendering with active segment calculation.
- Added thermometer and battery-specific drawlist rendering.
- Added multi-value gauge rendering.
- Added Step 5 examples and tests for angle math, tick generation, compass wraparound, segment activation, battery clamp, and multi-value rendering.
Step 4 - Digital, bar, level, and status gauges:
Implemented during Step 4:
@@ -78,7 +91,7 @@ Implemented during Step 2:
## Known issues
Manual visual example checks for Steps 3 and 4 were not run in this headless session.
Manual visual example checks for Steps 3, 4, and 5 were not run in this headless session.
## Commands used
@@ -97,6 +110,14 @@ Manual visual example checks for Steps 3 and 4 were not run in this headless ses
- Ran `uv run ruff check .`.
- Ran `uv run ruff format --check .`.
- Ran `uv run pyright`.
- Committed Step 4 with `git commit -m "step 4: add digital bar level and status gauges"` before starting Step 5.
- Read `codex/FEATURES.md`, `codex/ARCHITECTURE.md`, `codex/STEPS.md`, and `codex/AGENTS.md` before Step 5 changes.
- Implemented Step 5 first catalogue rendering, compass wraparound, examples, README status update, and tests.
- Ran `uv run pytest`.
- Ran `uv run ruff check .`.
- Ran `uv run ruff format .`.
- Ran `uv run ruff format --check .`.
- Ran `uv run pyright`.
- Read `codex/FEATURES.md`, `codex/ARCHITECTURE.md`, `codex/STEPS.md`, and `codex/AGENTS.md` before Step 2 changes.
- Implemented Step 2 state, sizing, animation, smoothing, runtime API, diagnostics, tests, and README status update.
- Ran `uv run pytest`.
@@ -121,4 +142,4 @@ Manual visual example checks for Steps 3 and 4 were not run in this headless ses
## Next action
Commit Step 4, then implement Step 5.
Commit Step 5, then implement Step 6.