Skip to content

feat: Deliver production-ready analytics and admin experience#57

Merged
666mxvbee merged 39 commits into
mainfrom
development
Jun 4, 2026
Merged

feat: Deliver production-ready analytics and admin experience#57
666mxvbee merged 39 commits into
mainfrom
development

Conversation

@666mxvbee

@666mxvbee 666mxvbee commented Jun 4, 2026

Copy link
Copy Markdown
Member

Summary

This release consolidates the latest five pull requests from development and prepares the ParkTrack admin panel for production.

The update completes the analytics workspace, improves camera snapshot workflows, polishes the overview and administration pages, and fixes multiple responsive layout issues.

Analytics

  • Integrated the completed backend analytics contracts.
  • Added analytics dashboards for zones and cameras.
  • Added detailed zone, camera, and detection analytics pages.
  • Added occupancy history, forecast, model confidence, observation rate, update frequency, detector health, and forecast quality metrics.
  • Added interactive chart tooltips with timestamps and aggregated point details.
  • Combined actual and forecast occupancy into a single comparison chart.
  • Added period, granularity, forecast snapshot, and auto-refresh controls.
  • Made analytics controls sticky while scrolling.
  • Added clear handling for selecting zones and cameras.
  • Improved analytics map layout and camera navigation actions.
  • Added relative timestamps for freshness metrics.
  • Added scrolling and colored statuses to detector health tables.

Charts

  • Expanded charts to use the full available page width.
  • Added readable axis labels and prevented them from overflowing containers.
  • Improved chart point density and tooltip wrapping.
  • Simplified the zone occupancy chart by showing occupied places by default.
  • Fixed forecast snapshot filtering so it only affects forecast requests.
  • Improved empty and unavailable data states.

Camera Snapshots

  • Added cached camera snapshots that remain available until the page is refreshed.
  • Prevented repeated API requests when switching between previously loaded snapshots.
  • Added snapshot mode switching inside fullscreen preview.
  • Added manual refresh for the currently selected snapshot.
  • Protected the UI from stale asynchronous snapshot responses.

Overview And Administration

  • Prioritized attention zones on the overview page.
  • Removed internal API, database, permission, session, and version metadata from user-facing screens.
  • Simplified quick actions and removed technical placeholder descriptions.
  • Improved camera cards and prevented content from overflowing containers.
  • Improved camera map sizing, centering, and viewport behavior.
  • Polished user-facing labels across the admin panel.
  • Improved overall workspace sizing to reduce unnecessary page scrolling.

Backend Compatibility

  • Updated frontend analytics contracts to match the latest backend endpoints.
  • Removed obsolete analytics placeholder messages.
  • Added graceful loading, empty, and error states for analytics requests.
  • No database migrations are required for this frontend release.

Verification

  • Production build passes with npm run build
  • Analytics dashboard loads backend metrics
  • Zone and camera detail analytics pages work
  • Forecast and actual occupancy are displayed together
  • Period, granularity, forecast snapshot, and auto-refresh controls work
  • Charts remain within their containers
  • Detector health list supports all zones and scrolling
  • Camera snapshots are cached between mode switches
  • Fullscreen snapshot preview supports mode switching
  • Overview and admin pages are responsive
  • Internal technical metadata is hidden from end users

Smoke Test Checklist

  • Open the overview page and verify summary metrics and attention zones
  • Open analytics and change the period and granularity
  • Enable and disable auto-refresh
  • Select individual zones and cameras
  • Open zone and camera analytics detail pages
  • Verify actual and forecast occupancy charts
  • Check detector health statuses and scrolling
  • Switch between camera snapshot modes
  • Open snapshots in fullscreen mode
  • Verify camera map centering and responsive layouts

nawinds and others added 30 commits June 2, 2026 23:05
Complete admin analytics panel integration
## Changes

- Moved analytics map selection details above the map
- Expanded the Yandex map to use the full available width
- Removed API status, version, database status, permissions count, and the System block from Overview
- Removed internal ID, permissions count, creation date, and update date from Profile
- Removed Current context from Partners
- Removed unnecessary health and version requests from Overview
…rface before release.

## Changes

- Moved attention zones into the primary Dashboard row
- Removed the redundant session summary block
- Simplified quick actions and removed technical descriptions
- Improved Dashboard grid balance and responsive layout
- Replaced technical and English labels with clear Russian wording
- Localized statuses, partner roles, and access scopes
- Removed visible references to backend implementation details
- Improved labels across Analytics, Cameras, Zones, Sources, Users, and Partners
Analytics dashboard enhancements & UI fixes
@666mxvbee 666mxvbee merged commit 22fb95f into main Jun 4, 2026
4 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.

2 participants