-
Notifications
You must be signed in to change notification settings - Fork 438
feat(sdk): Flatten the hierarchy of caches in the Event Cache, part 2: Pinned events #6568
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Hywan
merged 22 commits into
matrix-org:features/event-cache-refactoring
from
Hywan:features/event-cache-refactoring-flatten-pinned-events
May 21, 2026
Merged
Changes from all commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
e82d683
chore(sdk): Implement `Debug` for `PinnedEventCache`.
Hywan 3bc164f
doc(sdk): Remove a useless `TODO`.
Hywan 147d35e
refactor(sdk): Rename `PinnedEventCache` to `PinnedEventsCache`.
Hywan c1aad24
chore(sdk): `PinnedEventsCache::new` takes a `WeakRoom` instead of a …
Hywan 83e2bcd
refactor(sdk): Rename `PinnedEventsCacheStateLock` to `LockedPinnedEv…
Hywan a6d4e87
doc(sdk): Fix an intra-link.
Hywan 54037fb
refactor(sdk): Introduce `PinnedEventsCacheUpdateSender`.
Hywan 1c4c67b
doc(sdk): Fix document in thread cache.
Hywan a9b2462
refactor(sdk): Introduce `PinnedEventsCacheInner`.
Hywan c77fee4
feat(sdk): Add `PinnedEventsCacheInner::update_sender`.
Hywan d333a48
feat(sdk): Add `EventCache::pinned_events`.
Hywan d370992
feat(sdk): Add `aggregator_timeline_for_pinned_events`.
Hywan 709e184
refactor(sdk): Handle the `Timeline` for pinned-events in `Caches` in…
Hywan a571e74
feat(sdk): Deduplicate pinned events.
Hywan b5ea61b
feat(sdk): `PinnedEventsCache` handles redaction.
Hywan 849713a
chore(sdk): Simplify imports.
Hywan 009621a
feat(ui): `TimelineFocusKind::PinnedEvents` now uses `PinnedEventsCac…
Hywan 95a027f
chore(sdk): Remove `subscribe_to_pinned_events`.
Hywan f452ec3
refactor(sdk): R2D2 replaces UTD on `PinnedEventsCache` without invol…
Hywan f4befd3
chore(sdk): Remove `PinnedEventsCache` entirely from `RoomEventCache`.
Hywan e82cc0f
test(sdk,ui): Update tests to the new API.
Hywan 42fef16
chore: Remove an unused `reload` method.
Hywan File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.