feat: add configurable refresh interval to Clients page (closes #32)

Add a right-justified refresh interval dropdown above the client table
with options for Not Updating, 30 s, 1 min, and 3 min. The chosen
interval controls both React Query polling and WebSocket-triggered
invalidations — selecting Not Updating fully freezes the list until
page reload. Preference persists via localStorage.
This commit is contained in:
2GT-Rich
2026-04-23 16:20:22 -07:00
parent 68d88d0306
commit ac39598257
5 changed files with 55 additions and 8 deletions
+2 -1
View File
@@ -2,7 +2,7 @@
A self-hosted, full-stack network management platform for MikroTik devices. Monitor, configure, and manage your entire MikroTik infrastructure — routers, switches, and wireless access points — from a single web interface.
![Version](https://img.shields.io/badge/version-0.10.6_Beta-blue)
![Version](https://img.shields.io/badge/version-0.10.7_Beta-blue)
![License](https://img.shields.io/badge/license-AGPLv3-blue)
![Docker](https://img.shields.io/badge/docker-compose-2496ED?logo=docker&logoColor=white)
![TypeScript](https://img.shields.io/badge/TypeScript-5.3-3178C6?logo=typescript&logoColor=white)
@@ -150,6 +150,7 @@ Each service supports multi-device management with conflict detection:
- Filter by device, type, active status, or search by MAC/IP/hostname
- Client detail page with connection history and vendor identification
- Historical client count metrics
- Configurable list refresh interval (Not Updating / 30 s / 1 min / 3 min) with preference saved per browser
### Backups
- Trigger RouterOS backups on demand via SSH