SwapStation_WebApp/backend
Kirubakaran 7f0a93a80d feat(app): implement comprehensive analytics and reporting features
Analytics Page:
- Implemented a new, dynamic analytics page with date filtering.
- Added KPI summary tiles for total, completed, and aborted swaps, average swap time, and station uptime.
- Included three interactive charts: Swap Activity Over Time, Hourly Swap Distribution, and Swap Abort Reasons.
- Added a Slot Utilization Heatmap for at-a-glance diagnostics.
- Styled charts for the dark theme and fixed axis scaling issues.

Station Selection Page:
- Enhanced the station selection page to display live daily swap statistics on each station card.

Backend API:
- Created a new '/api/analytics' endpoint to serve all KPI and chart data.
- Created a new '/api/stations/daily-stats' endpoint.

Fixes & Refactoring:
- Centralized all common header logic into common-header.js to resolve script conflicts.
- Improved dashboard WebSocket handler to correctly process partial data payloads.
2025-09-15 03:56:47 +05:30
..
__pycache__ feat(app): Implement station removal and refactor to common header 2025-09-14 05:34:57 +05:30
core feat(app): Implement station removal and refactor to common header 2025-09-14 05:34:57 +05:30
proto feat(backend): implemented the backend of station dashboard web app 2025-08-24 22:09:18 +05:30
.env feat(backend): implemented the backend of station dashboard web app 2025-08-24 22:09:18 +05:30
Dockerfile feat(frontend): Finalize dashboard and logs pages with full interactivity 2025-09-04 21:55:05 +05:30
main.py feat(app): implement comprehensive analytics and reporting features 2025-09-15 03:56:47 +05:30
models.py feat(app): Implement station removal and refactor to common header 2025-09-14 05:34:57 +05:30
requirements.txt feat(frontend): Finalize dashboard and logs pages with full interactivity 2025-09-04 21:55:05 +05:30
test.py feat(frontend): Finalize dashboard and logs pages with full interactivity 2025-09-04 21:55:05 +05:30