fix: preserve UI state after refresh

This commit is contained in:
2025-08-25 08:39:58 +02:00
parent 0390b714a2
commit 1edca872f9
3 changed files with 36 additions and 50 deletions

View File

@@ -7,7 +7,6 @@ A modern web interface for monitoring and managing SPORE embedded systems.
- **🌐 Cluster Monitoring**: Real-time view of all cluster members
- **📊 Node Details**: Expandable cards with detailed system information
- **🚀 Modern UI**: Beautiful glassmorphism design with smooth animations
- **⚡ Auto-refresh**: Keeps data current every 30 seconds
- **📱 Responsive**: Works on all devices and screen sizes
![UI](./assets/ui.png)
@@ -33,14 +32,6 @@ spore-ui/
└── README.md # This file
```
## Completed Tasks
- [x] bootstrap an express.js app that serves a simple html page
- [x] generate js client from api/openapi.yaml
- [x] use getClusterStatus client function to get all members and display these members on the html page, use only vanilla JS
- [x] when clicking on one of the members in the UI, it should expand and display all informations from /api/node/status
- [x] create separate files for CSS and JS
## Getting Started
1. **Install dependencies**: `npm install`