feat: add command palette with cross-board search and actions
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user