Skip to content

Update dashboard UI and lane status views#280

Open
mjd948 wants to merge 4 commits into
Botts-Innovative-Research:mainfrom
mjd948:updated-dashboard-ui
Open

Update dashboard UI and lane status views#280
mjd948 wants to merge 4 commits into
Botts-Innovative-Research:mainfrom
mjd948:updated-dashboard-ui

Conversation

@mjd948

@mjd948 mjd948 commented May 8, 2026

Copy link
Copy Markdown

made a number of edits to the UI:

  • Added more active lane status indicators that pulse when messages are received
  • Lane status box size should now dynamically expand to the number of lanes to reduce empty space
  • Added latching alarm sound/indication and acknowledgement popup.
  • Dashboard map will autozoom to include all sensor locations
  • Laneview page graphs switched to scrolling bar charts
  • Event Details page layout updated

root and others added 4 commits May 8, 2026 20:59
National View now expands each node row into a nested per-lane table
showing occupancies, gamma/neutron/total alarm %, % adjudicated, and
average time to adjudicate. The data comes from the new byLane field
on the siteStatistics observation (backend changes live in
osh-oakridge-modules feature/per-lane-statistics).

- types/new-types.d.ts: ILaneStat interface and lanes field on
  INationalTableData.
- src/app/national-view/page.tsx: parseLanes helper forwards
  result.<bucket>.byLane into each row in initial load, refresh, and
  custom-range branches.
- src/app/_components/national/NationalStatsTable.tsx: rewritten from
  MUI DataGrid to a Table + Collapse collapsible-row pattern (free
  DataGrid lacks getDetailPanelContent).
- src/app/_components/national/LaneStatsTable.tsx: new nested table
  rendering per-lane counts, ratios, and m:ss-formatted avg
  adjudication time. Maps backend laneId UID to laneName via the
  existing selectLaneMap selector.

Also incorporates pending null-safety guards and chart-tick handling
work in:
- AdjudicationLog.tsx, WebIdAnalysis.tsx (lane-entry not-ready guards)
- ChartLane.tsx (200ms tick, stale-feed detection, value carry-forward)

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Replace the alarm-table filter button on the main dashboard with a
custom popover that filters by alarm type (including non-alarms),
adjudication category group, and secondary inspection status. Add
matching Adjudication Status and Secondary Inspection columns to the
table, populated from the latest adjudication record fetched via the
adjudication control stream.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Wire every previously-hardcoded label, button, dialog title, and form
field through the existing t() helper so switching language in the
navbar updates the entire UI, not just the navbar. Adds 79 new keys to
the en/es/fr locale files (with es/fr filling in three that were
previously missing) and a fourth locale (tk) for Turkmen, plus a
README noting the AI-translated strings need a human review pass.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
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