fix(ui): trim view prose, en dash placeholders, collapse fixed grids on phones

Drop empty-state essays that repeated their titles, the harness native select
becomes the Select component, and the binding and source forms collapse to one
column below sm. Issue-ID and history narration removed from comments.
This commit is contained in:
sam committed 2026-10-18 15:02:00 +11:00
1 parent f1b33eb6f9
commit 686da8be4d
16 files changed
+58 -63

No files matched your search

+2 -2
View File
@@ -235,7 +235,7 @@ const title = computed(() => (props.binding ? "Edit binding" : "New binding"));
>({{ spec.type }}{{ spec.required ? ", required" : "" }})</span
>
</FieldLabel>
<div class="grid grid-cols-2 items-start gap-3">
<div class="grid grid-cols-1 items-start gap-3 sm:grid-cols-2">
<Select
:model-value="inputSource(name)"
@update:model-value="setInputSource(name, $event)"
@@ -292,7 +292,7 @@ const title = computed(() => (props.binding ? "Edit binding" : "New binding"));
</Field>
<Field v-if="takesRepository(workflow) && !draft.repoParam">
<div class="grid grid-cols-2 items-start gap-3">
<div class="grid grid-cols-1 items-start gap-3 sm:grid-cols-2">
<Field>
<FieldLabel for="binding-owner">Pinned owner</FieldLabel>
<Input id="binding-owner" v-model="draft.owner" />
+2 -2
View File
@@ -53,11 +53,11 @@ const emit = defineEmits<{
class="max-w-56 truncate font-mono text-xs text-fg-muted"
:title="props.binding.filter"
>
{{ props.binding.filter || "—" }}
{{ props.binding.filter || "–" }}
</TableCell>
<TableCell>
<div class="flex items-center gap-2">
{{ props.binding.workflow || "—" }}
{{ props.binding.workflow || "–" }}
<Badge v-if="props.binding.workflow_disabled" variant="warn">Disabled</Badge>
<Badge
v-if="failing"
+1 -2
View File
@@ -16,8 +16,7 @@ import { useBindings } from "./use-bindings";
* workflow together, with a draft -> pending_approval -> armed state machine so nothing
* self-arms. See docs/architecture/bindings.md and
* docs/prds/payload-field-mapping.md. Owner/Repo optionally pin a multi-repo
* deployment's dispatch target (archie-core-t2db.8's backend fix, commit
* ac42f64).
* deployment's dispatch target.
*/
const {
-1
View File
@@ -62,7 +62,6 @@ const failureTitle = computed(() =>
<Empty v-else-if="!loading && !rows.length">
<EmptyHeader>
<EmptyTitle>No bindings yet</EmptyTitle>
<EmptyDescription>None yet. A mapping + a workflow make a binding.</EmptyDescription>
</EmptyHeader>
</Empty>
+1 -1
View File
@@ -246,7 +246,7 @@ export function repoPin(binding: Binding): string {
if (binding.repo_param) return `from ${binding.repo_param}`;
return binding.owner && binding.repo
? `${binding.owner}/${binding.repo}`
: "—";
: "–";
}
/** The event type a row shows: its mapping's. */