-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ef95eed
commit 16b5d58
Showing
4 changed files
with
44 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
import { useEffect, useState } from 'react'; | ||
|
||
import type { Stack } from './types'; | ||
|
||
interface WorkflowProps { | ||
slug: string; | ||
} | ||
|
||
const Workflow: React.FC<WorkflowProps> = ({ slug }) => { | ||
const [stackInfo, setStackInfo] = useState<Stack | null>(null); | ||
const stackSlug = slug ?? null; | ||
|
||
useEffect(() => { | ||
// this should import the jsonl file from ../../stacks/v2/${slug}.jsonl | ||
}, [slug]); | ||
|
||
return ( | ||
<div> | ||
<h1>Workflow</h1> | ||
</div> | ||
); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
export interface StackItem { | ||
type: string; | ||
description: string; | ||
variables?: string[]; | ||
} | ||
|
||
export interface Stack { | ||
created: number; | ||
updated: number; | ||
name: string; | ||
description: string; | ||
trigger: { | ||
type: string; | ||
}; | ||
stack: StackItem[]; | ||
variables: Record<string, string>; | ||
} |
2 changes: 2 additions & 0 deletions
2
ui/app/api/stacks/v2/summarize-commits.jsonl → ...ponents/stacks/v2/summarize-commits.jsonl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters