From 7e3c5beaea56ee62b60cd49bc0317c8a182ea7ab Mon Sep 17 00:00:00 2001 From: Jannat Patel Date: Wed, 10 Dec 2025 11:17:21 +0530 Subject: [PATCH] fix: filter search records based on roles --- frontend/components.d.ts | 2 + .../CommandPalette/CommandPalette.vue | 21 +++++++-- .../CommandPalette/CommandPaletteGroup.vue | 5 +- .../src/components/Sidebar/AppSidebar.vue | 7 ++- frontend/src/components/Sidebar/Apps.vue | 2 +- frontend/vite.config.js | 2 +- lms/command_palette.py | 43 +++++++++++++++-- lms/sqlite.py | 46 ++++++------------- 8 files changed, 81 insertions(+), 47 deletions(-) diff --git a/frontend/components.d.ts b/frontend/components.d.ts index f7cc0a5d..95951283 100644 --- a/frontend/components.d.ts +++ b/frontend/components.d.ts @@ -90,6 +90,8 @@ declare module 'vue' { LucideArrowDown: typeof import('~icons/lucide/arrow-down')['default'] LucideArrowUp: typeof import('~icons/lucide/arrow-up')['default'] LucideCornerDownLeft: typeof import('~icons/lucide/corner-down-left')['default'] + LucideSearch: typeof import('~icons/lucide/search')['default'] + LucideX: typeof import('~icons/lucide/x')['default'] Members: typeof import('./src/components/Settings/Members.vue')['default'] MobileLayout: typeof import('./src/components/MobileLayout.vue')['default'] MultiSelect: typeof import('./src/components/Controls/MultiSelect.vue')['default'] diff --git a/frontend/src/components/CommandPalette/CommandPalette.vue b/frontend/src/components/CommandPalette/CommandPalette.vue index c4fdf036..27e6eb4b 100644 --- a/frontend/src/components/CommandPalette/CommandPalette.vue +++ b/frontend/src/components/CommandPalette/CommandPalette.vue @@ -18,11 +18,17 @@
- +
- +
@@ -61,7 +67,8 @@