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
Ajay Bura
56b754153a
redesigned app settings and switch to rust crypto ( #1988 )
...
* rework general settings
* account settings - WIP
* add missing key prop
* add object url hook
* extract wide modal styles
* profile settings and image editor - WIP
* add outline style to upload card
* remove file param from bind upload atom hook
* add compact variant to upload card
* add compact upload card renderer
* add option to update profile avatar
* add option to change profile displayname
* allow displayname change based on capabilities check
* rearrange settings components into folders
* add system notification settings
* add initial page param in settings
* convert account data hook to typescript
* add push rule hook
* add notification mode hook
* add notification mode switcher component
* add all messages notification settings options
* add special messages notification settings
* add keyword notifications
* add ignored users section
* improve ignore user list strings
* add about settings
* add access token option in about settings
* add developer tools settings
* add expand button to account data dev tool option
* update folds
* fix editable active element textarea check
* do not close dialog when editable element in focus
* add text area plugins
* add text area intent handler hook
* add newline intent mod in text area
* add next line hotkey in text area intent hook
* add syntax error position dom utility function
* add account data editor
* add button to send new account data in dev tools
* improve custom emoji plugin
* add more custom emojis hooks
* add text util css
* add word break in setting tile title and description
* emojis and sticker user settings - WIP
* view image packs from settings
* emoji pack editing - WIP
* add option to edit pack meta
* change saved changes message
* add image edit and delete controls
* add option to upload pack images and apply changes
* fix state event type when updating image pack
* lazy load pack image tile img
* hide upload image button when user can not edit pack
* add option to add or remove global image packs
* upgrade to rust crypto (#2168 )
* update matrix js sdk
* remove dead code
* use rust crypto
* update setPowerLevel usage
* fix types
* fix deprecated isRoomEncrypted method uses
* fix deprecated room.currentState uses
* fix deprecated import/export room keys func
* fix merge issues in image pack file
* fix remaining issues in image pack file
* start indexedDBStore
* update package lock and vite-plugin-top-level-await
* user session settings - WIP
* add useAsync hook
* add password stage uia
* add uia flow matrix error hook
* add UIA action component
* add options to delete sessions
* add sso uia stage
* fix SSO stage complete error
* encryption - WIP
* update user settings encryption terminology
* add default variant to password input
* use password input in uia password stage
* add options for local backup in user settings
* remove typo in import local backup password input label
* online backup - WIP
* fix uia sso action
* move access token settings from about to developer tools
* merge encryption tab into sessions and rename it to devices
* add device placeholder tile
* add logout dialog
* add logout button for current device
* move other devices in component
* render unverified device verification tile
* add learn more section for current device verification
* add device verification status badge
* add info card component
* add index file for password input component
* add types for secret storage
* add component to access secret storage key
* manual verification - WIP
* update matrix-js-sdk to v35
* add manual verification
* use react query for device list
* show unverified tab on sidebar
* fix device list updates
* add session key details to current device
* render restore encryption backup
* fix loading state of restore backup
* fix unverified tab settings closes after verification
* key backup tile - WIP
* fix unverified tab badge
* rename session key to device key in device tile
* improve backup restore functionality
* fix restore button enabled after layout reload during restoring backup
* update backup info on status change
* add backup disconnection failures
* add device verification using sas
* restore backup after verification
* show option to logout on startup error screen
* fix key backup hook update on decryption key cached
* add option to enable device verification
* add device verification reset dialog
* add logout button in settings drawer
* add encrypted message lost on logout
* fix backup restore never finish with 0 keys
* fix setup dialog hides when enabling device verification
* show backup details in menu
* update setup device verification body copy
* replace deprecated method
* fix displayname appear as mxid in settings
* remove old refactored codes
* fix types
2025-02-10 16:49:47 +11:00
Krishan
a142630ff9
Release v4.2.3 ( #2052 )
2024-11-12 20:45:34 +11:00