Skip to content

Commit 337f44f

Browse files
committed
[Projects]: Add a breadcrumb
1 parent a18f0e0 commit 337f44f

File tree

10 files changed

+418
-26
lines changed

10 files changed

+418
-26
lines changed

.claude/settings.local.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"permissions": {
3+
"allow": [
4+
"Bash(ls:*)"
5+
]
6+
}
7+
}

src/lib/components/board/board.svelte

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,10 @@
2323
editTaskId?: string;
2424
projectId?: string;
2525
breadcrumb?: Array<BreadcrumbItem>;
26+
allProjects?: Array<any>;
2627
}
2728
28-
let { handleSubmit, cards = [], openTaskId, editTaskId, projectId, breadcrumb }: Props = $props();
29+
let { handleSubmit, cards = [], openTaskId, editTaskId, projectId, breadcrumb, allProjects }: Props = $props();
2930
3031
const basePath = $derived(projectId ? `/app/project/${projectId}` : '/app');
3132
@@ -180,7 +181,7 @@
180181
<svelte:window onkeydown={handleEscapeKeydown} />
181182

182183
<div class="filter-wrapper">
183-
<Breadcrumb {breadcrumb} />
184+
<Breadcrumb {breadcrumb} {allProjects} />
184185
<TextField
185186
class="card-filter"
186187
type="search"

0 commit comments

Comments
 (0)