-
Notifications
You must be signed in to change notification settings - Fork 290
refactor(sdk): Remove SlidingSyncRoom
🎉
#5047
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
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #5047 +/- ##
==========================================
- Coverage 85.85% 85.82% -0.04%
==========================================
Files 325 324 -1
Lines 35936 35874 -62
==========================================
- Hits 30854 30790 -64
- Misses 5082 5084 +2 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
b18bf0e
to
e368dbb
Compare
This patch removes the `SlidingSync::get_room` method. The goal is to remove `SlidingSyncRoom`.
This patch removes `SlidingSync::get_number_of_rooms`. The goal is to remove `SlidingSyncRoom`.
This patch removes `SlidingSync::get_rooms` and `get_all_rooms`. The goal is to remove `SlidingSyncRoom`.
This patch stops maintaining/updating `SlidingSync::rooms`. The goal is to remove `SlidingSyncRoom`.
This patch removes the `SlidingSync::rooms` field. A cascade of removal happens, and many part of the code is simplified. The most notable is `FrozenSlidingSync`.
This patch FINALLY removes `SlidingSyncRoom`, youhou!
This patch removes `FrozenSlidingSync`. Its unique field is supposed to be stored in the crypto store.
7acda1f
to
89cd768
Compare
89cd768
to
4370d02
Compare
SlidingSyncRoom
SlidingSyncRoom
🎉
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔥
Et in Arcadia ego (Nicolas Poussin)
Et in Arcadia ego means “Me (the Death) are even in Arcadia (the country of delights)”, or “Me (who is the Death) has even lived in Arcadia”. It can be understood as “Even in an ideal country, no one escapes the fate of mortals”. It includes
SlidingSyncRoom
.It's my great honor to submit this patch that closes #3079 by removing the entire
SlidingSyncRoom
type. This was a long-standing tech debt that has been introduced at the beginning of the sliding sync experiment. Sadly, this type has spread in the SDK, and it took a bit of time to get rid of it. Now, it's different. Now the time has come to burn it.SlidingSyncRoom
tech debt #3079