Skip to content

Turn the admin user view into a full account page - #128

Merged
Mistium merged 1 commit into
developfrom
admin-user-dossier
Oct 6, 2026
Merged

Mistium merged 1 commit into
developfrom
admin-user-dossier

Conversation

@Mistium

@Mistium Mistium commented Oct 6, 2026 •

Copy link
Copy Markdown
Member

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

  • Filters: Everyone, Warned or banned, Joined this week, Under 18, Admins.
  • Search by username or Rotur ID.
  • Each row shows admin, standing and under-18 badges, how long ago they joined, projects, followers and storage. It's one surface with dividers, not boxed rows.

User page

  • Header: avatar, badges, the Rotur ID (click to copy), bio and a link to the public profile.
  • Six facts at a glance: joined, last signed in (and live sessions), plan, storage, projects (shared, views, hearts) and reports about them (how many open).
  • Tabs:
    • Overview: a private admin note shared by all admins, plus followers, following, credits earned, profile comments, reports they filed, spaces and classes. Under-18 accounts get a reminder that Rotur marks accounts without a date of birth as under 18.
    • Projects: views, hearts, size and last edit, with unshare and delete.
    • Reports: reports about them and reports they filed, with the reported content, whether each is open, and how it was closed and by whom.
    • Comments: their recent comments, linked to where they were posted.
    • Activity: hearts, favorites, shares, remixes and releases.
    • Moderation: standing with its full history and when it recovers, the ban record, a message box, and profile comments on or off.

Getting there

  • The section and user are in the URL, so /admin?section=users&user=<name or Rotur ID> opens straight to someone and the back button works.
  • Open reports get a View account button.
  • Banned names link to the account.
  • Errors moves into the System group, so the sidebar no longer has two System headings.

Screenshots (admin API faked with Playwright routes)

Users, with filters:
users

A user's overview:
user

Reports tab:
reports

Comments tab:
comments

Moderation tab:
moderation

Mobile:
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 new community-admin-user-detail.test.jsx covers the facts, every tab, saving the note and the link helpers. The existing user directory tests still pass.
  • build:deploy and validate-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)

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.
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying scratch-gui with  Cloudflare Pages  Cloudflare Pages

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

View logs

@Mistium
Mistium merged commit f03b6da into develop Oct 6, 2026
4 checks passed
@Mistium
Mistium deleted the admin-user-dossier branch October 6, 2026 21:24
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
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.

1 participant