Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

added setting not to show indirect rooms of spaces in left sidebar #12317

Closed
wants to merge 1 commit into from

Conversation

suiluj482
Copy link

  • Add Setting "Space.showIndirectRoomsInSpace" (Don't download E2E devices if feature disabled #418)
  • Changed SpaceFilterCondition and its tests to comply with new setting
  • Changed SpaceStore to watch new setting and if updated emit event SpaceFilterCondition already listens for. Added a test for it.

Signed-off-by: Julius Schuchert [email protected]

* Add Setting "Space.showIndirectRoomsInSpace" (matrix-org#418)
* Changed SpaceFilterCondition and its tests to comply with new setting
* Changed SpaceStore to watch new setting and if updated emit event SpaceFilterCondition already listens for. Added a test for it.

Signed-off-by: Julius Schuchert <[email protected]>
@suiluj482 suiluj482 requested a review from a team as a code owner March 6, 2024 02:38
@suiluj482 suiluj482 requested review from dbkr and MidhunSureshR March 6, 2024 02:38
@github-actions github-actions bot added the Z-Community-PR Issue is solved by a community member's PR label Mar 6, 2024
@t3chguy
Copy link
Member

t3chguy commented Mar 6, 2024

Related #7682

@t3chguy t3chguy requested a review from a team March 6, 2024 08:42
private space: SpaceKey = MetaSpace.Home;

public isVisible(room: Room): boolean {
return SpaceStore.instance.isRoomInSpace(this.space, room.roomId);
return SpaceStore.instance.isRoomInSpace(this.space, room.roomId, this.showIndirectRoomsInSpace);
}

private onStoreUpdate = async (forceUpdate = false): Promise<void> => {
Copy link
Member

Choose a reason for hiding this comment

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

Looks like this.roomIds and this.userIds don't respect this.showIndirectRoomsInSpace

@daniellekirkwood
Copy link

there's not enough detail here for me to be able to follow the product changes. Are there screenshots of what the user experience was and will be with this change?

@langleyd langleyd closed this Sep 11, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Z-Community-PR Issue is solved by a community member's PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants