Skip to content

Commit

Permalink
Add collapsible for workflow run tasks table (#1219)
Browse files Browse the repository at this point in the history
Co-authored-by: Muhammed Salih Altun <[email protected]>
  • Loading branch information
wintonzheng and msalihaltun authored Nov 19, 2024
1 parent 5477612 commit 9b29ed1
Show file tree
Hide file tree
Showing 7 changed files with 452 additions and 82 deletions.
215 changes: 201 additions & 14 deletions skyvern-frontend/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions skyvern-frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
"@radix-ui/react-accordion": "^1.1.2",
"@radix-ui/react-aspect-ratio": "^1.0.3",
"@radix-ui/react-checkbox": "^1.1.1",
"@radix-ui/react-collapsible": "^1.1.1",
"@radix-ui/react-dialog": "^1.1.2",
"@radix-ui/react-dropdown-menu": "^2.0.6",
"@radix-ui/react-icons": "^1.3.0",
Expand Down
1 change: 1 addition & 0 deletions skyvern-frontend/src/api/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -277,6 +277,7 @@ export type WorkflowRunStatusApiResponse = {
screenshot_urls: Array<string> | null;
recording_url: string | null;
outputs: Record<string, unknown> | null;
failure_reason: string | null;
};

export type TaskGenerationApiResponse = {
Expand Down
9 changes: 9 additions & 0 deletions skyvern-frontend/src/components/ui/collapsible.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import * as CollapsiblePrimitive from "@radix-ui/react-collapsible";

const Collapsible = CollapsiblePrimitive.Root;

const CollapsibleTrigger = CollapsiblePrimitive.CollapsibleTrigger;

const CollapsibleContent = CollapsiblePrimitive.CollapsibleContent;

export { Collapsible, CollapsibleTrigger, CollapsibleContent };
Loading

0 comments on commit 9b29ed1

Please sign in to comment.