fix(ui): drop history narration and em dashes from chat and dashboard comments

This commit is contained in:
sam committed 2026-10-18 15:02:00 +11:00
1 parent 809c6c6339
commit fcdc0e89ea
13 files changed
+26 -31

No files matched your search

+1 -1
View File
@@ -23,7 +23,7 @@ const tasks = useTasksStore();
const taskID = computed(() => tasks.taskIDFor(props.event));
// The detail is cut to one line by activityDetail and clamped again in the
// cell so a long unbroken token (a path, a URL, a hash) cannot widen the column
// past the table. Unclamped, this made the dashboard 7,481px tall.
// past the table.
const detail = computed(() => activityDetail(props.event, identities.identityName));
function open() {
+4 -5
View File
@@ -119,11 +119,10 @@ function openTask(taskID: number) {
<div role="region" aria-label="Activity" aria-live="polite">
<!--
The feed's height is bounded to the card, not the page: group rows
multiply with the number of interleaved tasks, and an unbounded
table made the dashboard ~4,700px tall on a live instance. The
newest events stay visible at the top; the rest scroll inside the
card. The header stays put via sticky so the columns keep their
labels while scrolling.
multiply with the number of interleaved tasks, so an unbounded table
would push the rest of the dashboard off screen. The newest events
stay visible at the top; the rest scroll inside the card. The header
stays put via sticky so the columns keep their labels while scrolling.
-->
<div class="max-h-[28rem] overflow-y-auto">
<Table>
+2 -3
View File
@@ -18,9 +18,8 @@ const { setup } = storeToRefs(useTasksStore());
/**
* The setup checklist, rendered only while there is setup work left.
*
* A fully configured daemon renders nothing: the old completion card ("Setup
* complete", with a check and a dismiss button) celebrated the absence of a
* problem and occupied a grid cell until dismissed. Setup regressing to
* A fully configured daemon renders nothing: a completion card would celebrate
* the absence of a problem and hold a grid cell. Setup regressing to
* incomplete brings the checklist back on its own.
*/
const panel = ref<SetupPanelState>(setupPanelState(setup.value));
+1 -2
View File
@@ -2,8 +2,7 @@
//
// The daemon puts whatever a stage produced into an event's detail, so the
// column holds anything from "session-memory" to a few thousand characters of
// agent transcript. Printed raw, one agent_finish row was taller than six
// viewports and the table stopped being scannable (archie-core-qo7f).
// agent transcript. Printed raw, one row would dwarf the table.
//
// The rule is one line in the cell, the whole payload still available. The cut
// happens here rather than in CSS because the row also needs to know whether
+3 -3
View File
@@ -5,15 +5,15 @@ import { activityDetail } from "./activity-detail.ts";
* The live activity feed's grouping projection.
*
* The daemon emits high-frequency background telemetry that arrives as dozens
* of same-shape rows an hour — often as an interleave of kinds (a curator
* of same-shape rows an hour, often as an interleave of kinds (a curator
* cycle emits curator_run, session-memory and curator_action events that all
* carry the same payload). Printed raw, the table stops being scannable and
* real milestones drown.
*
* The rule: a *run of consecutive* events sharing one task and one rendered
* detail collapses into a single group row. Kind is deliberately not part of
* the key — an interleave of kinds over one payload is one cycle of noise,
* not three events — so anything else stays on its own line, and a milestone
* the key: an interleave of kinds over one payload is one cycle of noise,
* not three events, so anything else stays on its own line, and a milestone
* is never merged with an event carrying different information. The grouping
* is consecutive, not global, so interleaved events keep their order and
* nothing is reordered under the operator.
+2 -2
View File
@@ -14,13 +14,13 @@ export interface Setup {
}
export interface SetupPanelState {
/** omit: nothing to show — no setup data, or setup fully done. */
/** omit: nothing to show, either no setup data or setup fully done. */
kind: "omit" | "incomplete";
remaining: SetupStep[];
}
// setupPanelState distinguishes the only two states worth rendering: there is
// setup work left (the checklist), or there is not (nothing — a configured
// setup work left (the checklist), or there is not (nothing: a configured
// daemon is the absence of a problem, not a card announcing it).
export function setupPanelState(
setup: Setup | null | undefined,