Skip to content

feat(admin): show copyable UUIDs in super-admin directories - #1435

Draft
neubig wants to merge 1 commit into
mainfrom
feat/super-admin-directory-uuids
Draft

neubig wants to merge 1 commit into
mainfrom
feat/super-admin-directory-uuids

Conversation

@neubig

@neubig neubig commented Nov 17, 2026 •

Copy link
Copy Markdown
Member

HUMAN:

  • A human has tested these changes.

AGENT:

Why

Super admins need stable user and organization identifiers when investigating account and membership issues. The directory API already returns those identifiers, but the tables did not display them.

Summary

  • Show UUIDs beneath names in the users and organizations directories, with the full value available on hover and through a keyboard-accessible copy control.
  • Reuse the existing copy-button UI, confirm successful copies, handle clipboard failures, and prevent copying from opening user management.
  • Do not show an invitation's email-backed row key as a UUID. Pending invited users have no account UUID.
Before                     After
Account name               Account name
                           UUID: 12345678-… [Copy]

Pending invitation         Pending invitation (no UUID)

The existing paginated server-side name/email search remains unchanged; this does not add a current-page-only UUID filter. No backend, quota, deployment, or production changes.

How to Test

From frontend/:

  • npm run test -- __tests__/components/features/super-admin/directory-uuid.test.tsx __tests__/components/features/super-admin/super-admin-users.test.tsx __tests__/components/features/super-admin/super-admin-organizations.test.tsx — 42 tests pass.
  • npm run typecheck — passes.
  • Focused ESLint — passes (one existing i18next import warning in the organization test).
  • npm run check-translation-completeness — passes.
  • NODE_OPTIONS=--max-old-space-size=2048 npm run lint:fix — full frontend check passes.
  • npm run build — production build passes.
  • uv run pre-commit run --show-diff-on-failure --config ./dev_config/python/.pre-commit-config.yaml (repository root) — passes; commit hooks also pass.

Manual QA: open both super-admin directories, hover and copy a UUID, verify copied text, tab to the copy button and press Enter, and confirm pending invitations have no UUID/copy control.

Video/Screenshots

Not captured; automated tests cover both rendered directory pages and clipboard interactions. Human visual QA remains unchecked above.

Type

  • Feature

Notes

Built from current origin/main at b0d4557, not the old emudhra snapshot. Initial full validation attempts encountered shared-machine resource contention; final full-check results are recorded below.

This PR was created by an AI agent (OpenHands) on behalf of Graham.


Enterprise server image for this PR:

ghcr.io/openhands/enterprise-server:sha-ea9dc2a

Tracking: Part of #1518

@github-actions

Copy link
Copy Markdown
Contributor

Coverage report

This PR does not seem to contain any modification to coverable code.

@neubig neubig changed the title Show copyable UUIDs in super-admin directories feat(admin): show copyable UUIDs in super-admin directories Nov 26, 2026
@github-actions github-actions Bot added the type: feat A new feature label Nov 26, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: feat A new feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants