This repository was archived by the owner on Nov 23, 2026. It is now read-only.
Repository navigation
refactor: space member loading - #10699
Merged
Merged
Conversation
Refactors space member loading so members are only being loaded when the sidebar for a resource or a space is being opened. It happened in the drive resolver before, which is a bad place to handle this.
|
Thanks for opening this pull request! The maintainers of this repository would appreciate it if you would create a changelog item based on your changes. |
kulmann
suggested changes
Apr 3, 2024
kulmann
left a comment
Contributor
There was a problem hiding this comment.
I encountered two issues (didn't check if they are on master as well):
- space member count doesn't update reactively when members are being added
- sidebar space member list is not updated reactively when a new member gets added
Might be that both issues have the same underlying problem. Could you check this?
Contributor
Author
|
Good catch, thx! One issue was introduced with this PR, the other was actually wrong on master as well (although this PR made it then visible to the user). |
|
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
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.



Description
Refactors space member loading so members are only being loaded when the sidebar for a resource or a space is being opened. It happened in the drive resolver before, which is a bad place to handle this.
Related Issue
Types of changes