mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-14 14:13:43 +01:00
Merge pull request #33649 from overleaf/mj-command-palette
[web] Add command palette GitOrigin-RevId: 5bf1903836810ca5f0e2bc7f6c00a4b1da797ea2
This commit is contained in:
committed by
Copybot
parent
5cfd7b6c6a
commit
eddec90cb1
@@ -14,6 +14,7 @@ import useThemedPage from '@/shared/hooks/use-themed-page'
|
||||
|
||||
import MainLayout from '@/features/ide-react/components/layout/main-layout'
|
||||
import SettingsModalNew from '@/features/settings/components/settings-modal'
|
||||
import CommandPalette from '@/features/command-palette/components/command-palette'
|
||||
|
||||
export default function IdePage() {
|
||||
useLayoutEventTracking() // sent event when the layout changes
|
||||
@@ -25,6 +26,7 @@ export default function IdePage() {
|
||||
useThemedPage() // set the page theme based on user settings
|
||||
|
||||
const showEditorSurvey = useFeatureFlag('editor-popup-ux-survey-03-2026')
|
||||
const showCommandPalette = useFeatureFlag('command-palette')
|
||||
|
||||
return (
|
||||
<GlobalAlertsProvider>
|
||||
@@ -33,6 +35,7 @@ export default function IdePage() {
|
||||
<SettingsModalNew />
|
||||
<MainLayout />
|
||||
<GlobalToasts />
|
||||
{showCommandPalette && <CommandPalette />}
|
||||
{showEditorSurvey && <EditorSurvey />}
|
||||
</GlobalAlertsProvider>
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user