mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-09-10 22:43:37 +00:00
feat(web): always show workflow breadcrumb on run detail
The workflow breadcrumb was previously demo-mode-only. Render it in all modes and point it at the runs list filtered by that workflow, which is now honored via URL params. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
49c1263c8a
commit
7034266dc9
1 changed files with 7 additions and 8 deletions
|
|
@ -237,14 +237,13 @@ export default function RunDetail({ params }: { params: { id: string } }) {
|
|||
)}
|
||||
>
|
||||
<Link to="/runs" className="text-fg-3 hover:text-fg">Runs</Link>
|
||||
{demoMode && (
|
||||
<>
|
||||
<ChevronRightIcon className="size-3" />
|
||||
<Link to={`/workflows/${run.workflow}`} className="text-fg-3 hover:text-fg">
|
||||
{run.workflow}
|
||||
</Link>
|
||||
</>
|
||||
)}
|
||||
<ChevronRightIcon className="size-3" />
|
||||
<Link
|
||||
to={`/runs?workflow=${encodeURIComponent(run.workflow)}`}
|
||||
className="text-fg-3 hover:text-fg"
|
||||
>
|
||||
{run.workflow}
|
||||
</Link>
|
||||
<ChevronRightIcon className="size-3" />
|
||||
<span>{run.title}</span>
|
||||
</nav>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue