feat: search page functionality

This commit is contained in:
Jannat Patel
2025-12-11 14:56:28 +05:30
parent 3de5fb0622
commit 820ea7e2a4
4 changed files with 98 additions and 41 deletions

View File

@@ -215,7 +215,7 @@ const shortcutForEnter = () => {
const navigateTo = (route: string) => {
show.value = false
query.value = ''
router.push({ name: route.name, params: route.params, query: route.query })
router.replace({ name: route.name, params: route.params, query: route.query })
}
const jumpToOptions = ref([

View File

@@ -240,7 +240,14 @@ const showPageModal = ref(false)
const isModerator = ref(false)
const isInstructor = ref(false)
const pageToEdit = ref(null)
const { settings, sidebarSettings, activeTab, isSettingsOpen } = useSettings()
const {
settings,
sidebarSettings,
activeTab,
isSettingsOpen,
isCommandPaletteOpen,
} = useSettings()
const settingsStore = useSettings()
const showOnboarding = ref(false)
const showIntermediateModal = ref(false)
const currentStep = ref({})