feat: show all stage outputs as collapsible JSON in expert mode
Backend: - Add ALL stage outputs to metadata (not just referenced ones) - Format JSON with indent for readability - Description: 'Zwischenergebnis aus Stage X' Frontend: - Stage raw values shown in collapsible <details> element - JSON formatted in <pre> tag with syntax highlighting - 'JSON anzeigen ▼' summary for better UX Fixes: Stage X - Rohdaten now shows intermediate results
This commit is contained in:
1 parent
159fcab17a
commit
f37936c84d
2 files changed
+49
-23
No files matched your search
@@ -224,7 +224,29 @@ function InsightCard({ ins, onDelete, defaultOpen=false, prompts=[] }) {
|
||||
fontSize: isStageRaw ? 9 : 11,
|
||||
color: isStageRaw ? 'var(--text3)' : 'var(--text1)'
|
||||
}}>
|
||||
{data.value}
|
||||
{isStageRaw ? (
|
||||
<details style={{ cursor: 'pointer' }}>
|
||||
<summary style={{
|
||||
fontWeight: 600,
|
||||
color: 'var(--accent)',
|
||||
fontSize: 10,
|
||||
marginBottom: '4px'
|
||||
}}>
|
||||
JSON anzeigen ▼
|
||||
</summary>
|
||||
<pre style={{
|
||||
background: 'var(--surface2)',
|
||||
padding: '8px',
|
||||
borderRadius: '4px',
|
||||
fontSize: 9,
|
||||
overflow: 'auto',
|
||||
maxHeight: '300px',
|
||||
margin: 0
|
||||
}}>
|
||||
{data.value}
|
||||
</pre>
|
||||
</details>
|
||||
) : data.value}
|
||||
</td>
|
||||
<td style={{
|
||||
padding: '6px 8px',
|
||||
|
||||
Reference in new issue
Block a user