@apps/wodsmith-start/src/components/leaderboard-page-content.tsx we need to add a status…
- User
@apps/wodsmith-start/src/components/leaderboard-page-content.tsx we need to add a status legend to the leaderboard for the review status that are applied. also "under review" needs to be "reviewed"
Assistant
Now I understand the full context. The
markSubmissionReviewedFnsets status tounder_review— so the label "Reviewed" does match the action. Let me make the changes.Assistant
Now add the legend component to leaderboard-page-content.tsx. Only show when preview + online.
Assistant
Now add the legend component definition and render it.
Assistant
Now render the legend conditionally. It should appear in preview mode on online competitions.
Assistant
Now verify the edits and run type-check + lat check.
Assistant
Type check passes. Now update
lat.mdto reflect the label change and legend.Assistant
Let me scope Biome to the files I changed.
Assistant
Both files clean. Summary:
Changes
apps/wodsmith-start/src/components/compete/submission-status-badge.tsx:43-46— renamedunder_reviewlabel from "Under Review" to "Reviewed" and updated the tooltip description to match the organizer "mark reviewed" action that actually sets this status.apps/wodsmith-start/src/components/leaderboard-page-content.tsx— added aReviewStatusLegendcomponent (reusesgetStatusConfig+reviewStatusOrderfrom the badge module so colors/icons stay in lockstep with the inline cell indicators) rendered above the table whenpreview && competitionType === "online".lat.md/organizer-dashboard.md:133— documented the new legend and noted the "Reviewed" label vs. the server's still-pendingunder_reviewpriority semantics.
Type check passes, Biome clean on the touched files,
lat checkpasses.- User
commit and push
- Assistant· <synthetic>
No response requested.