Commit Graph
3421 Commits
Author SHA1 Message Date
Rye e8572015f4 fix(MessageForwarding): removed null from forwarding metadata 2026-03-25 20:32:55 +01:00
Rose 0fcc38c620 Merge pull request #348 from SableClient/fix/sliding-sync-memory
fix: tighten sliding sync memory management
2026-03-19 20:39:52 +00:00
7w1 abe6b8d53d Merge pull request #401 from sachin-dul/fix/reduce-mention-highlight-opacity
fix: reduce mention highlight background opacity
2026-03-19 19:52:54 +00:00
Evie Gauthier 1e46dd64c6 Merge pull request #309 from dozro/feat/allow-setting-pmp
Implement per-message profile management and sending with a per-message profile
2026-03-19 19:52:06 +00:00
Rye 1a7e71c7fc removed unnecessary space oops 2026-03-19 20:40:22 +01:00
Rye 269e7a16bc fixed placement of space in fallback 2026-03-19 20:34:49 +01:00
Rye b7a1cb8d7e added visual marker to mark it as a pmp 2026-03-19 20:27:41 +01:00
Sachin Manimekalai Balakrishnan 826554a300 fix: reduce mention highlight background opacity to 25% 2026-03-19 15:07:05 -04:00
Sachin Manimekalai Balakrishnan 54b4da77f7 fix: reduce mention highlight background opacity 2026-03-19 12:07:48 -04:00
7w1 4a82c92f12 Merge pull request #397 from jae1911/jae/docs/patch-wrong-url-readme
Change URL to GitLab Pages publishing docs
2026-03-19 15:39:03 +00:00
Jae J4 Salokettu 4ef628e078 fix#: correct GitLab docs url following new schema 2026-03-19 17:13:46 +02:00
Evie Gauthier fa4da192be Merge remote-tracking branch 'origin/dev' into fix/sliding-sync-memory 2026-03-19 01:16:34 -04:00
7w1 833ee130f9 Merge pull request #344 from SableClient/fix/thread-ui-spacing
fix(threads): reduce dead space around root message in thread drawer
2026-03-19 05:07:49 +00:00
7w1 39682b9d3f Merge pull request #365 from dozro/fix/reply-nicks
fix stripping nickname from replies and plain mentions and a lot of documentation
2026-03-19 05:06:43 +00:00
7w1 3dd2fee9dc Merge pull request #392 from melogale/dev
update to sable call 1.1.4 with rnnoise
2026-03-19 03:38:43 +00:00
7w1 84e52ad519 Merge pull request #343 from SableClient/fix/thread-classic-sync
fix(threads): thread drawer empty with classic sync
2026-03-19 03:37:58 +00:00
Evie Gauthier f846695d8e refactor: remove timeline pruning — unsubscribe on leave is sufficient 2026-03-18 23:32:19 -04:00
melogale ea2c32a5c0 changeset 2026-03-18 23:25:53 -04:00
melogale 60e8e960a6 update to sable call 1.1.4 2026-03-18 23:21:59 -04:00
Evie Gauthier 67c66bb769 chore: fix prettier formatting and TypeScript type error in test 2026-03-18 23:19:30 -04:00
Evie Gauthier 5f7548c7f2 chore: update changeset to reflect full scope of sliding sync memory PR 2026-03-18 22:48:35 -04:00
Rye aaa802606d added missing questionmark lol 2026-03-18 22:49:55 +01:00
Rye cee2cb6118 added fallback body to be spec compliant 2026-03-18 21:56:31 +01:00
Evie Gauthier b98fa45820 feat: auto-unsubscribe and prune timeline when local user leaves a room
Wire onMembershipLeave to RoomMemberEvent.Membership in attach()/dispose().
When the local user leaves or is banned from a subscribed room, calls
unsubscribeFromRoom() which prunes timelines exceeding PRUNE_TIMELINE_THRESHOLD.

Previously, unsubscribeFromRoom() was dead code — nothing in the app called it.

Also add 5 unit tests covering: leave, ban, other-user leave, join (no-op),
and non-subscribed room (no-op).
2026-03-18 15:22:56 -04:00
Rye ce3d20b1f8 added changeset 2026-03-18 19:45:49 +01:00
Rye c5eb3020f5 fix stripping nickname from replies and plain mentions 2026-03-18 19:39:25 +01:00
Evie Gauthier 0f6067e04c refactor: remove adaptive timeline limits, stop unsubscribing on navigation
Replace the adaptive 50/100/150 timeline limit system with a flat
ACTIVE_ROOM_TIMELINE_LIMIT=50, matching Element Web approach.
Stop calling unsubscribeFromRoom() on room navigation so subscriptions
accumulate across the session for instant room switching.

