-
Notifications
You must be signed in to change notification settings - Fork 330
feat(sdk): Spaces #5509
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
feat(sdk): Spaces #5509
Conversation
655477a
to
f52ebdb
Compare
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #5509 +/- ##
==========================================
+ Coverage 88.62% 88.66% +0.03%
==========================================
Files 341 345 +4
Lines 95466 96132 +666
Branches 95466 96132 +666
==========================================
+ Hits 84606 85234 +628
- Misses 6641 6673 +32
- Partials 4219 4225 +6 ☔ View full report in Codecov by Sentry. |
CodSpeed Performance ReportMerging #5509 will not alter performanceComparing Summary
|
eab6c0c
to
0b14496
Compare
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.
First fast review. Keep going!
5024faa
to
a2a4ef8
Compare
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.
aff6435
to
8dc94da
Compare
8dc94da
to
2e0ed68
Compare
cde1a3d
to
e761648
Compare
Something weird is going on with the latest version, all of my There's a branch here if you want to test the updates with diffing: |
e761648
to
6f0c641
Compare
Went ahead and fixed the remaining issues with VectorDiffs, seems fine now on your branch. Thanks for testing! |
8c7c25b
to
71bbeb2
Compare
…ption methods so it can be retained on the client side
…alls so only the direct children are fetche
…` responses and `SpaceServiceRoomList` instances
…tead automatically setup a client subscription when requesting the joined services subscription
…d components on both the UI and the FFI crates
…ned spaces and space room list subscriptions
…ting up a subscription - fixes values being reported only after the first sync update
…ice to reduce the number of iterations required
1d90676
to
27cada3
Compare
Fix graph reference crap
…en for the duration of the request to futher prevent inconsistencies
…nation state (part #2)
27cada3
to
89f2483
Compare
This series of patches introduces a top level UI oriented interface for interacting with spaces.
The
SpaceService
offers:joined_spaces
and asubscribe_to_joined_spaces
stream that automatically updates based on client activitym.space.parent
andm.space.children
state events it knows about, removing cycles and then only keeping parent spacesSpaceRoomList
that can be used to interact with the rooms hierarchy endpoint and retrieve rooms referencing a certain parentsubscribe_to_room_updates
publisher (e.g. when joining one of the rooms)I do appreciate this is a pretty chunky PR but it should be straight forward to review commit by commit.