Skyvern-AI / skyvern

Automate browser-based workflows with LLMs and Computer Vision
https://www.skyvern.com
GNU Affero General Public License v3.0
10.57k stars 725 forks source link

Add collapsible for workflow run tasks table #1219

Closed wintonzheng closed 3 days ago

wintonzheng commented 3 days ago

[!IMPORTANT] Add collapsible functionality to workflow run tasks table using Radix UI components and update API types.

  • UI Components:
    • Add Collapsible, CollapsibleTrigger, and CollapsibleContent components in collapsible.tsx using @radix-ui/react-collapsible.
    • Create WorkflowBlockCollapsibleContent in WorkflowBlockCollapsibleContent.tsx to display task details with collapsible sections.
  • Workflow Run Page:
    • Update WorkflowRun.tsx to use WorkflowBlockCollapsibleContent for displaying tasks.
    • Modify task table headers and structure to accommodate collapsible functionality.
  • API Types:
    • Add failure_reason to WorkflowRunStatusApiResponse in types.ts.

This description was created by Ellipsis for c8e2024624e588ba52be04475a34fcdded602651. It will automatically update as commits are pushed.