Merge pull request #33649 from overleaf/mj-command-palette

[web] Add command palette

GitOrigin-RevId: 5bf1903836810ca5f0e2bc7f6c00a4b1da797ea2
This commit is contained in:
Mathias Jakobsen
2026-05-21 08:07:04 +00:00
committed by Copybot
parent 5cfd7b6c6a
commit eddec90cb1
14 changed files with 573 additions and 3 deletions
@@ -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>
)