Skip to content

feat: add users to contest as participants directly - #171

Merged
HermanPlay merged 1 commit into
masterfrom
feat/add-users-to-contest
Aug 11, 2026
Merged

HermanPlay merged 1 commit into
masterfrom
feat/add-users-to-contest

Conversation

@HermanPlay

@HermanPlay HermanPlay commented Aug 11, 2026 •

Copy link
Copy Markdown
Member

Summary

Adds the ability to add users to a contest directly as participants, without requiring them to first request access.

Closes #62

Changes

  • Service: ContestsManagementService gains getContestParticipants, getAssignableParticipants, addParticipantsToContest, removeParticipantsFromContest (backend API already existed).
  • New page: dashboard/teacher/contests/[contestId]/participants — sortable, paginated row-table of participants with a remove action per row.
  • Components:
    • AddParticipantsToContestButton — dialog with search + multi-select of assignable users.
    • RemoveParticipantFromContestButton — confirm-and-remove dialog.
    • ParticipantsList — table with server-side sorting (ID/Name/Username/Email/Role) and pagination (10/20/50/100 per page), reusing the UI Table + Pagination components.
  • Entry point: "Manage Participants" button on the admin contest card.
  • i18n: all new strings added to both en.json and pl.json.
  • Page title: mapped /participants route in dashboard title util.

Verification

  • pnpm run check: 0 errors
  • eslint on new/changed files: clean
  • Local docker deployment verified against real backend

Add participant management for contests on the teacher contest page:
- list participants in a sortable, paginated table
- add users directly without requiring a registration request
- remove participants from a contest

Backend participants API already existed; wired up the frontend services and UI.
@HermanPlay
HermanPlay merged commit e9ee7da into master Aug 11, 2026
1 check passed
@HermanPlay
HermanPlay deleted the feat/add-users-to-contest branch August 11, 2026 23:26
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.

Add users to contest directly

1 participant