+ {#if breadcrumbs.length > 0}
+
+
+ {#each breadcrumbs as crumb, index}
+ /
+
+ {crumb.name}
+
+ {/each}
+
+ {/if}
+
+ {#each filteredGroups as group, groupIndex}
+
+
{group.name}
+
+ {#each group.actions as action, actionIndex}
+ {@const globalIndex =
+ filteredGroups
+ .slice(0, groupIndex)
+ .reduce((sum, g) => sum + g.actions.length, 0) + actionIndex}
+ -
+ {
+ e.stopPropagation()
+ handleSelect(action)
+ }}
+ class="{globalIndex == selectedIndex
+ ? '!bg-slate-100 dark:!bg-zinc-800 text-inherit'
+ : 'text-slate-600 dark:text-zinc-400'} block"
+ />
+
+ {/each}
+
+
+ {/each}
+ {#if search != ''}
+
+
+ {$t('nav.commands.search', { default: '' })}
+
+
+ {/if}
+
+
diff --git a/src/lib/components/ui/navbar/commands/CommandsWrapper.svelte b/src/lib/components/ui/navbar/commands/CommandsWrapper.svelte
new file mode 100644
index 00000000..e17ed794
--- /dev/null
+++ b/src/lib/components/ui/navbar/commands/CommandsWrapper.svelte
@@ -0,0 +1,49 @@
+
+
+