* feat(ui): add command palette for quick navigation and search Replace top bar search with a command palette (⌘K / Ctrl+K) that provides: - Quick navigation to all app sections - Create shortcuts for sources, notebooks, and podcasts - Theme switching (light/dark/system) - Search and Ask functionality for non-matching queries This approach saves screen real estate while providing faster access to common actions through keyboard shortcuts. Co-authored-by: EmbroiderSnow <1497411439@qq.com> * chore: bump to 1.2.3 * feat(command-palette): add notebook quick navigation Users can now type a notebook name in the command palette (⌘K) to navigate directly to that notebook. Shows up to 8 most recent notebooks, with cmdk filtering all notebooks when typing. * fix(command-palette): address code review issues - Skip ⌘K/Ctrl+K shortcut when focus is inside input, textarea, select, or contentEditable elements to preserve native keyboard handling - Remove 8-item limit on notebooks so all notebooks are searchable via cmdk filtering * perf(command-palette): memoize command matching and add platform shortcuts - Memoize hasCommandMatch computation with useMemo to avoid recalculating on every render - Show platform-specific keyboard shortcut in sidebar hint: ⌘K on macOS, Ctrl+K on Windows/Linux * fix(command-palette): add spinner to notebooks loading state Show a spinning Loader2 icon alongside the "Loading notebooks..." text for clearer visual feedback when the command palette is fetching data. --------- Co-authored-by: EmbroiderSnow <1497411439@qq.com> |
||
|---|---|---|
| .. | ||
| public | ||
| src | ||
| .gitignore | ||
| components.json | ||
| eslint.config.mjs | ||
| next.config.ts | ||
| package-lock.json | ||
| package.json | ||
| postcss.config.mjs | ||
| tailwind.config.ts | ||
| tsconfig.json | ||