You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
make browser notification option on thirdshift console web ui #958
Category: enhancement Summary: An open Console tab can show a browser notification when something new needs the Day shift
Current behavior:
The Console's Inbox counts what needs you: its tab title reads "N need you" and its favicon turns urgent. Open pages update live from the Console's change stream (/events). Unless you're looking at the tab, nothing tells you a new item has arrived. The Console sends no browser notifications. Its Content-Security-Policy allows only same-origin scripts.
Desired behavior:
Settled with the maintainer during triage: notifications come only from an open Console tab (e.g. a pinned one), through the browser's Notification API. No service worker, Web Push, new secrets or stored push subscriptions.
A control in the Console turns notifications on for this browser. Clicking it asks for the browser's permission. The choice is remembered per browser, and the same control turns them off.
While notifications are on, a rise in the need-you count shows one notification: how many need you, on which host, and the newest item. Clicking it focuses the tab and opens the Inbox.
No notification on page load, for items already counted when the tab opened, when the count falls or stays the same, or while notifications are off. Several open tabs show at most one notification per rise.
If permission is denied, the browser has no Notification API, or the page isn't a secure context, the control says why and stays off. Nothing else in the Console changes.
Key interfaces:
The Inbox's need-you count (what its tab title and urgent favicon use) and the items behind it.
The Console's live change stream (/events) and the client script that applies changes to open pages.
The Console's Content-Security-Policy: scripts stay same-origin asset files, with no inline script.
The Console's browser tests (Playwright), which can grant or deny notification permission and stub Notification.
Acceptance criteria:
With permission granted and notifications on, a rise in the need-you count shows exactly one notification naming the count and host. Clicking it opens the Inbox.
No notification on page load, when the count falls or doesn't change, or while notifications are off.
With permission denied or Notification missing, the control explains why and the page has no errors.
The choice survives a reload in the same browser and can be turned off.
No inline script is added and the Content-Security-Policy is unchanged.
The Console's docs say how to turn notifications on.
Out of scope:
Notifications with no Console tab open (Web Push, service workers).
Email or other notification channels.
Choosing which kinds of item notify: every new need-you item does.
Activity
JacobStephens2 commentedon Oct 21, 2026
Agent Brief
Category: enhancement
Summary: An open Console tab can show a browser notification when something new needs the Day shift
Current behavior:
The Console's Inbox counts what needs you: its tab title reads "N need you" and its favicon turns urgent. Open pages update live from the Console's change stream (
/events). Unless you're looking at the tab, nothing tells you a new item has arrived. The Console sends no browser notifications. Its Content-Security-Policy allows only same-origin scripts.Desired behavior:
Key interfaces:
/events) and the client script that applies changes to open pages.Notification.Acceptance criteria:
Notificationmissing, the control explains why and the page has no errors.Out of scope: