Commit Graph

2 Commits (6d3899e8e134cf019d1d444e08db378d7e9ebff0)

Author SHA1 Message Date
Kirubakaran 6d3899e8e1 feat: added the auth guard script 2025-09-13 02:08:41 +05:30
Kirubakaran 1ce929258f feat(frontend): Finalize dashboard and logs pages with full interactivity
This commit completes the initial version of the frontend application by adding full functionality to the logs page and implementing several key UI/UX improvements across the dashboard.

Key Changes:

- **feat(logs):**
  - Implemented a real-time log viewer by connecting the page to the backend WebSocket server.
  - The script now intelligently sorts incoming `EVENTS` and `RPC` messages into their respective log textareas.
  - The header is now fully dynamic and shares the same live status polling logic as the main dashboard for UI consistency.

- **fix(dashboard):**
  - Corrected the online/offline status logic to use a reliable polling mechanism, ensuring the header status is always accurate.
  - Resolved a bug that caused the dashboard to show stale data after a station went offline by implementing a UI reset function.
  - Implemented a more robust, themed `flatpickr` date/time picker for the download modal.

- **refactor(ui):**
  - Added a universal button feedback system using CSS transitions for a smooth "press" effect on all buttons.
  - Redesigned the "empty chamber" state to be more intuitive, featuring a larger icon and conditionally displayed slot temperature.
  - Reorganized button layouts in the header and sidebar for better ergonomics.
2025-09-04 21:55:05 +05:30