Commit Graph
113 Commits
Author SHA1 Message Date
Rye c6c8a9aaf6 stub implement message forwarding functionality with modal integration 2026-03-06 21:32:17 +01:00
Evie Gauthier 80e049fc5e fix(notifications): banner default off on desktop, show for DMs, fix space navigation 2026-03-06 10:10:22 -05:00
7w1 ae71309a1f Merge pull request #182 from nushea/sable-descriptions
Feat: Adding basic file descriptions
2026-03-05 23:38:03 -06:00
Evie Gauthier d1ae1d4594 fix(notifications): show rich body in banner; fix encrypted msg dedup
- Add early-return guard for m.room.encrypted in MessageNotifications
  so eventId is never added to notifiedEventsRef before decryption.
  Without this, the post-decryption re-emission was deduped and the
  banner showed "Encrypted Message" instead of actual content.

- Build ReactNode bodyNode via getReactCustomHtmlParser + parse +
  sanitizeCustomHtml for org.matrix.custom.html messages, mirroring
  the timeline renderer pipeline (mxc images, mentions, etc.).

- Add bodyNode?: ReactNode to InAppBannerNotification type.

- Add BodyNode component in NotificationBanner; falls back to
  existing plain-text BodyText path when bodyNode is absent.
2026-03-05 22:21:15 -05:00
7w1 74fa7201ce Merge pull request #173 from CloudHub-Social/pr/fix/sw-notifications
fix(notifications): SW push deep-links, visibility suppression, settings decoupling, nav fix
2026-03-05 20:56:03 -06:00
Shea Duma 7067753cc3 updated to the latest upstream 2026-03-06 04:55:47 +02:00
Shea Duma 7bbda34504 added per item text inputs 2026-03-06 04:51:27 +02:00
Evie Gauthier f9b452bde1 fix(notifications): SW push deep-links, visibility suppression, settings decoupling, nav fix
- 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
2026-03-05 19:13:31 -05:00
Evie Gauthier fe37ae23f3 feat(settings): badge count DMs-only toggle and highlight-only app badge option 2026-03-05 19:11:11 -05:00
7w1 6effabaef4 add show unread ping counts toggle to optionally still show ping counts when normal counts are disabled 2026-03-05 16:05:27 -06:00
7w1 854f2758e6 Refactor settings.ts to resolve merge conflicts
Remove conflicting lines and clean up settings.
2026-03-05 15:09:34 -06:00
7w1 80f1d01f82 Merge branch 'dev' into feat-honor-language-of-pronouns 2026-03-05 15:02:32 -06:00
7w1 271c9070a8 add toggles for rendering room font and colors 2026-03-05 14:34:05 -06:00
Rye 2401e34873 language-based filtering for pronouns in a users room profile and message view 2026-03-05 19:54:43 +01:00
Rye 0297c85e31 refactor language specific pronouns handling with new settings structure 2026-03-05 18:13:08 +01:00
Shea Duma fb5c5a2326 updated to the latest sable version 2026-03-05 10:37:25 +02:00
Shea Duma 6c90547ce5 added basic plaintext image description adjacent to the text input 2026-03-05 10:29:51 +02:00
Evie Gauthier 5372e36153 feat(notifications): in-app notification banner, account unread counts, and Discord-style floating pill 2026-03-05 00:51:02 -05:00
Evie Gauthier 3a4961e774 feat(settings): add Show Unread Counts toggle to Visual Tweaks
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.
2026-03-04 22:24:19 -05:00
Evie Gauthier c2a43ec43a fix(badges): improve unread count calculation and background session highlight badges
- getUnreadInfo: guard stale-count clamp with roomHaveUnread; exclude own messages
  from clamp trigger; walk live timeline to compute real fallback counts using
  PushProcessor instead of hard-coding dot badge
- roomToUnreadAtom: remove mDirectAtom dependency for DM parent filtering;
  add ClientEvent.Room handler to seed badge state when rooms join
