Files
archie/ui/src/tasks/PanelError.vue
T
sam e5a8526130 fix(webui): stop empty states re-deriving their own titles
A title that states the fact does not need a description that derives it:
the log, panels, lifecycle lists, dashboard cards, stages, skills and
captures empty states now say the fact once, and keep only the
descriptions that carry an action, a cause, or a distinct reading.
2026-09-21 00:56:24 +10:00

16 lines
477 B
Vue

<script setup lang="ts">
/**
* A panel whose read failed. A failed read is reported as a failed read: it is
* never dressed up as an empty result, which would be a claim about the run
* that nothing here can make.
*/
defineProps<{ title: string; detail: string }>();
</script>
<template>
<div class="flex flex-col items-start gap-2 py-3">
<p class="font-medium">{{ title }}</p>
<p class="max-w-[60ch] text-sm text-fg-muted">{{ detail }}</p>
</div>
</template>