fix(fleet-operator): dashboard UI bugs (mostly CSP-blocked inline JS) #323
Reference in New Issue
Block a user
No description provided.
Delete Branch "feat/fleet-operator-real-data"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The production CSP is
script-src 'self'(no 'unsafe-inline'), so everyinline <script> / on*= handler was silently dead in prod (worked in dev,
which adds 'unsafe-inline'). Move that logic to app.js and HTMX.
were CSP-blocked. app.js now opens the dialog on htmx:afterSwap to
#modal-root (backdrop-close, clear-on-close, autoscroll).
honest "not implemented yet" notice instead of fake logs.
rows swapped a full page into
closest main; now targetbodylike thelist.
stopPropagation was CSP-blocked): removed the redundant no-op/quick-log
buttons + the unused checkbox column; rows simply navigate. Filter
dropdowns used onchange — switched to hx-trigger="change".
highlight on Overview: the handler returned the full page for
?tab=overview, and only the content swapped. Tabs now re-render as a
unit (bar + content) so overview returns content and the active
highlight follows. Same fix applied to device-detail tabs.
fabricated deployment "manifest" with the real fields we have.