Implements P5.19.a - Overview and Topology sections of the Admin Web UI. **Overview Section:** - Cluster health summary (healthy/degraded status) - Total shards and replication factor - Node count with degraded nodes highlighted - Replica group count - Active operations display (rebalance progress) - Recent activity placeholder **Topology Section:** - Node health table with status badges - Shard coverage map (heatmap showing healthy/degraded/missing) - Rebalance progress with per-shard migration status - Group membership display **Implementation Details:** - Single-page app with hash-based navigation - Responsive design: mobile (< 640px), tablet (640-1024px), desktop (≥ 1024px) - Dark mode support via prefers-color-scheme - Auto-refresh every 30 seconds - API integration with GET /_miroir/topology, /shards, /rebalance/status - Embedded assets via rust-embed with proper cache headers **Files:** - crates/miroir-proxy/admin-ui/dist/index.html - SPA structure - crates/miroir-proxy/admin-ui/dist/styles.css - Responsive styling - crates/miroir-proxy/admin-ui/dist/app.js - Data fetching and rendering - crates/miroir-proxy/src/admin_ui.rs - Asset serving handler - crates/miroir-proxy/Cargo.toml - Enable rust-embed include-exclude Closes: miroir-uhj.19.1
8 lines
160 B
Rust
8 lines
160 B
Rust
pub mod admin_session;
|
|
pub mod admin_ui;
|
|
pub mod auth;
|
|
pub mod client;
|
|
pub mod error_response;
|
|
pub mod middleware;
|
|
pub mod routes;
|
|
pub mod scoped_key_rotation;
|