Skip to content

[2.x] fix(core): refresh user count and list after user creation - #4687

Merged
imorland merged 3 commits into
flarum:2.xfrom
glowingblue:di/improve-ux-admin-users-list
Jun 7, 2026
Merged

[2.x] fix(core): refresh user count and list after user creation#4687
imorland merged 3 commits into
flarum:2.xfrom
glowingblue:di/improve-ux-admin-users-list

Conversation

@DavideIadeluca

@DavideIadeluca DavideIadeluca commented Jun 3, 2026

Copy link
Copy Markdown
Contributor

Fixes #0000
After creating a new user in the admin users list, the count and list would be stale and required a hard refresh to update the UI

Changes proposed in this pull request:
Refresh user count and user list after a new user is created

Reviewers should focus on:

Screenshot

Necessity

  • Has the problem that is being solved here been clearly explained?
  • If applicable, have various options for solving this problem been considered?
  • For core PRs, does this need to be in core, or could it be in an extension?
  • Are we willing to maintain this for years / potentially forever?

Confirmed

  • Frontend changes: tested on a local Flarum installation.
  • Backend changes: tests are green (run composer test).
  • Core developer confirmed locally this works as intended.
  • Tests have been added, or are not appropriate here.

Required changes:

  • Related documentation PR: (Remove if irrelevant)

@DavideIadeluca
DavideIadeluca marked this pull request as ready for review June 3, 2026 08:25
@DavideIadeluca
DavideIadeluca requested a review from a team as a code owner June 3, 2026 08:25
@imorland imorland added this to the 2.0.0-rc.3 milestone Jun 4, 2026
@imorland
imorland merged commit 60195ce into flarum:2.x Jun 7, 2026
18 checks passed
@imorland
imorland deleted the di/improve-ux-admin-users-list branch June 7, 2026 18:21
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.

2 participants