fix(ui): preserve VS Code themes during settings broadcasts

This commit is contained in:
Bohdan Triapitsyn
2026-09-03 12:41:59 +03:00
141 changed files with 3435 additions and 286 deletions
+4
View File
@@ -130,6 +130,10 @@ export const createVSCodeGitAPI = (): GitAPI => ({
return sendBridgeMessage<GitBranch>('api:git/branches', { directory, method: 'GET' });
},
getGitUnpushedBranchCounts: async (directory: string, branches: string[]) => {
return sendBridgeMessage('api:git/branch-push-status', { directory, branches });
},
deleteGitBranch: async (directory: string, payload: GitDeleteBranchPayload): Promise<{ success: boolean }> => {
return sendBridgeMessage<{ success: boolean }>('api:git/branches', {
directory,
+1 -1
View File
@@ -1859,7 +1859,7 @@ window.addEventListener('openchamber:vscode-notification-event', (event) => {
// Listen for settings sync command from extension (broadcast to all VS Code webviews)
onCommand('settingsSynced', () => {
import('@openchamber/ui/lib/persistence').then(({ syncDesktopSettings }) => {
void syncDesktopSettings();
void syncDesktopSettings({ adoptTheme: false });
});
});