Skip to content

Ui Refinement Ux2

Chris Sutton edited this page Nov 29, 2026 · 1 revision

Published documentation mirror. Edit the source through a repository PR. See Project status.

UX2 — Tabbed Dashboard and visual analytics

Status: accepted and merged following 183/183 local gates, 597 configured CTests, five repeated sanitized navigation executions, nine hosted checks and maintainer visual review. Qualified revision 470ed6ce56b5fa6bc3550b7ee74e05b1a814860f. No new numbered issue.

Presentation

  • Overview is the default Dashboard tab. Health, Telemetry and Workspace are mutually exclusive tabs, not scroll anchors. Assets and Settings retain UX1 section shortcuts. Each Dashboard tab starts at the top of its content.
  • Health and Telemetry tabs respect existing workspace visibility preferences. Workspace remains reachable to change/reset/save those preferences. Panel width ratio and chart visibility still apply to Overview. No new persisted state is introduced; opening Dashboard starts on Overview.
  • Overview prioritizes explicit refresh and four responsive KPI tiles: returned event count, failed outcomes, returned alert count in the selected lifecycle distribution, and unknown monitoring coverage. A compact header shows current manager health separately from coverage. The alert KPI is not a global active-alert total; the existing active-alert summary remains separate.
  • Outcome and severity rings represent the exact bounded category composition. Center labels show the selected distribution total; fixed 0–8 count bars, text and swatches remain alongside or below the ring depending on width. Unavailable data has no ring; a valid zero total uses a neutral empty ring. The existing four receiver-age bins remain a histogram, not a continuous time series. No animation is applied to the data or urgency colors.
  • The existing coverage band and filtered high/critical indicator remain visible across Dashboard tabs. Existing health/telemetry detail, evidence routes, analyst inspectors, storage preview and Settings remain accessible.

Security and performance boundaries

Tab changes are local UI changes only. They neither fetch evidence nor reset or extend its existing expiry. Leaving Dashboard still clears its snapshot. The existing explicit authorized request, eight-record page limits, 30-second expiry, filter semantics, privacy, manager authority, and reduced-motion behavior remain unchanged. No new operational metrics, fabricated threat activity, automatic refresh, dependencies or manager IPC are introduced. A native Qt Quick painted item draws a fixed number of arcs from bounded counts; no timer-driven repaint or network resource is introduced. Existing security models and native security code are unchanged.

Qualification

All existing gates remain required: 597 configured CTests, 81 source verifiers, 183 local gates with graphical review (182 without), strict QML analysis, existing repeated GUI/performance/storage qualification and nine hosted checks. The visual and Dashboard runtime tests require exclusive tab visibility and exact ring totals, snapshot preservation while switching tabs, and unavailable state under denied access. The fixture retains exact authorization counts and read-only evidence invariance. Existing workspace and telemetry tests exercise the appropriate visible tabs. No timing threshold is relaxed.

Manual review: 1920 × 1080 windowed Overview should prioritize refresh, KPIs, summary and charts. Verify synthetic distribution totals and color legend, local filters, Health and Telemetry tabs, Workspace presets, hidden-tab preferences and restore, tab keyboard navigation, light/dark appearance, 125/150% text scaling and compact layout. Inspect expiry and return to Overview. The current fixture is medium-only; it does not qualify positive red attention. Target Qt compilation, actual rendering, accessibility and performance remain required. An always-on wallboard and live operational alert delivery remain future work; an expired snapshot must not imply safety.

Corrective follow-up — rendered startup qualification

Initial Ubuntu 26.04 Analysis compilation passed without unexpected compiler diagnostics; 91 of 93 CTests passed. The existing GUI telemetry and health integrations exited at startup before their expected markers (approximately 0.33 and 0.34 seconds). The new startup tab selection was performed immediately after QML loading, before the other successful tab tests' event-loop settling. The correction waits in a bounded test-only event loop for the actual default Overview to become visible, activates the requested tab once, and verifies exclusive visible content. The Health test also selects Health on the fresh Dashboard after reconnecting. The original health, registry, scope and telemetry assertions and deadlines remain required. Fixed startup failure stages may be reported by the fixture harnesses without dumping private data. Both harnesses require new successful rendered tab markers; the local runner requires those markers in its existing focused Release desktop gate. Full corrected target qualification is pending. No production QML or model changes, new test registrations, or relaxed performance budgets are included.

Second corrective follow-up — chart rendering lifecycle

The first follow-up passed both Health and Telemetry integrations, strict QML analysis, and 596 of 597 configured CTests. The sanitizer navigation process reported 75,478 leaked bytes in 34 allocations, including a 61,504-byte Qt image buffer matching the original 124 by 124 RGBA Canvas surface. The full run ended with 166 successful gates, one failure and six skipped gates. The allocation stacks implicate the chart Canvas path; exact framework ownership and leak elimination require target-runtime confirmation.

Replace the JavaScript Canvas context with a native QQuickPaintedItem using QPainter, created by a Loader only for available, visible ring charts. Preserve three/six categories, exact counts, colors, totals, fixed bars and accessible labels. Validate the category count, each count, and the eight-record total before drawing; valid empty distributions show the neutral ring. The native renderer has no evidence access, timers, or manual heap allocation. The existing sanitizer-covered navigation test checks mixed, single-category, empty and invalid native raster results, then renders a populated scene item and destroys it during each of the four original navigation passes. No synthetic values are added to production models. Existing LSan suppressions and negative control remain unchanged; no new suppression or sanitizer exemption is added. The local runner qualifies the sanitizer lane before Release and requires five additional successful navigation executions with the new native-ring marker. The expected gate count increases by one; CTest registration counts are unchanged. Actual Qt rendering, leak elimination, performance and visual review are pending.

Clone this wiki locally