oumta dashboard plugin (mockup)

Fullscreen cluster dashboard view consuming the Oumta Go backend.
All data currently mocked — see plugin TODO.md for integration plan.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
thandClaude Opus 4.6 committed 2026-04-14 21:24:07 +02:00
1 parent 69ad2c7e71
commit 39e94b8015
9 files changed
+1107 -2

No files matched your search

+36
View File
@@ -0,0 +1,36 @@
# oumta-dashboard plugin
Fullscreen view for the Oumta cluster dashboard (Go backend in `oumta-dashboard/`).
## Open
- **Oumta** button in the hyprcrd top bar (next to *Tasks*)
- `window._oumtaToggle()` from the console / other plugins
Close with **ESC** or the × button.
## Views
- **Overview** — cluster state, workload counts, attention list
- **Workloads** — filterable table (name, state, replicas, cpu/mem, image, reason)
- **Timeline** — event stream; clicking a workload filters down to its own events
## Namespaces
Tab row at the top. Currently two mocks (`oumta-dev`, `oumta-beta`). Real list comes from the backend once `/api/namespaces` exists.
## Settings
Open the hyprcrd settings overlay and choose the **oumta** tab:
- **API Base URL** — e.g. `http://localhost:8080` for local dev, or the cluster-internal URL
- **Auth token** — optional, sent as `Authorization: Bearer …`. Will eventually be filled automatically once Keycloak is wired up.
- **Poll interval** — polling fallback cadence when SSE is unavailable. Default 15 s.
## State today
Everything is mocked. The live indicator in the top right shows `polling` once the overlay is open, but no real HTTP call fires yet. See [`TODO.md`](./TODO.md) for the integration plan.
## Disabling
Add `"oumta-dashboard"` to the `disabled` array in `data/plugins.json`.