Skip to content

Commit

Permalink
🔄 synced local 'skyvern-frontend/src/' with remote 'skyvern-frontend/…
Browse files Browse the repository at this point in the history
…src/'

<!-- ELLIPSIS_HIDDEN -->

> [!IMPORTANT]
> Add UI section to display workflow outputs in JSON format when workflow run is finalized in `WorkflowRun.tsx`.
>
>   - **UI Enhancement**:
>     - In `WorkflowRun.tsx`, added a section to display "Block Outputs" using `CodeEditor` when `workflowRunIsFinalized` is true.
>     - Outputs are shown in JSON format, read-only, with a min height of 96px and max height of 500px.
>
> <sup>This description was created by </sup>[<img alt="Ellipsis" src="https://img.shields.io/badge/Ellipsis-blue?color=175173">](https://www.ellipsis.dev?ref=Skyvern-AI%2Fskyvern-cloud&utm_source=github&utm_medium=referral)<sup> for 6f42ae3f4714fb0988c0fd123a941f3936916ea7. It will automatically update as commits are pushed.</sup>

<!-- ELLIPSIS_HIDDEN -->
  • Loading branch information
wintonzheng committed Nov 22, 2024
1 parent 3eb9d13 commit a0936bd
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions skyvern-frontend/src/routes/workflows/WorkflowRun.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -611,6 +611,20 @@ function WorkflowRun() {
</Pagination>
</div>
</div>
{workflowRunIsFinalized && (
<div className="space-y-4">
<header>
<h2 className="text-lg font-semibold">Block Outputs</h2>
</header>
<CodeEditor
language="json"
value={JSON.stringify(workflowRun.outputs, null, 2)}
readOnly
minHeight="96px"
maxHeight="500px"
/>
</div>
)}
{Object.entries(parameters).length > 0 && (
<div className="space-y-4">
<header>
Expand Down

0 comments on commit a0936bd

Please sign in to comment.