Event Entrants
Manage all entrants for a tournament event
TO
Management Hub
Authenticated
/TO/event_entrants.html
Source
/public_html/TO/event_entrants.html[oai_citation:0‡event_entrants.html](sediment://file_00000000f38c71f4967d8e95b84b0d20)/public_html/TO/scripts/event_entrants.js[oai_citation:1‡event_entrants.js](sediment://file_00000000dfdc720a802df47c71980d8b)
Purpose
- View all entrants in an event
- Add registered users
- Create/edit guest entrants
- Trigger claim flows
- Navigate to army management
System role
This page is the entry point for all entrant-related workflows.
Event → Entrants → Entrant Army → Units
URL parameters
| Parameter | Required |
|---|---|
| event_id | Yes |
| tournament_id | Fallback |
APIs Used
to/event_entrants_list.phpto/event_entrant_save.phpto/event_entrant_get.phpto/event_entrant_delete.phpto/user_search.phpto/event_entrant_claim_send.php
Page structure
- Entrants list (top)
- Registered user search
- Guest entrant form
Entrants section is prioritised above creation UI for workflow efficiency. [oai_citation:2‡event_entrants.html](sediment://file_00000000f38c71f4967d8e95b84b0d20)
Entrants list
- Displays all entrants
- Search filter (name/email/race/faction)
- Shows type (Registered / Guest)
- Shows race + faction
Entrant types
| Type | Behaviour |
|---|---|
| Registered |
|
| Guest |
|
Entrant actions
| Action | Description |
|---|---|
| Army | Navigate to army management |
| Edit | Edit guest entrant |
| Delete | Remove entrant |
| Regenerate claim email | Guest only |
Registered user flow
- Search user
- Select result
- Add to event
- List refreshes
Single-click addition workflow. [oai_citation:3‡event_entrants.js](sediment://file_00000000dfdc720a802df47c71980d8b)
Guest entrant flow
- Enter display name
- Optional email + notes
- Save
- Optional claim code generated
Claim system
- Guest entrants can be claimed later
- Claim email can be resent
- Tracks claim code usage
Email-based auto-conversion
If a guest email matches a registered user:
→ automatically converts to registered entrant
This prevents duplication and ensures correct identity mapping. [oai_citation:4‡event_entrants.js](sediment://file_00000000dfdc720a802df47c71980d8b)
State model
{
currentEvent,
allEntrants,
editingGuestId
}
Search behaviour
- Client-side filtering
- Search across multiple fields
- Instant update on input
Navigation
- Entrant → Army page
- Maintains event context via query string
event_entrant_armies.html?event_id=X&entrant_id=Y
Risks / observations
- Multiple responsibilities in one page
- Heavy dependency on API consistency
- No pagination (could scale issue)
- Search is client-side only
Recommended improvements
- Add pagination for large events
- Debounce search input
- Improve loading indicators
- Add bulk actions (future)
Architecture classification
This is a Management Hub:
- Controls multiple workflows
- Routes to deeper features
- Central TO entry point