diff --git a/apps/application/AGENTS.md b/apps/application/AGENTS.md index 3c1225b2..172187ab 100644 --- a/apps/application/AGENTS.md +++ b/apps/application/AGENTS.md @@ -100,7 +100,7 @@ those fields — intentional). `app/components/shared/` holds the building blocks — **prefer them over re-implementing**. `SectionCard` / `CollapsibleSectionCard` (headers + folding), `EmptyState` / `LoadingState` / `ErrorState`, `StatTile` + `StatTileGrid` (never hand-rolled tile markup), `FilterToolbar`, `TableScroller`, `NavbarActions`, `BreadcrumbNav`, `ChartCard`, -`DurationValue`, `DiffPatch` / `DiffFile`, `HelpHint`, `DocLink`, `EnvManagedBadge` / `EnvManagedAlert`, +`DurationValue`, `ErrorText` (never print a raw error string — it carries ANSI codes), `DiffPatch` / `DiffFile`, `HelpHint`, `DocLink`, `EnvManagedBadge` / `EnvManagedAlert`, `SettingsField`, `OpenInIdeLink`. See [`ARCHITECTURE.md`](ARCHITECTURE.md) for what each one does. ### Responsive / mobile (MUST follow) diff --git a/apps/application/ARCHITECTURE.md b/apps/application/ARCHITECTURE.md index 648fa2c6..bc78abea 100644 --- a/apps/application/ARCHITECTURE.md +++ b/apps/application/ARCHITECTURE.md @@ -167,9 +167,12 @@ Shared building blocks worth knowing before writing new markup (`AGENTS.md` make y-axis) / `ChartTooltip` / `ChartMarkerLines` / `ChartLegend` / `ChartMarkerTooltip`, `MiniRunBars`, `DurationValue` (tight `210ms` via the pure `splitDuration`), `CodeBlock`, `MarkdownPreview`, `DiffPatch` / `DiffFile`, `LocatorCode` (a locator - expression syntax-highlighted through `@piwitests/picker-dom`'s `tokenizeLocator`). + expression syntax-highlighted through `@piwitests/picker-dom`'s `tokenizeLocator`), `ErrorText` (error text with + its ANSI colors rendered — a one-line `line` preview for lists and cells, or the full `block`). - **Navigation & actions** — `NavbarActions` (every `UDashboardNavbar` `#right` group; labels collapse to icons below - `sm`), `BreadcrumbNav` (drop-in for `UBreadcrumb`, collapses ancestors below `sm`), `OpenInIdeLink` + + `xl`), `BreadcrumbNav` (drop-in for `UBreadcrumb` and the page title of every detail page — the navbar never + repeats it; only the current crumb truncates, middle levels hide below `2xl`, ancestors collapse into a dropdown + below `sm`), `OpenInIdeLink` + `OpenInIdeSettingsModal`, `DocLink`, `LinkChip` / `EntityLinks`. - **Help & settings** — `HelpHint` (topic keys from `app/utils/help-content.ts`), `SettingsField`, `EnvManagedBadge`, `EnvManagedAlert`. @@ -184,7 +187,8 @@ Shared building blocks worth knowing before writing new markup (`AGENTS.md` make (`useRunStream`, `useNotificationStream`), diagnosis (`useClusterDiagnosis`, `useStreamingDiagnosis`, `useDiagnosisNotification`), timeline (`useTimelineModel`, `useTimelineViewport`), fold/tree state (`useFoldedState`, `useFoldableSummary`, `useTreeViewCookie`), settings derivation (`useSettingsNav`, -`useSettingsEnvState`), analytics scope, IDE preferences (`useOpenInIde`), desktop detection (`useIsDesktop`, +`useSettingsEnvState`), analytics scope, the run page's retry command (`useRunRetryCommand` — one failing set and one +shared mode for every copy button on the page), IDE preferences (`useOpenInIde`), desktop detection (`useIsDesktop`, `useTauri`), demo helpers, and small utilities (`useCopy` / `useCopyRich` — use these instead of hand-rolling `navigator.clipboard`, `useAiStatus`, `useChartTooltip`). diff --git a/apps/application/app/components/cluster/ClusterTestEvidence.vue b/apps/application/app/components/cluster/ClusterTestEvidence.vue index 56bc6c72..4c35162a 100644 --- a/apps/application/app/components/cluster/ClusterTestEvidence.vue +++ b/apps/application/app/components/cluster/ClusterTestEvidence.vue @@ -243,9 +243,7 @@ const evidenceChips = computed(() => {

{{ idx + 1 }}. {{ step.title }}

-

- {{ step.error.message }} -

+
diff --git a/apps/application/app/components/run/FailureGroups.vue b/apps/application/app/components/run/FailureGroups.vue index 03948a13..40c77f8a 100644 --- a/apps/application/app/components/run/FailureGroups.vue +++ b/apps/application/app/components/run/FailureGroups.vue @@ -1,7 +1,6 @@