Commit Graph

1 Commits (526bc8e8fa6f386542ede4ad054ea53eeb7da67d)

Author SHA1 Message Date
Kirubakaran 526bc8e8fa feat(app): Implement station removal and refactor to common header
This major update introduces the ability to remove stations and significantly refactors the frontend architecture for better code reuse and maintainability.

### Features
- **Remove Station:** Implemented full-stack station removal functionality.
  - Added `DELETE /api/stations/<id>` endpoint to the backend.
  - The MQTT client for the removed station is now gracefully disconnected.
  - Added a trash can icon button to the station selection card for removal.
- **Enhanced UI:** Improved the UI on several pages.
  - Added icons for Product ID and Location on station cards.
  - Updated card layout to display Product ID directly under the station name.
  - Implemented a fully functional, dynamic header for the dashboard, logs, and analytics pages.
2025-09-14 05:34:57 +05:30