Skip to content

feat(skin-market): show submitter GitHub account in review - #2148

Merged
bobleer merged 1 commit into
GCWing:mainfrom
bobleer:bob/skin-admin-submitter
Aug 7, 2026
Merged

feat(skin-market): show submitter GitHub account in review#2148
bobleer merged 1 commit into
GCWing:mainfrom
bobleer:bob/skin-admin-submitter

Conversation

@bobleer

@bobleer bobleer commented Aug 7, 2026

Copy link
Copy Markdown
Collaborator

Problem

The skin market admin review page (/skin/admin) shows package metadata and hashes but never says which GitHub account submitted the package, so reviewers can't tell who sent it.

Change

  • AppearanceAdminSubmissionDetail gains an optional submitter (AppearanceMarketUserSummary); the field is #[serde(default)] so older clients/servers stay compatible.
  • admin_submission_detail left-joins users on submissions.owner_user_id to fill it.
  • The review facts grid now leads with Submitted by, rendered as an avatar + @login linking to the GitHub profile (falls back to "Unknown account"). EN/ZH strings added.

Verification

  • cargo test -p bitfun-skin-market-service (10 passed) — the bearer review flow test now asserts submitter.login / submitter.githubId.
  • npx tsc --noEmit, npm test (24 passed), npm run build in src/skin-market-web.

The admin review page had no way to tell which GitHub account sent a
submission. Expose the submission owner on the admin detail response and
render it as a linked avatar in the review facts.
@bobleer
bobleer merged commit 5bfd15a into GCWing:main Aug 7, 2026
7 checks passed
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