Reintroduce artifacts UI (#419)

This commit is contained in:
Salih Altun
2024-06-05 18:53:30 +03:00
committed by GitHub
parent d1ddbf17d1
commit 761851a341
3 changed files with 19 additions and 1 deletions

View File

@@ -37,7 +37,7 @@ function StepArtifactsLayout() {
const activeStep = steps[activeIndex];
return (
<div className="px-4 flex">
<div className="flex">
<aside className="w-64 shrink-0">
<StepNavigation
activeIndex={activeIndex}

View File

@@ -121,6 +121,19 @@ function TaskDetails() {
>
Parameters
</NavLink>
<NavLink
to="artifacts"
className={({ isActive }) => {
return cn(
"cursor-pointer px-2 py-1 rounded-md text-muted-foreground",
{
"bg-primary-foreground text-foreground": isActive,
},
);
}}
>
Artifacts
</NavLink>
</div>
</div>
<Outlet />