fix(webui): cut tutorial and marketing prose from labels, hints, empty states and confirms

This commit is contained in:
sam committed 2026-10-13 17:37:53 +11:00
1 parent 53aeb9e07f
commit b708d7e2d0
32 files changed
+118 -130

No files matched your search

-2
View File
@@ -22,8 +22,6 @@ const PROMPTS = [
class="mx-auto mb-3 grid size-9 place-items-center rounded-xl border border-border-strong font-bold text-link"
>A</span
>
<h2 class="text-lg font-semibold tracking-[-0.02em]">What are we working on?</h2>
<p class="mt-2 mb-4 text-sm text-fg-muted">Ask Archie anything, or start with one of these prompts.</p>
<div class="grid gap-2">
<button
v-for="prompt in PROMPTS"
+3 -3
View File
@@ -47,7 +47,7 @@ async function later() {
<template>
<div class="text-sm">
<p v-if="!available.length">Archie is up to date.</p>
<p v-if="!available.length">Up to date</p>
<template v-else>
<p class="font-medium">An update is available</p>
<ul class="mt-1 space-y-0.5">
@@ -60,11 +60,11 @@ async function later() {
<Button v-if="update.can_install" size="sm" @click="install">Install</Button>
<Button size="sm" variant="ghost" @click="later">Not now</Button>
</div>
<p v-else-if="state === 'installing'" class="mt-2 text-fg-muted">Installing… this can take a few minutes.</p>
<p v-else-if="state === 'installing'" class="mt-2 text-fg-muted">Installing…</p>
<p v-else-if="state === 'deferred'" class="mt-2 text-fg-muted">Skipped until a newer release.</p>
<p v-else-if="state === 'done'" class="mt-2 text-ok">{{ result }}</p>
<p v-else class="mt-2 text-danger">{{ result }}</p>
<p v-if="state === 'idle' && !update.can_install" class="mt-2 text-xs text-fg-muted">This host has no install script, so the update can't be installed from here.</p>
<p v-if="state === 'idle' && !update.can_install" class="mt-2 text-xs text-fg-muted">No install script on this host.</p>
</template>
</div>
</template>