Skip to content

Commit 824165e

Browse files
authored
feat(app): add workspace toggle command to command palette and prompt input (anomalyco#11810)
1 parent 562c9d7 commit 824165e

16 files changed

Lines changed: 107 additions & 3 deletions

File tree

packages/app/src/i18n/ar.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ export const dict = {
7070
"command.model.variant.cycle.description": "التبديل إلى مستوى الجهد التالي",
7171
"command.permissions.autoaccept.enable": "قبول التعديلات تلقائيًا",
7272
"command.permissions.autoaccept.disable": "إيقاف قبول التعديلات تلقائيًا",
73+
"command.workspace.toggle": "تبديل مساحات العمل",
7374
"command.session.undo": "تراجع",
7475
"command.session.undo.description": "تراجع عن الرسالة الأخيرة",
7576
"command.session.redo": "إعادة",
@@ -348,6 +349,11 @@ export const dict = {
348349
"toast.permissions.autoaccept.off.title": "توقف قبول التعديلات تلقائيًا",
349350
"toast.permissions.autoaccept.off.description": "ستتطلب أذونات التحرير والكتابة موافقة",
350351

352+
"toast.workspace.enabled.title": "تم تمكين مساحات العمل",
353+
"toast.workspace.enabled.description": "الآن يتم عرض عدة worktrees في الشريط الجانبي",
354+
"toast.workspace.disabled.title": "تم تعطيل مساحات العمل",
355+
"toast.workspace.disabled.description": "يتم عرض worktree الرئيسي فقط في الشريط الجانبي",
356+
351357
"toast.model.none.title": "لم يتم تحديد نموذج",
352358
"toast.model.none.description": "قم بتوصيل موفر لتلخيص هذه الجلسة",
353359

packages/app/src/i18n/br.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ export const dict = {
7070
"command.model.variant.cycle.description": "Mudar para o próximo nível de esforço",
7171
"command.permissions.autoaccept.enable": "Aceitar edições automaticamente",
7272
"command.permissions.autoaccept.disable": "Parar de aceitar edições automaticamente",
73+
"command.workspace.toggle": "Alternar espaços de trabalho",
7374
"command.session.undo": "Desfazer",
7475
"command.session.undo.description": "Desfazer a última mensagem",
7576
"command.session.redo": "Refazer",
@@ -347,6 +348,11 @@ export const dict = {
347348
"toast.permissions.autoaccept.off.title": "Parou de aceitar edições automaticamente",
348349
"toast.permissions.autoaccept.off.description": "Permissões de edição e escrita exigirão aprovação",
349350

351+
"toast.workspace.enabled.title": "Espaços de trabalho ativados",
352+
"toast.workspace.enabled.description": "Várias worktrees agora são exibidas na barra lateral",
353+
"toast.workspace.disabled.title": "Espaços de trabalho desativados",
354+
"toast.workspace.disabled.description": "Apenas a worktree principal é exibida na barra lateral",
355+
350356
"toast.model.none.title": "Nenhum modelo selecionado",
351357
"toast.model.none.description": "Conecte um provedor para resumir esta sessão",
352358

packages/app/src/i18n/da.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ export const dict = {
7070
"command.model.variant.cycle.description": "Skift til næste indsatsniveau",
7171
"command.permissions.autoaccept.enable": "Accepter ændringer automatisk",
7272
"command.permissions.autoaccept.disable": "Stop automatisk accept af ændringer",
73+
"command.workspace.toggle": "Skift arbejdsområder",
7374
"command.session.undo": "Fortryd",
7475
"command.session.undo.description": "Fortryd den sidste besked",
7576
"command.session.redo": "Omgør",
@@ -349,6 +350,11 @@ export const dict = {
349350
"toast.permissions.autoaccept.off.title": "Stoppede automatisk accept af ændringer",
350351
"toast.permissions.autoaccept.off.description": "Redigerings- og skrivetilladelser vil kræve godkendelse",
351352

353+
"toast.workspace.enabled.title": "Arbejdsområder aktiveret",
354+
"toast.workspace.enabled.description": "Flere worktrees vises nu i sidepanelet",
355+
"toast.workspace.disabled.title": "Arbejdsområder deaktiveret",
356+
"toast.workspace.disabled.description": "Kun hoved-worktree vises i sidepanelet",
357+
352358
"toast.model.none.title": "Ingen model valgt",
353359
"toast.model.none.description": "Forbind en udbyder for at opsummere denne session",
354360

packages/app/src/i18n/de.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ export const dict = {
7474
"command.model.variant.cycle.description": "Zum nächsten Aufwandslevel wechseln",
7575
"command.permissions.autoaccept.enable": "Änderungen automatisch akzeptieren",
7676
"command.permissions.autoaccept.disable": "Automatische Annahme von Änderungen stoppen",
77+
"command.workspace.toggle": "Arbeitsbereiche umschalten",
7778
"command.session.undo": "Rückgängig",
7879
"command.session.undo.description": "Letzte Nachricht rückgängig machen",
7980
"command.session.redo": "Wiederherstellen",

packages/app/src/i18n/en.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,8 @@ export const dict = {
7171
"command.model.variant.cycle.description": "Switch to the next effort level",
7272
"command.permissions.autoaccept.enable": "Auto-accept edits",
7373
"command.permissions.autoaccept.disable": "Stop auto-accepting edits",
74+
"command.workspace.toggle": "Toggle workspaces",
75+
"command.workspace.toggle.description": "Enable or disable multiple workspaces in the sidebar",
7476
"command.session.undo": "Undo",
7577
"command.session.undo.description": "Undo the last message",
7678
"command.session.redo": "Redo",
@@ -350,6 +352,11 @@ export const dict = {
350352
"toast.theme.title": "Theme switched",
351353
"toast.scheme.title": "Color scheme",
352354

355+
"toast.workspace.enabled.title": "Workspaces enabled",
356+
"toast.workspace.enabled.description": "Multiple worktrees are now shown in the sidebar",
357+
"toast.workspace.disabled.title": "Workspaces disabled",
358+
"toast.workspace.disabled.description": "Only the main worktree is shown in the sidebar",
359+
353360
"toast.permissions.autoaccept.on.title": "Auto-accepting edits",
354361
"toast.permissions.autoaccept.on.description": "Edit and write permissions will be automatically approved",
355362
"toast.permissions.autoaccept.off.title": "Stopped auto-accepting edits",

packages/app/src/i18n/es.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ export const dict = {
7070
"command.model.variant.cycle.description": "Cambiar al siguiente nivel de esfuerzo",
7171
"command.permissions.autoaccept.enable": "Aceptar ediciones automáticamente",
7272
"command.permissions.autoaccept.disable": "Dejar de aceptar ediciones automáticamente",
73+
"command.workspace.toggle": "Alternar espacios de trabajo",
7374
"command.session.undo": "Deshacer",
7475
"command.session.undo.description": "Deshacer el último mensaje",
7576
"command.session.redo": "Rehacer",
@@ -350,6 +351,11 @@ export const dict = {
350351
"toast.permissions.autoaccept.off.title": "Se dejó de aceptar ediciones automáticamente",
351352
"toast.permissions.autoaccept.off.description": "Los permisos de edición y escritura requerirán aprobación",
352353

354+
"toast.workspace.enabled.title": "Espacios de trabajo habilitados",
355+
"toast.workspace.enabled.description": "Ahora se muestran varios worktrees en la barra lateral",
356+
"toast.workspace.disabled.title": "Espacios de trabajo deshabilitados",
357+
"toast.workspace.disabled.description": "Solo se muestra el worktree principal en la barra lateral",
358+
353359
"toast.model.none.title": "Ningún modelo seleccionado",
354360
"toast.model.none.description": "Conecta un proveedor para resumir esta sesión",
355361

packages/app/src/i18n/fr.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ export const dict = {
7070
"command.model.variant.cycle.description": "Passer au niveau d'effort suivant",
7171
"command.permissions.autoaccept.enable": "Accepter automatiquement les modifications",
7272
"command.permissions.autoaccept.disable": "Arrêter l'acceptation automatique des modifications",
73+
"command.workspace.toggle": "Basculer les espaces de travail",
7374
"command.session.undo": "Annuler",
7475
"command.session.undo.description": "Annuler le dernier message",
7576
"command.session.redo": "Rétablir",
@@ -352,6 +353,11 @@ export const dict = {
352353
"toast.permissions.autoaccept.off.description":
353354
"Les permissions de modification et d'écriture nécessiteront une approbation",
354355

356+
"toast.workspace.enabled.title": "Espaces de travail activés",
357+
"toast.workspace.enabled.description": "Plusieurs worktrees sont désormais affichés dans la barre latérale",
358+
"toast.workspace.disabled.title": "Espaces de travail désactivés",
359+
"toast.workspace.disabled.description": "Seul le worktree principal est affiché dans la barre latérale",
360+
355361
"toast.model.none.title": "Aucun modèle sélectionné",
356362
"toast.model.none.description": "Connectez un fournisseur pour résumer cette session",
357363

packages/app/src/i18n/ja.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ export const dict = {
7070
"command.model.variant.cycle.description": "次の思考レベルに切り替え",
7171
"command.permissions.autoaccept.enable": "編集を自動承認",
7272
"command.permissions.autoaccept.disable": "編集の自動承認を停止",
73+
"command.workspace.toggle": "ワークスペースを切り替え",
7374
"command.session.undo": "元に戻す",
7475
"command.session.undo.description": "最後のメッセージを元に戻す",
7576
"command.session.redo": "やり直す",

packages/app/src/i18n/ko.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ export const dict = {
7474
"command.model.variant.cycle.description": "다음 생각 수준으로 전환",
7575
"command.permissions.autoaccept.enable": "편집 자동 수락",
7676
"command.permissions.autoaccept.disable": "편집 자동 수락 중지",
77+
"command.workspace.toggle": "작업 공간 전환",
7778
"command.session.undo": "실행 취소",
7879
"command.session.undo.description": "마지막 메시지 실행 취소",
7980
"command.session.redo": "다시 실행",
@@ -351,6 +352,11 @@ export const dict = {
351352
"toast.permissions.autoaccept.off.title": "편집 자동 수락 중지됨",
352353
"toast.permissions.autoaccept.off.description": "편집 및 쓰기 권한 승인이 필요합니다",
353354

355+
"toast.workspace.enabled.title": "작업 공간 활성화됨",
356+
"toast.workspace.enabled.description": "이제 사이드바에 여러 작업 트리가 표시됩니다",
357+
"toast.workspace.disabled.title": "작업 공간 비활성화됨",
358+
"toast.workspace.disabled.description": "사이드바에 메인 작업 트리만 표시됩니다",
359+
354360
"toast.model.none.title": "선택된 모델 없음",
355361
"toast.model.none.description": "이 세션을 요약하려면 공급자를 연결하세요",
356362

packages/app/src/i18n/no.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ export const dict = {
7373
"command.model.variant.cycle.description": "Bytt til neste innsatsnivå",
7474
"command.permissions.autoaccept.enable": "Godta endringer automatisk",
7575
"command.permissions.autoaccept.disable": "Slutt å godta endringer automatisk",
76+
"command.workspace.toggle": "Veksle arbeidsområder",
7677
"command.session.undo": "Angre",
7778
"command.session.undo.description": "Angre siste melding",
7879
"command.session.redo": "Gjør om",
@@ -351,6 +352,11 @@ export const dict = {
351352
"toast.permissions.autoaccept.off.title": "Sluttet å godta endringer automatisk",
352353
"toast.permissions.autoaccept.off.description": "Redigerings- og skrivetillatelser vil kreve godkjenning",
353354

355+
"toast.workspace.enabled.title": "Arbeidsområder aktivert",
356+
"toast.workspace.enabled.description": "Flere worktrees vises nå i sidefeltet",
357+
"toast.workspace.disabled.title": "Arbeidsområder deaktivert",
358+
"toast.workspace.disabled.description": "Kun hoved-worktree vises i sidefeltet",
359+
354360
"toast.model.none.title": "Ingen modell valgt",
355361
"toast.model.none.description": "Koble til en leverandør for å oppsummere denne sesjonen",
356362

0 commit comments

Comments
 (0)