Feat: Command palette (#105)

* Add command palette with smart navigation and usage tracking

- Add CommandPalette.vue component with keyboard shortcut (Cmd+K/Ctrl+K)
- Implement smart route navigation with parameter input support
- Add content search integration via Elasticsearch
- Create commandTracking.ts utility for usage analytics
- Track command frequency and recency with scoring algorithm
- Support for all application routes with metadata and icons
- Includes badge system for auth requirements and shortcuts

* Integrate CommandPalette into main application

- Add CommandPalette component to App.vue
- Enable global keyboard shortcut (Cmd+K/Ctrl+K)
- Command palette is now accessible from anywhere in the app
This commit is contained in:
2026-03-08 21:29:07 +01:00
committed by GitHub
parent c309016299
commit 0cd2a73a8b
3 changed files with 943 additions and 0 deletions

View File

@@ -13,6 +13,9 @@
<!-- Popup that will show above existing rendered content -->
<popup />
<!-- Command Palette for quick navigation -->
<command-palette />
<darkmode-toggle />
</div>
</template>
@@ -22,6 +25,7 @@
import NavigationHeader from "@/components/header/NavigationHeader.vue";
import NavigationIcons from "@/components/header/NavigationIcons.vue";
import Popup from "@/components/Popup.vue";
import CommandPalette from "@/components/ui/CommandPalette.vue";
import DarkmodeToggle from "@/components/ui/DarkmodeToggle.vue";
const router = useRouter();