The quality gates card stacked its number and rows across the full row width -- the rate pinned to the left edge, the counts to the right -- which reads as two places at once. The card now has two internal sections, left to right: the rate, and the per-workflow rows that explain it; the row collapses under 720px. Also swept the restating descriptions: 'Work that passed its quality gates' under Quality gates, 'Archie needs these before it can work on its own' under Finish setting up, 'Next 30 days at the current rate' under Token outlook, 'Last 50, newest first' under Live activity. A title and a sentence that restate each other are noise; the table or chart says the thing. CapturesCard's redaction note is a security fact, not restatement, and stays. The unconfigured versions state is one quiet line, not a card with a title, a description, and a sentence.
21 lines
759 B
Vue
21 lines
759 B
Vue
<script setup lang="ts">
|
|
/**
|
|
* A JSON payload, verbatim. Two panels show one (the attempt's recorded config
|
|
* and the debug view), and both must show exactly what the daemon stored --
|
|
* no projection, no prettifying beyond indentation.
|
|
*/
|
|
import HighlightedJson from "@/base/HighlightedJson.vue";
|
|
|
|
defineProps<{ value: unknown }>();
|
|
</script>
|
|
|
|
<template>
|
|
<!--
|
|
pre-wrap keeps the indentation the JSON is printed with while letting a
|
|
long value wrap instead of forcing the panel to scroll sideways.
|
|
-->
|
|
<pre
|
|
class="max-h-[60vh] overflow-auto rounded-sm border border-border bg-muted p-3 font-mono text-xs leading-normal whitespace-pre-wrap break-words"
|
|
><HighlightedJson :text="JSON.stringify(value ?? {}, null, 2)" /></pre>
|
|
</template>
|