Files
hyprcrd/public/plugins/oumta-dashboard/README.md
T
thandClaude Opus 4.7 0553960a57 v2.0.6 — oumta-dashboard: hardwire config, drop settings tab
This plugin only targets one specific deployment, so the settings
panel was noise that tempted accidental misconfiguration. baseUrl,
authToken and pollIntervalSec now live in a top-of-file CONFIG
constant; the hyprcrd-settings tab, the localStorage persistence,
and the panel CSS are gone.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-18 16:20:09 +02:00

39 lines
1.4 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 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.
## Configuration
Hardwired at the top of `oumta-dashboard.js` in the `CONFIG` block:
- **baseUrl** — where the Oumta Go backend is reachable (default `http://localhost:8085`).
- **authToken** — optional, sent as `Authorization: Bearer …` when non-empty.
- **pollIntervalSec** — polling fallback cadence when SSE is unavailable. Default 15 s.
No UI settings panel: the dashboard only runs against one specific deployment, so exposing these as editable fields would be noise.
## 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`.