Skip to content
This repository was archived by the owner on Nov 23, 2026. It is now read-only.

refactor: space member loading - #10699

Merged
kulmann merged 2 commits into
masterfrom
simplify-space-member-loading
Apr 3, 2024
Merged

kulmann merged 2 commits into
masterfrom
simplify-space-member-loading

Conversation

@JammingBen

Copy link
Copy Markdown
Contributor

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

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Technical debt
  • Tests
  • Documentation
  • Maintenance (e.g. dependency updates or tooling)

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.
@JammingBen JammingBen self-assigned this Apr 2, 2024
@update-docs

update-docs Bot commented Apr 2, 2024

Copy link
Copy Markdown

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.

@JammingBen JammingBen mentioned this pull request Apr 2, 2024
30 of 40 tasks
@JammingBen
JammingBen requested a review from kulmann April 3, 2024 06:38

@kulmann kulmann left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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?

@JammingBen

Copy link
Copy Markdown
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).

@sonarqubecloud

sonarqubecloud Bot commented Apr 3, 2024

Copy link
Copy Markdown

@JammingBen
JammingBen requested a review from kulmann April 3, 2024 07:34

@kulmann kulmann left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

@kulmann
kulmann merged commit 58d151a into master Apr 3, 2024
@delete-merged-branch
delete-merged-branch Bot deleted the simplify-space-member-loading branch April 3, 2024 11:21
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants