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>
37 lines
1.3 KiB
Markdown
37 lines
1.3 KiB
Markdown
# 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`.
|