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:
1 parent
f1b33eb6f9
commit
686da8be4d
16 files changed
+58
-63
No files matched your search
@@ -16,8 +16,8 @@ import { cancelDelete, confirmDelete, pendingDelete } from "./state";
|
||||
|
||||
/**
|
||||
* The destructive confirmation for one mapping. Deleting unprompted is not
|
||||
* offered: a playbook binding (t2db.4) points at a mapping by id, so removing
|
||||
* one without being asked would break a binding the operator still has.
|
||||
* offered: a binding points at a mapping by id, so removing one without being
|
||||
* asked would break a binding the operator still has.
|
||||
*/
|
||||
function onOpenChange(open: boolean) {
|
||||
if (!open) cancelDelete();
|
||||
|
||||
@@ -25,12 +25,11 @@ import {
|
||||
/**
|
||||
* The mapping's own fields: the name it is saved under, the organisational
|
||||
* source hint, and the captured event the payload and the preview resolve
|
||||
* against. The hint is a note to a human, never a matcher -- t2db.4 decides
|
||||
* which events a mapping applies to.
|
||||
* against. The hint is a note to a human, never a matcher; bindings decide which
|
||||
* events a mapping applies to.
|
||||
*
|
||||
* Laid out as labelled controls rather than the FieldGroup/Field pair, which
|
||||
* this project has not installed; each label is bound to its control by id so
|
||||
* the association survives a click on either.
|
||||
* Each label is bound to its control by id so the association survives a click
|
||||
* on either.
|
||||
*/
|
||||
|
||||
/** The picker's value for "no capture chosen". Capture ids are numeric, so no
|
||||
|
||||
@@ -26,7 +26,7 @@ const emit = defineEmits<{
|
||||
}}</TableCell>
|
||||
<TableCell class="tabular-nums">{{ matchCountLabel(mapping) }}</TableCell>
|
||||
<TableCell class="text-fg-muted">{{
|
||||
mapping.match_count ? ago(mapping.last_matched_at) : "—"
|
||||
mapping.match_count ? ago(mapping.last_matched_at) : "–"
|
||||
}}</TableCell>
|
||||
<TableCell>
|
||||
<div class="flex justify-end gap-2">
|
||||
|
||||
@@ -10,11 +10,10 @@ import MappingsTable from "./MappingsTable.vue";
|
||||
import { actionError, loadMappings, startCreate } from "./state";
|
||||
|
||||
/**
|
||||
* Payload field mapping (t2db.3): bind named fields to JSON paths inside a real
|
||||
* captured event, preview the resolution before saving, and manage saved
|
||||
* mappings. See docs/prds/payload-field-mapping.md. Binding a mapping and a
|
||||
* matcher to a workflow (t2db.4) is a separate, not-yet-built page -- this one
|
||||
* only produces the mapping entity and its preview.
|
||||
* Payload field mapping: bind named fields to JSON paths inside a real captured
|
||||
* event, preview the resolution before saving, and manage saved mappings. See
|
||||
* docs/prds/payload-field-mapping.md. Binding a mapping to a workflow happens
|
||||
* on the Bindings tab.
|
||||
*
|
||||
* Composes the list and the two overlays; it holds no state of its own.
|
||||
*/
|
||||
|
||||
@@ -47,7 +47,6 @@ import {
|
||||
<Empty v-else-if="!mappings.length">
|
||||
<EmptyHeader>
|
||||
<EmptyTitle>No mappings yet</EmptyTitle>
|
||||
<EmptyDescription>None yet.</EmptyDescription>
|
||||
</EmptyHeader>
|
||||
</Empty>
|
||||
|
||||
|
||||
Reference in new issue
Block a user