Skip to content

fix: wait for user data before showing the user batch actions - #3733

Merged
AlexAndBear merged 2 commits into
mainfrom
fix/admin-groups-loading
Oct 13, 2026
Merged

AlexAndBear merged 2 commits into
mainfrom
fix/admin-groups-loading

Conversation

@AlexAndBear

@AlexAndBear AlexAndBear commented Oct 12, 2026 •

Copy link
Copy Markdown
Member

Description

  • Batch action spinner: while the selected users' details (including their group memberships) are loading, the user batch actions are replaced by the "Loading actions" spinner, the same way admin Spaces and Projects already do it. "Add to groups" and "Remove from groups" can no longer be opened with incomplete data.
  • No stuck spinner: a failed details request is logged and no longer leaves the sidebar or batch action spinner running forever.
  • Defensive group modals: the modals don't crash if a user's memberships are missing.

Related Issue

How Has This Been Tested?

  • test environment: unit tests (Vitest), browser tests (Playwright) against a local OpenCloud
  • test case 1: the batch actions show a spinner while the selected user's details are loading and the actions once loaded
  • test case 2: the group modals don't crash for users without loaded memberships

Types of changes

  • Bugfix
  • Enhancement (a change that doesn't break existing code or deployments)
  • Breaking change (a modification that affects current functionality)
  • Technical debt (addressing code that needs refactoring or improvements)
  • Tests (adding or improving tests)
  • Documentation (updates or additions to documentation)
  • Maintenance (like dependency updates or tooling adjustments)

@AlexAndBear AlexAndBear changed the title fix: add and remove users from groups while their details are loading fix: wait for user data before showing the user batch actions Oct 12, 2026

@tammi-23 tammi-23 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.

👍

@AlexAndBear
AlexAndBear merged commit 9020bd5 into main Oct 13, 2026
27 checks passed
@AlexAndBear
AlexAndBear deleted the fix/admin-groups-loading branch October 13, 2026 13:18
@openclouders openclouders mentioned this pull request Oct 13, 2026
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

"Add to groups" and "Remove from groups" do nothing or crash while the users' details are loading

2 participants