Commit Graph
276 Commits
Author SHA1 Message Date
Evie Gauthier d1e002ac6d feat(sliding-sync): tie presence extension into sendPresence setting 2026-03-09 23:26:52 -04:00
Evie Gauthier 6271bb79ee fix(lint): fix ESLint errors in ExtensionPresence and add changeset 2026-03-09 23:22:41 -04:00
Evie Gauthier 8f8502a536 feat(sliding-sync): register ExtensionPresence for live presence updates
Register a custom MSC4186 presence extension with the SlidingSync object so
that m.presence events delivered via extensions.presence.events are processed
into the SDK's User model on every poll.

Without this, the SlidingSync object only auto-registers ExtensionToDevice and
ExtensionAccountData (via SlidingSyncSdk), so presence payloads from the server
were silently discarded. Components using useUserPresence (Profile, MembersDrawer,
UserRoomProfile, UserHero, Presence) would always show stale/default presence.

The extension follows the same path as regular /sync: map raw events through
client.getEventMapper(), call user.setPresenceEvent() to update User state and
emit UserEvent.Presence, UserEvent.CurrentlyActive, UserEvent.LastPresenceTs,
then emit ClientEvent.Event on the client.
2026-03-09 23:22:41 -04:00
Evie Gauthier 1229bc0982 fix(lint): fix import order and suppress intentional await-in-loop 2026-03-09 23:22:41 -04:00
Evie Gauthier 6d00376164 chore: fix formatting (prettier) 2026-03-09 23:22:41 -04:00
Evie Gauthier 4a22e867ee fix(timeline): always reinit on TimelineRefresh to fix sliding sync hang 2026-03-09 23:22:41 -04:00
Evie Gauthier 62931d88ff feat: improve sliding sync to match Element Web approach
- Sort lists by notification level, recency, then name
- Add include_old_rooms for tombstoned room predecessor state
- Active-room custom subscription (timeline_limit=50) for the viewed room
- SlidingSyncManager.subscribeToRoom / unsubscribeFromRoom
- Export getSlidingSyncManager from initMatrix
- useSlidingSyncActiveRoom hook + SlidingSyncActiveRoomSubscriber component
- No changes to the classic sync path (startClassicSync / buildClient)
2026-03-09 23:20:19 -04:00
Evie Gauthier 6dcaea6bd8 fix(sliding-sync): prevent edit leakage, add required_state, re-render on Replace events, guard empty getContent() 2026-03-04 22:29:30 -05:00
Evie Gauthier ef706c96d0 fix hybrid cache logic 2026-03-03 12:59:11 -05:00
Evie Gauthier 92e0c3512e hybrid classic+sliding sync caching, and sticker/emoji fixes 2026-03-03 11:32:03 -05:00
Evie Gauthier a852db2f55 fix pending sent UI/UX, potential fix for large accounts 2026-03-03 10:51:48 -05:00
Evie Gauthier d95d31fd04 fix inbox notification/invite isues and add enhancements 2026-03-03 09:07:43 -05:00
Evie Gauthier 5e63931d61 refactor sliding sync startup checks and logic around starting sliding sync vs a classic client. 2026-03-03 07:03:12 -05:00
Evie Gauthier 22ff69fba0 fix code quality complaints 2026-03-03 01:20:17 -05:00
Evie Gauthier a01356a87b further enhancements to reduce state churn on low-power/limited-network devices 2026-03-03 01:15:26 -05:00
Evie Gauthier 6a76914010 add additional sliding sync diagnostics and dynamically set timeline limit to reduce state churn 2026-03-03 01:05:31 -05:00
Evie Gauthier 1c788c1e81 additional improvements to resolve potential future bugs 2026-03-03 00:59:20 -05:00
Evie Gauthier df1826850d add missing required events 2026-03-03 00:24:39 -05:00
Evie Gauthier 0e076485cd Various fixes for UI/Rendering issues in sliding sync 2026-03-03 00:05:46 -05:00
Evie Gauthier a6c7be6f64 fix sliding sync server requirements 2026-03-02 21:36:54 -05:00
Evie Gauthier 9a02d21967 enable sliding sync by default 2026-03-02 21:08:31 -05:00
Evie Gauthier e1b7844ff8 Add initial sliding sync support 2026-03-02 19:34:51 -05:00
7w1 08fa7cd67f make eslint happy 2026-03-02 15:10:21 -06:00
hazre bde1505ad4 refactor: normalize parent-relative imports to aliases 2026-03-02 20:00:26 +01:00
hazre 39c9d48443 fix: resolve initMatrix eslint violations 2026-03-02 18:27:29 +01:00
hazre b5e9dcb07e chore(lint): eslint autofix 2026-03-01 13:46:40 +01:00
hazre b8a998cab7 Merge remote-tracking branch 'sable/dev' into chore/cleanup-codebase-1 2026-02-26 19:04:09 +01:00
TastelessVoid d5027236ce Added account switcher with multi-account notifications 2026-02-21 18:32:51 +01:00
hazre 3df0ae96e2 chore: reformat files and align lint script with npm 2026-02-14 18:01:21 +01:00
hazre 71425f8644 refactor: route matrix-sdk imports through $types boundary
Centralize Matrix SDK imports behind a local compatibility module, migrate matrix subpath imports to the boundary, and switch to the $types alias. Upgrade TypeScript to latest so matrix-js-sdk typings resolve correctly before the next cleanup phase.
2026-02-14 17:24:46 +01:00
Ajay Bura 074c555294 Post session info to service worker instead of asking from sw (#2605)
post session info to service worker instead of asking from sw on each request
2026-02-14 17:11:36 +11:00
Ajay Bura 90ca8ca2c5 Remove unused javascript (#2470) 2025-08-29 19:34:52 +10:00
Krishan abd713d693 Release v4.9.1 (#2446) 2025-08-17 21:08:35 +10:00
Krishan 76ac4e2987 Release v4.9.0 (#2421) 2025-08-13 12:08:19 +10:00
Ajay Bura c30c142653 Stop parsing servername from roomId (#2391) 2025-07-15 22:33:45 +10:00
Ajay Bura 87fc490c3b Fix new direct message showing with room (#2386)
as we were mutating the content of m.direct the sdk was comparing old value with new one and preventing update if found equal
2025-07-05 21:31:15 +10:00
Ajay Bura 3ed8260877 Release v4.8.1 (#2360) 2025-06-10 23:48:55 +10:00
Ajay Bura 91632aa193 Fix space navigation & view space timeline dev-option (#2358)
* fix inaccessible space on alias change

* fix new room in space open in home

* allow opening space timeline

* hide event timeline feature behind dev tool

* add navToActivePath to clear cache function
2025-06-10 14:44:17 +10:00
Ajay Bura c51ba9670e Release v4.8.0 (#2337) 2025-05-24 21:22:39 +05:30
Ajay Bura 0d27bde33e Release v4.7.1 (#2332) 2025-05-21 17:28:38 +05:30
Ajay Bura 5964eee833 Release v4.7.0 (#2328) 2025-05-18 11:45:12 +05:30
Ajay Bura 387ce9c462 upgrade to matrix-js-sdk v37.5.0 (#2327)
* upgrade to js-sdk 37

* fix server crypto wasm locally
2025-05-18 10:53:56 +05:30
Krishan 225894d327 Release v4.6.0 (#2301) 2025-03-31 17:49:00 +05:30
Ajay Bura 12ae94cd60 Remove old settings components (#2296) 2025-03-28 20:16:01 +11:00
Krishan 78fa6e3925 Release v4.5.1 (#2251) 2025-03-05 13:33:18 +11:00
Krishan 19cf700d61 Release v4.5.0 (#2247) 2025-03-04 17:47:28 +11:00
Ajay Bura b7e5e0db3e Hidden Typing & Read Receipts (#2230)
* add hide activity toggle

* stop sending/receiving typing status

* send private read receipt when setting toggle is activated

* prevent showing read-receipt when feature toggle in on
2025-02-26 21:44:53 +11:00
Krishan d70ca86d7c Release v4.4.0 (#2225) 2025-02-23 22:27:50 +11:00
Krishan 5844209bee Release v4.3.2 (#2213) 2025-02-17 12:07:07 +11:00
Krishan 09d85d6c31 Release v4.3.0 (#2199) 2025-02-11 17:02:21 +11:00