Phase 13: Real Lint Gate — type-aware ESLint + Prettier format gate #8

Merged
luckberg merged 25 commits from gsd/phase-13-real-lint-gate-eslint into main 2026-06-11 21:51:10 -04:00
Showing only changes of commit af78ccc8b9 - Show all commits
+10 -1
View File
@@ -171,7 +171,16 @@ self.addEventListener('notificationclick', (event: NotificationEvent) => {
// from the current window location (query string with event uid / date).
for (const client of clientList) {
if ('focus' in client) {
return client.focus().then(() => client.navigate(url));
return client
.focus()
.then(() => client.navigate(url))
.then((navigated) => {
if (navigated === null && self.clients.openWindow)
return self.clients.openWindow(url);
})
.catch(() => {
if (self.clients.openWindow) return self.clients.openWindow(url);
});
}
}
// No existing window — open a new one at the deep-link URL