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
The bell reads as off while in-app alerts still show, before notification permission is granted #323
In a browser that has not been asked for notification permission yet, the bell in the header reads as off ("Enable notifications"), but in-app alert cards (#313) still drop in for other panes: alertsOn and alertInApp both default to on.
Tapping the bell there asks for the system permission; it does not silence the cards.
When the permission is denied or notifications are unsupported, the bell is not shown at all, and the cards still appear.
The cards can be turned off in Settings → Alerts → In the app, so nothing is stuck. The bell just says something different from what the device does.
Where
src/App.tsx: the bell object is built from notifications (the permission) first and alertsOn second, and bellVisible hides it for denied / unsupported. dropIn checks alertsOn and alertInApp, not the permission.
Options
Make the bell show and toggle this device's alert state whatever the permission is, and keep asking for the permission as a separate step.
Activity
fix(alerts): the bell shows and switches this device's alerts whateve…