feat: add command palette with cross-board search and actions

This commit is contained in:
Your Name
2026-02-15 19:12:49 +02:00
parent b527d441e3
commit 5b3bf2b058
5 changed files with 283 additions and 4 deletions

View File

@@ -128,6 +128,9 @@ export function TopBar() {
variant="ghost"
size="icon-sm"
className="text-pylon-text-secondary hover:text-pylon-text"
onClick={() =>
document.dispatchEvent(new CustomEvent("open-command-palette"))
}
>
<Search className="size-4" />
</Button>
@@ -144,6 +147,9 @@ export function TopBar() {
variant="ghost"
size="icon-sm"
className="text-pylon-text-secondary hover:text-pylon-text"
onClick={() =>
document.dispatchEvent(new CustomEvent("open-settings-dialog"))
}
>
<Settings className="size-4" />
</Button>