Element Web SlidingSyncManager.setRoomVisible() never removes subscriptions
at all -- no pruning whatsoever. Our PRUNE_TIMELINE_THRESHOLD=100 guard
is more conservative than their approach.

- Remove AdaptiveSignals type, readAdaptiveSignals(),
  resolveAdaptiveRoomTimelineLimit(), applyRoomTimelineLimit()
- Remove adaptiveTimeline and configuredTimelineLimit class fields
- Remove adaptiveTimeline from SlidingSyncDiagnostics type and UI
- Stop unsubscribing on nav in useSlidingSyncActiveRoom
- Lower PRUNE_TIMELINE_THRESHOLD from 150 to 100
2026-03-18 14:31:18 -04:00
7w1 53a652b47a Merge pull request #347 from SableClient/fix/thread-indicator
fix: hide ThreadIndicator badge inside ThreadDrawer compose box
2026-03-18 18:04:58 +00:00
7w1 3d75daf691 Merge pull request #364 from SableClient/tiny-hoverstate-patch
tiny patch
2026-03-18 13:03:26 -05:00
7w1 9c736203ad Update ImageContent.tsx 2026-03-18 12:56:52 -05:00
Rye 93a93a686a doc: a bit of code doc 2026-03-18 15:03:44 +01:00
Rye 2ad4fa055a merging from dev 2026-03-18 14:59:04 +01:00
Rye c836e90338 Merge remote-tracking branch 'fork-new/dev' into feat/allow-setting-pmp 2026-03-18 14:58:41 +01:00
Rye 8d598fdf3f fix a few pmp editing bugs 2026-03-18 14:48:20 +01:00
Rye cd4079be99 remove unused profile invalidation functions and fix profile association handling 2026-03-18 13:02:51 +01:00
7w1 476ec6ffe1 Merge pull request #355 from SableClient/fix-mention-highlight-toggle
Add toggle for mention highlighting
2026-03-17 22:03:26 -05:00
7w1 75f84f90d1 Merge pull request #354 from SableClient/fix/hide-presence-member-list
Hide presence badge in members list for unsupported users
2026-03-17 22:01:56 -05:00
7w1 54c5562bea Merge pull request #353 from SableClient/feat/pronoun-parse
Pronoun pills for all
2026-03-17 22:01:42 -05:00
7w1 3043f77d85 add toggle for mention highlighting 2026-03-17 21:58:31 -05:00
7w1 4eef3cefef Hide presence badge in members list for users without homeserver support, mimicking room profile apperance. 2026-03-17 21:36:48 -05:00
7w1 dcfafa4f5e Update Message.tsx 2026-03-17 21:28:22 -05:00
7w1 c851eb4e11 cache things 2026-03-17 21:23:18 -05:00
7w1 0f14e675ba pronoun pills for all 2026-03-17 21:15:38 -05:00
7w1 53df685fa3 Merge pull request #351 from SableClient/7w1-patch-1
Update CODEOWNERS
2026-03-17 18:53:30 -05:00
7w1 4b4d41f98f Update CODEOWNERS 2026-03-17 18:50:59 -05:00
Evie Gauthier 023bf2a325 feat: persist room timeline to IndexedDB before pruning from memory 2026-03-17 18:22:14 -04:00
Evie Gauthier 67c626c6b2 fix: correct IndexedDB persistence claim in pruneRoomTimeline comment 2026-03-17 18:11:03 -04:00
Evie Gauthier 4b90cc5b5e chore: add changeset 2026-03-17 18:06:08 -04:00
Evie Gauthier e1d51ad852 chore: add changeset 2026-03-17 18:05:57 -04:00
Evie Gauthier 1df87084a0 fix: stop sliding sync on dispose and prune inactive room timelines
Two memory management issues fixed:

1. SlidingSyncManager.dispose() now calls this.slidingSync.stop() before
   removing listeners. Without this the SDK's internal Promise loop keeps
   polling the sliding sync proxy even after the client is disposed, leaking
   network connections and preventing garbage collection.

2. pruneRoomTimeline() is called from unsubscribeFromRoom(). When a room
   leaves the active subscription its EventTimeline chain can hold hundreds of
   events in memory. Once the event count exceeds PRUNE_TIMELINE_THRESHOLD
   (= ACTIVE_ROOM_TIMELINE_LIMIT_HIGH = 150) the live timeline is reset via
   EventTimelineSet.resetLiveTimeline(). The full history remains on disk in
   IndexedDBStore and is re-fetched via the active-room subscription on next
   open, so there is no user-visible change.

Adds 5 unit tests: 1 for dispose, 4 for the pruning threshold boundary.
2026-03-17 17:57:04 -04:00