clusev/resources/views/livewire
boban 218806727c feat(r5): wire-elements/modal confirmations for destructive actions
Add a generic ConfirmAction modal (LivewireUI\Modal\ModalComponent). On confirm
it persists exactly one AuditEvent and re-dispatches a page event so the origin
applies its own state change — domain-agnostic and reused everywhere (R5).

Wired the destructive actions, each writing an audit row:
- Services: start/stop/restart -> confirm + audit; service state reflects result
- Files: delete -> confirm + audit; entry removed
- Server-Details: revoke SSH key (new per-row trash button) -> confirm + audit
  (carries server_id)

Supporting changes:
- Publish + restyle the modal container for the dark theme (void backdrop +
  surface panel + shadow-pop instead of the package's gray/white defaults)
- Toaster island in the app layout that catches the `notify` browser event
- Add alert/power/rotate/trash icons to x-icon

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-12 15:05:50 +02:00
..
audit feat: v1 pages — servers (index + details), services, files, audit + SSH layer 2026-06-12 06:33:59 +02:00
auth fix(2fa): render the setup QR as <img> (getQRCodeInline returns a data URI) 2026-06-12 14:06:56 +02:00
files feat(r5): wire-elements/modal confirmations for destructive actions 2026-06-12 15:05:50 +02:00
modals feat(r5): wire-elements/modal confirmations for destructive actions 2026-06-12 15:05:50 +02:00
servers feat(r5): wire-elements/modal confirmations for destructive actions 2026-06-12 15:05:50 +02:00
services feat(r5): wire-elements/modal confirmations for destructive actions 2026-06-12 15:05:50 +02:00
dashboard.blade.php feat: reference-depth dashboard (sparkline KPIs + live dual chart + table) 2026-06-12 14:44:11 +02:00
server-switcher.blade.php feat: multi-server switcher + fleet context 2026-06-12 13:45:40 +02:00