Skip to content

feat(admin): Mod panel tweaks + improved title ID input control#378

Merged
ashquarky merged 9 commits intodevfrom
work/modpanel-tweaks
Feb 28, 2026
Merged

feat(admin): Mod panel tweaks + improved title ID input control#378
ashquarky merged 9 commits intodevfrom
work/modpanel-tweaks

Conversation

@ashquarky
Copy link
Member

Resolves #XXX

Changes:

Future Changes are going to require all communities to have accurate TitleIDs set, so here's some changes for that and general mod panel tweaks.

  • Change Icon and MiiIcon to the new component style, with folder structure and a type parameter for variants. Inline SVG icons are now called "UIIcon" to avoid the name clash.
  • Add extra details to report rendering as requested by mods (PID view, link to reporter page, timestamp details)
  • Bundle admin.js with main js so it's one large script. Only affects admin view.
  • Port mod panel client code to TypeScript and refactor all event handlers into the new style with data- attributes.
  • Make search bars into a component and use normal HTML forms instead of JS.
  • Improve TitleID control so it can accept decimal, hex and dashed format TitleIDs. Hex and dashed IDs are commonly found on community wikis. IDs will always be displayed in dashed format.

Dashed, hex and decimal formats:
image

All displayed as hex after saving:
image

@ashquarky ashquarky requested a review from mrjvs February 23, 2026 12:08
@mrjvs
Copy link
Contributor

mrjvs commented Feb 23, 2026

I didnt have a full look yet, just adding something mods have mentioned in VC

@ashquarky ashquarky requested a review from mrjvs February 24, 2026 02:47
Copy link
Contributor

@mrjvs mrjvs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@ashquarky ashquarky merged commit 5aecfbf into dev Feb 28, 2026
11 checks passed
@ashquarky ashquarky deleted the work/modpanel-tweaks branch February 28, 2026 23:37
@mrjvs mrjvs mentioned this pull request Mar 5, 2026
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.

2 participants