Skip to content

Conversation

@LukasHirt
Copy link
Collaborator

Description

Instead of filtering all trashed spaces, we now filter only personal trashed spaces. This fixes the issue where listing spaces with "Include disabled" option toggled did not show disabled spaces.

Motivation and Context

Disabled project spaces are again listable.

How Has This Been Tested?

  • test environment: macos v26.2, chrome v143.0.7499.170
  • test case 1: open UI with light user
  • test case 2: toggle "Include disabled" option with regular user in spaces list

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)

Instead of filtering all trashed spaces, we now filter only personal
trashed spaces. This fixes the issue where listing spaces with
"Include disabled" option toggled did not show disabled spaces.
@LukasHirt LukasHirt requested a review from mzner December 29, 2025 09:55
@LukasHirt LukasHirt self-assigned this Dec 29, 2025
@sonarqubecloud
Copy link

expect.anything()
)
expect(instance.spaces.length).toBe(2)
expect(instance.spaces.length).toBe(4)
Copy link
Contributor

Choose a reason for hiding this comment

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

Should that be 2 or 4? I can only see two with trashed state.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants