- Rewrite notificationclick to deep-link via /to/:user_id/:room_id/:event_id so
the correct account is activated on cold PWA launch (ToRoomEvent -> pendingNotificationAtom)
- Suppress OS/SW push notification when the app window is already visible;
track visibility via postMessage from the app on visibilitychange
- Remove preferPushOnMobile dead code
- Add useSystemNotifications setting (desktop-only, default true on desktop);
split it out from useInAppNotifications so pill and OS notifications are
independently controlled
- Settings UI: desktop shows In-App + System Notifications; mobile shows
In-App + Push Notifications; each hides the irrelevant third toggle
- Fix InviteNotifications / MessageNotifications to gate OS notifications on
useSystemNotifications + !mobileOrTablet(); pill remains gated on useInAppNotifications
- Fix NotificationJumper: bypass useRoomNavigate (which routes through space
path) -- navigate directly via getHomeRoomPath / getDirectRoomPath so tapping
a pill banner on mobile opens the room timeline, not the space-nav panel
- When the app is already open, use postMessage({ type: notificationClick })
from SW to the running window; new ServiceWorkerClickHandler component handles
it with the same setActiveSessionId + setPending path as the pill flow;
/to/ URL kept as cold-launch fallback only
Hides numeric counts on room and sidebar badges while keeping the dot
indicator active. Defaults to on. Exposed in both Appearance and
Cosmetics settings panels.
typing `+:` in the message editor will bring up the emoticon
autocomplete prompt, where choosing an emoticon will clear the editor
and react with that emoticon under the latest message
this commit also splits the autocomplete prefixes in two: ones that can
be used anywhere in the message, and those that only work at the
beginning
also i set a default type param on one of the autocomplete query
functions because who wants to keep typing out that type everywhere all
the time