Repository navigation
Turn the admin user view into a full account page - #128
Merged
Merged
Conversation
Users can be filtered to warned or banned, joined this week, under 18 or admins, and found by Rotur ID as well as name. Each row shows admin, standing and under-18 badges and when they joined. Opening someone shows their Rotur ID, plan, last sign-in and sessions, storage, project totals and open reports at a glance, with tabs for an overview (a private admin note, account details, spaces and classes), projects, reports about them and by them, their recent comments, activity, and moderation (standing with its history, ban record, a message, profile comments). The section and user live in the URL, so /admin?section=users&user=name opens straight to someone, and reports and bans link to the person. Errors move into the System group in the sidebar.
Deploying scratch-gui with
|
| Latest commit: |
ee9fa9e
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://9d91cf4f.scratch-gui.pages.dev |
| Branch Preview URL: | https://admin-user-dossier.scratch-gui.pages.dev |
mc20000-01
pushed a commit
to mc20000-01/scratch-gui
that referenced
this pull request
Nov 7, 2026
Turn the admin user view into a full account page
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The admin Users section showed followers, standing, storage and a project list, which didn't help with finding out about someone. This needs MistWarp/api#42 for the new data. Against the current API the page still loads, with the new parts empty.
User list
User page
Getting there
/admin?section=users&user=<name or Rotur ID>opens straight to someone and the back button works.Screenshots (admin API faked with Playwright routes)
Users, with filters:

A user's overview:

Reports tab:

Comments tab:

Moderation tab:

Mobile:

Testing
pnpm run lint,i18n:community:check,i18n:editor:check,check:community-css,deps:check.pnpm run test:unit:ci: 359 suites, 2395 tests. The newcommunity-admin-user-detail.test.jsxcovers the facts, every tab, saving the note and the link helpers. The existing user directory tests still pass.build:deployandvalidate-deploy.Preview: https://admin-user-dossier.scratch-gui.pages.dev/admin?section=users (Cloudflare Pages branch preview; the new data shows once MistWarp/api#42 is deployed)