fix(ui): cut copy that restates what a value is

This commit is contained in:
sam committed 2026-10-24 11:46:38 +11:00
1 parent 4a9b8c888a
commit e4b99b35f3
7 files changed
+107 -108

No files matched your search

-1
View File
@@ -29,7 +29,6 @@ async function signInPasskey(){busy.value=true;error.value="";try{await usePassk
<div class="rounded-xl border border-border bg-card p-6 shadow-sm">
<p class="mb-2 text-xs font-medium tracking-widest text-fg-muted">ARCHIE</p>
<h1 class="text-2xl font-medium">{{setup?(step===1?'Set up your organisation':'Create your admin account'):recovery?'Recover your account':'Sign in'}}</h1>
<p v-if="setup&&step===2" class="mt-2 text-sm text-fg-muted">This account administers the installation.</p>
<form class="mt-6 space-y-4" @submit.prevent="submit">
<template v-if="setup&&step===1">
<label class="block space-y-1.5 text-sm" for="organisation">Organisation name<Input id="organisation" v-model="organisation" autocomplete="organization" required maxlength="200" /></label>
+1 -1
View File
@@ -177,7 +177,7 @@ function scopes(binding: HarnessBinding): string {
</TableHeader>
<TableBody>
<TableRow v-if="!state.bindings.length">
<TableCell colspan="5" class="text-fg-muted">No credential bindings are configured.</TableCell>
<TableCell colspan="5" class="text-fg-muted">No credential bindings.</TableCell>
</TableRow>
<TableRow v-for="binding in state.bindings" :key="binding.service">
<TableCell class="font-medium">{{ binding.service }}</TableCell>
+2 -2
View File
@@ -78,9 +78,9 @@ const timeLimit = computed(() => {
const limit = duration(limitMs.value);
const started = Date.parse(attempt.value?.started_at ?? "");
if (attempt.value?.status !== "running" || Number.isNaN(started)) {
return `${limit} time limit`;
return `${limit} limit`;
}
return `${duration(Math.max(0, now.value.getTime() - started))} used of ${limit} limit`;
return `${duration(Math.max(0, now.value.getTime() - started))} / ${limit}`;
});
</script>
+1 -1
View File
@@ -65,7 +65,7 @@ export function describeTimelineEvent(ev: TaskEvent = {}): TimelineLine {
}
if (ev.kind === "stage_finish") {
const elapsed = duration(data.duration_ms);
const context = [workflow, elapsed && `ran for ${elapsed}`]
const context = [workflow, elapsed]
.filter(Boolean)
.join(" · ");
return {
+1 -1
View File
@@ -100,7 +100,7 @@ const scopedLogs = computed(() => logs.value ? { ...logs.value, entries: (logs.v
<div class="space-y-5 p-4 text-sm">
<div class="flex items-center gap-2">
<Badge :variant="meta.kind">{{ meta.label }}</Badge>
<span class="text-xs text-fg-muted">{{ stage.duration_ms == null ? "Duration not recorded" : duration(stage.duration_ms) }}</span>
<span v-if="stage.duration_ms != null" class="text-xs text-fg-muted">{{ duration(stage.duration_ms) }}</span>
<span class="ml-auto text-xs text-fg-muted">Attempt {{ attempt }}</span>
</div>
<p v-if="stage.error" class="rounded-md bg-danger-soft p-3 break-words whitespace-pre-wrap text-danger">{{ stage.error }}</p>