- sessionsHighlightAtom added to track highlight counts per inactive session
- AccountSwitcherTab: show UnreadBadge on inactive session rows and sidebar icon
2026-03-04 22:24:19 -05:00
7w1 ae1122035b Merge pull request #113 from jasonlaguidice/sable-msc4140
support for [MSC4140](https://github.com/matrix-org/matrix-spec-proposals/pull/4140) scheduled messages
2026-03-04 12:48:34 -06:00
Evie Gauthier cabb65fcaa fix(badges): exclude DM rooms from space unread badge aggregation
When a DM room is also a child of a space, its unread counts were propagating
upward into the space's aggregated badge, causing the space to show a badge
even though the unread belonged to a direct message.

In the roomToUnreadAtom write function, check mDirectAtom before calling
getAllParents: if the room is a DM, use an empty parent set so its unread
stays isolated to the direct tab and does not roll up into any space badge.
2026-03-04 10:54:25 -05:00
jasonlaguidice a5d0da94d6 Fix lint & style issues 2026-03-03 23:14:09 -08:00
jasonlaguidice 7e22d86a51 feat: port MSC4140 scheduled messages from cinny#2671 2026-03-03 22:56:07 -08:00
Evie Gauthier 775a17e5d0 Add toggle-able message previews to notifictions 2026-03-03 10:36:38 -05:00
Evie Gauthier d95d31fd04 fix inbox notification/invite isues and add enhancements 2026-03-03 09:07:43 -05:00
Evie Gauthier d86770ad7b fix lack of unread notifications for both sliding sync and non-sliding sync users 2026-03-03 08:28:08 -05:00
Evie Gauthier 1c788c1e81 additional improvements to resolve potential future bugs 2026-03-03 00:59:20 -05:00
Evie Gauthier 3ef481cbb0 fix logic bug (clearing unread receipt on any recipt) 2026-03-03 00:43:53 -05:00
Evie Gauthier 537efcc7c4 only delete specific parent-child room mapping updates 2026-03-03 00:26:22 -05:00
Evie Gauthier 0e076485cd Various fixes for UI/Rendering issues in sliding sync 2026-03-03 00:05:46 -05:00
Evie Gauthier bc2ff06380 Pull in upstream changes and run validations 2026-03-02 18:40:06 -05:00
Evie Gauthier db698543a3 Merge branch 'dev' into dev 2026-03-02 18:16:38 -05:00
7w1 08fa7cd67f make eslint happy 2026-03-02 15:10:21 -06:00
Evie Gauthier 58e92c22f9 Fix issues with in-app and push at same time, and properly switch to correct session before opening room on click 2026-03-02 14:19:18 -05:00
hazre bde1505ad4 refactor: normalize parent-relative imports to aliases 2026-03-02 20:00:26 +01:00
hazre a486eb97d8 fix(eslint): break import-x/no-cycle dependency chains 2026-03-02 09:46:19 +01:00
hazre 019b713377 Merge remote-tracking branch 'sable/dev' into feat/add-knip 2026-03-02 09:21:56 +01:00
7w1 5c1b1e9681 fix #38 option for messages to be right aligned in bubble layout 2026-03-02 00:33:33 -06:00
Evie Gauthier c3a819c256 Revert "Add custom theme support"
This reverts commit 86a3906a9d.
2026-03-01 22:47:29 -05:00
Evie Gauthier 86a3906a9d Add custom theme support 2026-03-01 22:41:09 -05:00
Evie Gauthier 641aacf346 Merge pull request #2 from 7w1/dev
Pull upstream changes before creating PR to upstream
2026-03-01 20:34:13 -05:00
Evie Gauthier d933a718c5 Merge push notifications from GigiaJ/cinny 2026-03-01 20:31:58 -05:00
7w1 1bfdf2baf7 Merge branch 'pr-2713' into dev 2026-03-01 17:26:41 -06:00
hazre 8372758843 refactor: rename shared utils alias to $utils 2026-03-01 19:10:02 +01:00
kamilwolter 6785c25bef consistent icon style, room avatar tile fill 2026-03-01 18:52:47 +01:00
hazre b5e9dcb07e chore(lint): eslint autofix 2026-03-01 13:46:40 +01:00
hazre b7fc54669e Merge remote-tracking branch 'sable/dev' into feat/add-knip 2026-03-01 13:42:07 +01:00
hazre 12d1076f68 Revert "chore(lint): drop obsolete React imports"
This reverts commit 5770ca1c14.
2026-03-01 13:17:06 +01:00
7w1 517a81bb8f enable twitter style emojis by default
imo standardized emote appearance between platforms is ideal, users that want different can manually disable them
2026-02-27 14:07:50 -06:00