feat(notifications): auto-dismiss loading OSD on overlay visibility chan

- add dismissOverlayLoadingOsd dep and call it on hide/show paths (macOS only)
- simplify notification card styles: remove accent bar, flatten gradient bg, tweak spacing
- fix test CSS path to use __dirname instead of process.cwd()
This commit is contained in:
2026-06-05 12:58:02 -07:00
parent a3b907adff
commit 0f8370a3a9
7 changed files with 29 additions and 29 deletions
+3
View File
@@ -2651,6 +2651,9 @@ const overlayVisibilityRuntime = createOverlayVisibilityRuntimeService(
showOverlayLoadingOsd: (message: string) => {
showOverlayLoadingStatusNotification(message);
},
dismissOverlayLoadingOsd: () => {
dismissOverlayNotification('overlay-loading-status');
},
hideNonNativeOverlayWhenTargetUnfocused: () =>
shouldRunLinuxOverlayZOrderKeepAlive() &&
linuxVisibleOverlayWindowMode === 'fullscreen-override',