Show an error for missing project paths (#1490)

* Fix missing project paths flashing in the sidebar

* Log project lifecycle changes

* Address project picker review feedback

* Show project picker transport errors

* Inject session filesystem for workspace tests
This commit is contained in:
Mohamed Boudra
2026-06-12 23:42:21 +08:00
committed by GitHub
parent c4d544baf6
commit a929ea9726
20 changed files with 603 additions and 73 deletions
+5
View File
@@ -1025,6 +1025,11 @@ export const ar: TranslationResources = {
placeholder: "اكتب مسار الدليل...",
opening: "افتتاح المشروع...",
empty: "ابدأ بكتابة المسار",
errors: {
directory_not_found: "لم يتم العثور على الدليل.",
open_failed: "تعذر فتح المشروع.",
},
openPath: "فتح المسار",
},
branchSwitcher: {
currentBranch: "الفرع الحالي:{{branchName}}. اضغط لتبديل الفرع.",
+5
View File
@@ -1030,6 +1030,11 @@ export const en = {
placeholder: "Type a directory path...",
opening: "Opening project...",
empty: "Start typing a path",
errors: {
directory_not_found: "Directory not found.",
open_failed: "Could not open project.",
},
openPath: "Open path",
},
branchSwitcher: {
currentBranch: "Current branch: {{branchName}}. Press to switch branch.",
+5
View File
@@ -1057,6 +1057,11 @@ export const es: TranslationResources = {
placeholder: "Escriba una ruta de directorio...",
opening: "Proyecto de apertura...",
empty: "Comience a escribir una ruta",
errors: {
directory_not_found: "No se encontró el directorio.",
open_failed: "No se pudo abrir el proyecto.",
},
openPath: "Abrir ruta",
},
branchSwitcher: {
currentBranch: "Sucursal actual:{{branchName}}. Presione para cambiar de rama.",
+5
View File
@@ -1059,6 +1059,11 @@ export const fr: TranslationResources = {
placeholder: "Tapez un chemin de répertoire...",
opening: "Projet d'ouverture...",
empty: "Commencez à taper un chemin",
errors: {
directory_not_found: "Répertoire introuvable.",
open_failed: "Impossible d’ouvrir le projet.",
},
openPath: "Ouvrir le chemin",
},
branchSwitcher: {
currentBranch: "Branche actuelle:{{branchName}}. Appuyez pour changer de branche.",
+5
View File
@@ -1047,6 +1047,11 @@ export const ru: TranslationResources = {
placeholder: "Введите путь к каталогу...",
opening: "Открытие проекта...",
empty: "Начните вводить путь",
errors: {
directory_not_found: "Каталог не найден.",
open_failed: "Не удалось открыть проект.",
},
openPath: "Открыть путь",
},
branchSwitcher: {
currentBranch: "Текущая ветка:{{branchName}}. Нажмите, чтобы переключить ветку.",
+5
View File
@@ -1010,6 +1010,11 @@ export const zhCN: TranslationResources = {
placeholder: "输入目录路径...",
opening: "正在打开 project...",
empty: "开始输入路径",
errors: {
directory_not_found: "找不到目录。",
open_failed: "无法打开项目。",
},
openPath: "打开路径",
},
branchSwitcher: {
currentBranch: "当前分支:{{branchName}}。按下以切换分支。",