feat: add command palette with cross-board search and actions
This commit is contained in:
10
src/App.tsx
10
src/App.tsx
@@ -3,6 +3,7 @@ import { useAppStore } from "@/stores/app-store";
|
||||
import { AppShell } from "@/components/layout/AppShell";
|
||||
import { BoardList } from "@/components/boards/BoardList";
|
||||
import { BoardView } from "@/components/board/BoardView";
|
||||
import { CommandPalette } from "@/components/command-palette/CommandPalette";
|
||||
|
||||
export default function App() {
|
||||
const initialized = useAppStore((s) => s.initialized);
|
||||
@@ -24,8 +25,11 @@ export default function App() {
|
||||
}
|
||||
|
||||
return (
|
||||
<AppShell>
|
||||
{view.type === "board-list" ? <BoardList /> : <BoardView />}
|
||||
</AppShell>
|
||||
<>
|
||||
<AppShell>
|
||||
{view.type === "board-list" ? <BoardList /> : <BoardView />}
|
||||
</AppShell>
|
||||
<CommandPalette onOpenSettings={() => {}} />
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user