Update dashboard UI and lane status views#280
Open
mjd948 wants to merge 4 commits into
Open
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
made a number of edits to the UI: