Add program reminders and category filtering to the guide UI

Enhance health diagnostics with EPG quality and source metrics
This commit is contained in:
Johnnybegood90
2026-03-17 03:10:21 +01:00
parent 9e543365d8
commit 9b068e7c74
17 changed files with 615 additions and 50 deletions
+17
View File
@@ -75,3 +75,20 @@ self.addEventListener('fetch', e => {
.catch(() => caches.match(e.request))
);
});
self.addEventListener('notificationclick', e => {
const url = e.notification?.data?.url || '/index.php';
e.notification.close();
e.waitUntil(
clients.matchAll({ type: 'window', includeUncontrolled: true }).then(windowClients => {
for (const client of windowClients) {
if ('focus' in client) {
client.navigate(url);
return client.focus();
}
}
if (clients.openWindow) return clients.openWindow(url);
return undefined;
})
);
});