From 900a8e47a584095a57e9acf01fe64b14ad561f82 Mon Sep 17 00:00:00 2001 From: Alex Blank Date: Tue, 21 Jul 2026 21:14:08 +0200 Subject: [PATCH] fix(config-profiles): show Git mount refresh progress Disable duplicate refresh requests and show in-progress feedback while Git mount sources are refreshed. --- .../config-profiles/ConfigProfileEditorPanel.tsx | 14 ++++++++++++-- .../config-profiles/ConfigProfilesMobileView.tsx | 14 +++++++++++++- apps/web/src/hooks/use-config-profiles.ts | 7 +++++++ apps/web/src/pages/ConfigProfilesPage.tsx | 7 ++++++- .../live-git-config-mount-refresh/change.md | 2 ++ .../live-git-config-mount-refresh/design.md | 2 ++ .../changes/live-git-config-mount-refresh/tasks.md | 3 ++- 7 files changed, 44 insertions(+), 5 deletions(-) diff --git a/apps/web/src/components/features/config-profiles/ConfigProfileEditorPanel.tsx b/apps/web/src/components/features/config-profiles/ConfigProfileEditorPanel.tsx index 22bcb57..3b85fb8 100644 --- a/apps/web/src/components/features/config-profiles/ConfigProfileEditorPanel.tsx +++ b/apps/web/src/components/features/config-profiles/ConfigProfileEditorPanel.tsx @@ -14,6 +14,7 @@ interface Props { saveStatus: "idle" | "saving" | "saved" | "error"; previewData: ResolvedProfile | null; previewingId: string | null; + isRefreshingGitMounts: boolean; projects: ProjectWithRepos[]; toolTypes: ToolType[]; availableProfiles: ConfigProfile[]; @@ -55,6 +56,7 @@ export const ConfigProfileEditorPanel = ({ saveStatus, previewData, previewingId, + isRefreshingGitMounts, projects, toolTypes, availableProfiles, @@ -116,8 +118,16 @@ export const ConfigProfileEditorPanel = ({ {!isCreating && selectedProfile && (
-