feat(palette): unify quick open into command palette with multi-source search

Merge file picker into command palette. Single Cmd+P entry searches
files, sessions, settings pages and commands; groups re-order by best
fuzzy score per source. Sessions show branch labels; git status is
lazily fetched for all session directories on open.

Drop QuickOpenDialog and Cmd+K shortcut.
This commit is contained in:
Bohdan Triapitsyn
2026-04-30 18:37:37 +03:00
parent 57eec76a7b
commit 24533dfe32
23 changed files with 550 additions and 882 deletions
+4 -53
View File
@@ -1069,7 +1069,6 @@ export const dict: Record<I18nKey, string> = {
"helpDialog.section.panels": "Панелі",
"helpDialog.section.interface": "Інтерфейс",
"helpDialog.item.openCommandPalette": "Відкрити палітру команд",
"helpDialog.item.quickOpenFile": "Швидке відкриття файлу",
"helpDialog.item.showKeyboardShortcuts": "Показати комбінації клавіш (це діалогове вікно)",
"helpDialog.item.toggleSessionSidebar": "Перемкнути бічну панель сесій",
"helpDialog.item.cycleAgent": "Перемкнути агента (введення в чат)",
@@ -1552,68 +1551,20 @@ export const dict: Record<I18nKey, string> = {
"chat.messageBody.shellCommand.showOutput": "Показати результат",
"chat.messageBody.shellCommand.copied": "Скопійовано",
"chat.messageBody.shellCommand.copyOutput": "Копіювати вивід",
"commandPalette.input.placeholder": "Введіть команду або знайдіть...",
"commandPalette.title": "Палітра команд",
"commandPalette.description": "Пошук файлів, сесій і команд.",
"commandPalette.input.placeholder": "Пошук файлів, сесій, команд...",
"commandPalette.empty.noResults": "Результатів не знайдено.",
"commandPalette.section.sessions": "Сесії",
"commandPalette.section.view": "Переглянути",
"commandPalette.section.theme": "Тема",
"commandPalette.section.settings": "Налаштування",
"commandPalette.section.recentSessions": "Останні сесії",
"commandPalette.item.quickOpen": "Швидке відкриття",
"commandPalette.empty.searchingFiles": "Пошук файлів...",
"commandPalette.item.newSession": "Нова сесія",
"commandPalette.item.newWorktreeDraft": "Чернетка нового worktree",
"commandPalette.item.showSessionSwitcher": "Показати перемикач сесій",
"commandPalette.item.toggleSidebar": "Перемкнути бічну панель",
"commandPalette.item.toggleRightSidebar": "Перемкнути праву бічну панель",
"commandPalette.item.showGitRightSidebar": "Показати Git на правій бічній панелі",
"commandPalette.item.showFilesRightSidebar": "Показати файли на правій бічній панелі",
"commandPalette.item.showContextUsage": "Показати використання контексту",
"commandPalette.item.showPlan": "Показати план",
"commandPalette.item.toggleTerminal": "Перемкнути термінал",
"commandPalette.item.collapseTerminal": "Згорнути термінал",
"commandPalette.item.expandTerminal": "Розгорнути термінал",
"commandPalette.item.keyboardShortcuts": "Комбінації клавіш",
"commandPalette.item.themeLight": "Світла тема",
"commandPalette.item.themeDark": "Темна тема",
"commandPalette.item.themeSystem": "Системна тема",
"commandPalette.item.openSettings": "Відкрити налаштування...",
"commandPalette.session.untitled": "Сесія без назви",
"commandPalette.settingsGroup.appearance": "Зовнішній вигляд",
"commandPalette.settingsGroup.projects": "Проєкти",
"commandPalette.settingsGroup.general": "Загальний",
"commandPalette.settingsGroup.opencode": "OpenChamber",
"commandPalette.settingsGroup.git": "Git",
"commandPalette.settingsGroup.skills": "Навички",
"commandPalette.settingsGroup.usage": "Використання",
"commandPalette.settingsGroup.advanced": "Просунутий",
"commandPalette.settingsPage.home": "додому",
"commandPalette.settingsPage.projects": "Проєкти",
"commandPalette.settingsPage.remoteInstances": "Віддалені інстанси",
"commandPalette.settingsPage.providers": "Провайдери",
"commandPalette.settingsPage.usage": "Використання",
"commandPalette.settingsPage.agents": "Агенти",
"commandPalette.settingsPage.commands": "Команди",
"commandPalette.settingsPage.mcp": "MCP",
"commandPalette.settingsPage.skillsInstalled": "Встановлені навички",
"commandPalette.settingsPage.skillsCatalog": "Каталог навичок",
"commandPalette.settingsPage.git": "Git",
"commandPalette.settingsPage.appearance": "Зовнішній вигляд",
"commandPalette.settingsPage.chat": "Чат",
"commandPalette.settingsPage.shortcuts": "Комбінації клавіш",
"commandPalette.settingsPage.sessions": "Сесії",
"commandPalette.settingsPage.magicPrompts": "Магічні промпти",
"commandPalette.settingsPage.notifications": "Сповіщення",
"commandPalette.settingsPage.voice": "Голос",
"commandPalette.settingsPage.tunnel": "Віддалений тунель",
"quickOpenDialog.title": "Швидке відкриття",
"quickOpenDialog.description": "Швидко відкрити файл у поточному проєкті.",
"quickOpenDialog.input.placeholder": "Пошук файлів...",
"quickOpenDialog.empty.openProjectFirst": "Спочатку відкрийте проєкт",
"quickOpenDialog.empty.searchingFiles": "Пошук файлів...",
"quickOpenDialog.empty.noMatchingFiles": "Відповідних файлів не знайдено",
"quickOpenDialog.empty.noMatchingRecentFiles": "Останні файли не знайдено",
"quickOpenDialog.group.files": "Файли",
"quickOpenDialog.group.recentFiles": "Останні файли",
"openCodeStatusDialog.title": "Статус OpenCode",
"openCodeStatusDialog.description": "Перегляньте поточний стан OpenCode і діагностику.",
"openCodeStatusDialog.actions.copy": "Копіювати",