[web] Design re-check: the engine chip closes its popover, Show details on every pause, popover grammar, share links off while Caddy serves, renewal copy

This commit is contained in:
2026-11-08 12:04:14 +01:00
parent 457aea86ca
commit 057abbc954
9 changed files with 32 additions and 8 deletions
+8 -1
View File
@@ -35,6 +35,13 @@
return { bold: own, line2: "", extra: "" };
});
// "Show details" for every pause (§7.6): the server's detail, the restart command, or the
// full message when there is nothing more.
const pauseDetail = $derived(
[o?.paused_detail, pause.extra].filter(Boolean).join("\n") || (o?.paused ? (o.paused.message ?? "") : ""),
);
async function retry() {
await refresh();
}
@@ -46,7 +53,7 @@
{#if pause.line2}<span class="line2">{pause.line2}</span>{/if}
{#if restorable && o.undo?.target}<p class="ia-hint">Goes back to "{o.undo.target.summary}" from {whenInline(o.undo.target.kept_at, app.now)}. It is checked like any change.</p>{/if}
{#if problem}<p role="status">{problem}</p>{/if}
{#if pause.extra}<Details detail={pause.extra} />{/if}
{#if pauseDetail}<Details detail={pauseDetail} />{/if}
{#snippet actions()}
{#if restorable}<Button variant="primary" onclick={restore} pending={restoring}>Restore the last kept version</Button>{/if}
{/snippet}