A single decision function returning chime, os or none. Info events, events with sound turned off, and muted sessions return none — the desktop notification may still appear, silently, because mute governs audio rather than visibility.
Also called: double notification · it dings and pops up at the same time · I hear nothing in another tab
- 1decideAudiblePath takes severity, the event's sound channel, whether the document is hidden, and whether an OS notification will actually show.
- 2The fallback chime plays in hidden tabs, which browsers permit once audio is unlocked.
The comment names the hole the fallback closes: 'Without this fallback a user who dismissed the permission card gets NOTHING audible — the exact missed-event hole this feature fixes.' The matrix also guarantees the alert is never doubled.
- Double-alerting
- Silence for users who declined desktop notifications
See it on your own jobs
Twenty minutes, your numbers, no slide deck. We’ll build one of your real buildings in front of you and send you the estimate link at the end — yours to keep either way.
or keep browsing features →