Skip to content

fix: reload a filtered users list instead of adding a newly created user - #4239

Merged
AlexAndBear merged 1 commit into
mainfrom
fix/admin-create-user-filtered-list
Nov 5, 2026
Merged

AlexAndBear merged 1 commit into
mainfrom
fix/admin-create-user-filtered-list

Conversation

@AlexAndBear

Copy link
Copy Markdown
Member

Description

A user created while the admin Users list is filtered or searched now only shows up if it matches the filter, because the list reloads with the active filters instead of just adding the new user. Without a filter the new user is still added right away.

Related Issue

How Has This Been Tested?

  • test environment: unit tests (Vitest), browser tests (Playwright) against a local OpenCloud
  • test case 1: unit: created user is upserted without a filter, reloads with group filter, search and mandatory filter mode, event subscription is removed on unmount
  • test case 2: browser: group filter, search (also Pixel 7) and role filter keep the list and count correct after creating a user; no filter adds it right away; edit panel and pagination still work

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 merged commit b50a502 into main Nov 5, 2026
29 checks passed
@AlexAndBear
AlexAndBear deleted the fix/admin-create-user-filtered-list branch November 5, 2026 13:38
@openclouders openclouders mentioned this pull request Nov 5, 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.

New user is added to a filtered Users list

2 participants