Skip to content

feat(ui): Harbor Navy palette with vermilion errors - #168

Merged
mbel-tech merged 5 commits into
mainfrom
fatina-del-codice/track2data-ui-design-797b47
Oct 12, 2026
Merged

mbel-tech merged 5 commits into
mainfrom
fatina-del-codice/track2data-ui-design-797b47

Conversation

@mbel-tech

Copy link
Copy Markdown
Owner

What and why

Applies the "Harbor Navy" design handoff (v2) to the UI. The app already had the earlier Teal Field version of this design, so this is a token swap rather than a layout change: navy sidebar and menu bar, #005792 primary (#00bbf0 in dark), amber accent #fdb44b, vermilion #f03500 for errors.

  • Both QSS files remapped token by token (the shipped QSS has ~100 repo-specific rules the handoff's starter QSS lacks, so it was not replaced wholesale); added the errtag label style.
  • app/theme.py palettes, sidebar active-number colour (app/navigation.py), traffic-light dots (ui/widgets/dots.py).
  • Hard-coded warn/confidence colours in the confirm-format and metric-info dialogs now use role=warn / the dot palette.
  • Guide screenshots retaken and PDF rebuilt. scripts/generate_guide_screenshots.py now points offscreen Qt at the Windows font folder, so ✓ ◐ ▴ ⟶ no longer render as boxes.

Not changed: animal/zone colours and fusion-line colours (the design keeps them fixed). The ERR tag style exists but nothing renders it yet; the Sessions error banner is a layout change left out of scope.

Test plan

  • pytest tests/test_ui tests/test_native3d/test_project_rules_ui.py — 931 passed
  • pytest tests/test_docs — 39 passed
  • ruff check scripts — clean
  • Light and dark screenshots of Project, Calibration, Metrics, Processing checked by eye; the other guide screenshots were not all inspected.

Checklist

  • Tests added or updated (written before the fix) — visual change only, no new tests
  • ruff check . passes (run on scripts only)
  • Docs updated if behaviour changed (docs/dev/UI_DESIGN.md palette note)
  • CHANGELOG.md entry under [Unreleased] — not added
  • Guide screenshots regenerated if a screen changed

🤖 Generated with Claude Code

mbel-tech and others added 5 commits October 11, 2026 22:32
Token swap in both QSS files, theme palettes, sidebar number colour,
traffic-light dots; inline warn colours now use the role=warn property.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…palette

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Offscreen Qt on Windows had no fallback font, so check marks, arrows and the
theme icon rendered as boxes. Retaken screenshots and rebuilt PDF.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…ck2data-ui-design-797b47

# Conflicts:
#	docs/guide/Track2Data_User_Guide.pdf
#	docs/guide/images/02-sessions-confirm.png
#	docs/guide/images/07-metrics.png
#	docs/guide/images/10-export-code.png
#	docs/guide/images/10-export.png
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@mbel-tech
mbel-tech merged commit fd28ab2 into main Oct 12, 2026
7 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.

1 participant