-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[UI v2] feat: Updates loader for concurrency limit route to include a…
…ctive task runs logic
- Loading branch information
1 parent
cf2f269
commit 66ac5e7
Showing
6 changed files
with
408 additions
and
22 deletions.
There are no files selected for viewing
20 changes: 18 additions & 2 deletions
20
...urrency/task-run-concurrency-limits/task-run-concurrency-limit-active-task-runs/index.tsx
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 |
---|---|---|
@@ -1,3 +1,19 @@ | ||
export const TaskRunConcurrencyLimitActiveTaskRuns = () => { | ||
return <div>TODO: Active Task Runs View</div>; | ||
import type { components } from "@/api/prefect"; | ||
import { Typography } from "@/components/ui/typography"; | ||
|
||
type Props = { | ||
data: Array<{ | ||
taskRun: components["schemas"]["TaskRun"]; | ||
flowRun?: components["schemas"]["FlowRun"]; | ||
flow?: components["schemas"]["Flow"]; | ||
}>; | ||
}; | ||
|
||
export const TaskRunConcurrencyLimitActiveTaskRuns = ({ data }: Props) => { | ||
return ( | ||
<div> | ||
<Typography>TODO: Active Task Runs</Typography> | ||
{JSON.stringify(data)} | ||
</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
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
Oops, something went wrong.