feat(renderer): GitStatusPanel sidebar tab + git.refresh event

This commit is contained in:
2026-06-06 08:28:37 +05:30
parent 2d77fa5456
commit 95bbe171b5
7 changed files with 202 additions and 5 deletions
@@ -66,7 +66,7 @@ export function registerMenuCommands(): void {
if (typeof window !== 'undefined') window.dispatchEvent(new CustomEvent('mc:print'));
},
'git.refresh': () => {
/* stub — actual refresh is a useEffect in GitStatusPanel */
if (typeof window !== 'undefined') window.dispatchEvent(new CustomEvent('mc:git-refresh'));
},
});