From 7477027319b1800bdfd95ad5a343e86533c71a1c Mon Sep 17 00:00:00 2001 From: Lucio Lelii Date: Fri, 25 Sep 2026 14:35:08 +0200 Subject: [PATCH] Put a copy button next to every value, not only in the full view The full view opens only when a preview leaves something out, so a short output or input had no way to be copied. Every value in the Output, Intermediate and Rounds tabs now has its own copy button, beside the view button when there is one. The full view's button just says Copy: it copies any value, JSON or not. Co-Authored-By: Claude Opus 5.5 (1M context) --- .../task-execution-viewer.css | 8 ++ .../task-execution-viewer.html | 92 ++++++++++++------- 2 files changed, 69 insertions(+), 31 deletions(-) diff --git a/src/app/shared/task-execution-viewer/task-execution-viewer.css b/src/app/shared/task-execution-viewer/task-execution-viewer.css index c32ba72..a898909 100644 --- a/src/app/shared/task-execution-viewer/task-execution-viewer.css +++ b/src/app/shared/task-execution-viewer/task-execution-viewer.css @@ -1005,3 +1005,11 @@ height: 16px; font-size: 16px; } + +/* Copy is there for every value; view, only when the preview leaves something out. */ +.execution-value-actions { + display: inline-flex; + flex: 0 0 auto; + align-items: center; + gap: 4px; +} diff --git a/src/app/shared/task-execution-viewer/task-execution-viewer.html b/src/app/shared/task-execution-viewer/task-execution-viewer.html index aa39dd8..a0a0698 100644 --- a/src/app/shared/task-execution-viewer/task-execution-viewer.html +++ b/src/app/shared/task-execution-viewer/task-execution-viewer.html @@ -443,15 +443,25 @@ } - @if (input.isLong) { - - } +
+ + @if (input.isLong) { + + } +
@if (input.json) { @@ -499,15 +509,25 @@
{{ input.inputName }}{{ input.itemLabel ? ' ยท ' + input.itemLabel : '' }} - @if (input.isLong) { - - } +
+ + @if (input.isLong) { + + } +
@if (input.json) { @@ -622,15 +642,25 @@
{{ output.itemLabel }}
}
- @if (output.isLong) { - - } +
+ + @if (output.isLong) { + + } +
@if (output.json) { @@ -672,10 +702,10 @@ @@ -704,10 +734,10 @@