Commit Graph

5 Commits

Author SHA1 Message Date
a020afbc50 fix(Logs): reverse log order and fix truncation logic
Change log display to show newest first by using unshift instead of push. Fix log truncation to remove oldest entries by using pop instead of shift when exceeding 100 logs.
2026-03-17 22:29:27 +08:00
fb074e203d refactor(views): improve layout and scroll behavior
- Update Home.vue to use flex layout and proper scrolling
- Enhance Logs.vue scrollbar styling and remove redundant padding
- Set Vite server to listen on all network interfaces
2026-03-17 22:21:42 +08:00
ce8376458e feat(logs): replace API polling with WebSocket for real-time updates
Implement WebSocket connection to receive live log updates instead of periodic API polling. The changes include:
- Add WebSocket connection management with token authentication
- Implement computed property for log filtering
- Maintain only the latest 100 logs in memory
- Handle WebSocket events and errors appropriately
2026-03-17 19:24:05 +08:00
8380720d5e refactor(styles): move common styles to shared CSS file
Extract duplicated styles across multiple components into a common CSS file and import it where needed. This improves maintainability by reducing code duplication and centralizing style definitions.
2026-03-09 22:25:58 +08:00
2f6cfe7704 Initial commit: finish basic WebUI interface 2026-03-09 21:17:22 +08:00