Skip to content

feat: show readable labels instead of raw IDs in audit log & player views#42

Merged
Maximus7474 merged 1 commit into
mainfrom
fix/readable-ui-labels
Jul 4, 2026
Merged

feat: show readable labels instead of raw IDs in audit log & player views#42
Maximus7474 merged 1 commit into
mainfrom
fix/readable-ui-labels

Conversation

@FjamZoo

@FjamZoo FjamZoo commented Jul 4, 2026

Copy link
Copy Markdown
Collaborator

Description

Audit log metadata now resolves group IDs (groupId/previous_groupId/ new_groupId) to group badges, decodes permission bitmasks to labels, and humanizes metadata keys; leftover ID fields render as #n and nulls as "none".

Player punishment, report, and note tables now show issuer usernames and reporter names, resolved via a batched lookup in players.findById (no N+1).


Tests

  • Tested in development mode
  • Passes typecheck
  • Builds & runs on Windows
  • Builds & runs on Linux

Additional Notes

N/A

…ayer views

Audit log metadata now resolves group IDs (groupId/previous_groupId/
new_groupId) to group badges, decodes permission bitmasks to labels, and
humanizes metadata keys; leftover ID fields render as #n and nulls as "none".

Player punishment, report, and note tables now show issuer usernames and
reporter names, resolved via a batched lookup in players.findById (no N+1).
@FjamZoo FjamZoo changed the title feat: show human-readable labels instead of raw IDs in audit log & pl… feat: show readable labels instead of raw IDs in audit log & player views Jul 4, 2026
@Maximus7474 Maximus7474 merged commit eb0ef70 into main Jul 4, 2026
6 checks passed
@FjamZoo FjamZoo deleted the fix/readable-ui-labels branch July 4, 2026 14:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants