feat(ui): add dispose instance and rehydrate

Adds a dispose instance action to the instance info view, POSTing to /instance/dispose and rehydrating per-instance stores; also handles server.instance.disposed events and adds danger button styling.
This commit is contained in:
Shantur Rathore
2026-02-18 01:07:52 +00:00
parent 4eaa711f01
commit 859312ba3b
14 changed files with 296 additions and 12 deletions

View File

@@ -64,6 +64,8 @@
button.button-primary,
.button-secondary,
button.button-secondary,
.button-danger,
button.button-danger,
.button-tertiary,
button.button-tertiary) {
@apply inline-flex items-center justify-center gap-2 font-medium transition-colors rounded-md;
@@ -74,6 +76,8 @@
button.button-primary,
.button-secondary,
button.button-secondary,
.button-danger,
button.button-danger,
.button-tertiary,
button.button-tertiary):focus-visible {
outline: none;
@@ -84,6 +88,8 @@
button.button-primary,
.button-secondary,
button.button-secondary,
.button-danger,
button.button-danger,
.button-tertiary,
button.button-tertiary):disabled {
@apply cursor-not-allowed opacity-50;