Skip to content

feat(performance): allow any PID on the Performance screen - #222

Merged
tzebrowski merged 3 commits into
masterfrom
feat/performance-dynamic-pids
Oct 7, 2026
Merged

tzebrowski merged 3 commits into
masterfrom
feat/performance-dynamic-pids

Conversation

@tzebrowski

Copy link
Copy Markdown
Owner
  • PID dialog offers the full registry; profile PIDs and current selection stay listed unfiltered
  • Selected PIDs outside the profile lists are drawn in the grid after the profile's top PIDs, in dialog order
  • New "Gauge PIDs" setting (max 5); unset keeps the profile's bottom list, empty means no gauges
  • Grid shrinks text and adds columns above 15 items within the same 3-row height, "+N" past 24
  • TripInfoMetrics.grid() parameterised by base columns/rows and shared with Performance
  • Plain JUnit PerformanceMetricsTest; PerformanceQueryStrategyTest covers the gauge dialog selection
  • Spec: doc/specs/performance-dynamic-pids.md

 - PID dialog offers the full registry; profile PIDs and current selection stay listed unfiltered
- Selected PIDs outside the profile lists are drawn in the grid after the profile's top PIDs, in dialog order
- New "Gauge PIDs" setting (max 5); unset keeps the profile's bottom list, empty means no gauges
- Grid shrinks text and adds columns above 15 items within the same 3-row height, "+N" past 24
- TripInfoMetrics.grid() parameterised by base columns/rows and shared with Performance
- Plain JUnit PerformanceMetricsTest; PerformanceQueryStrategyTest covers the gauge dialog selection
- Spec: doc/specs/performance-dynamic-pids.md
Document in the spec and CLAUDE.md that the phone Performance screen follows
the AA gauge selection and order, and that gauges past MAX_GAUGES fall back
into the grid. Rename a test that asserts order, not layout.
…ix stats width

- Gauge dialog shows a toast when more than 5 gauges are checked
  (extras still fall back into the grid).
- Saving the Performance selection drops deselected PIDs from a stored
  gauge selection, so a reselected PID no longer comes back as a gauge.
- Performance passes its own column width to TripInfoDrawer.drawMetric;
  min/max stats were clamped to Trip Info's 6-column width.
- Move the gauge cap to PERFORMANCE_MAX_GAUGES in :datalogger.
@tzebrowski
tzebrowski merged commit e9b91a1 into master Oct 7, 2026
2 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