Skip to content

feat: events module#238

Draft
danielhe4rt wants to merge 2 commits into
4.xfrom
feat/events
Draft

feat: events module#238
danielhe4rt wants to merge 2 commits into
4.xfrom
feat/events

Conversation

@danielhe4rt
Copy link
Copy Markdown
Contributor

No description provided.

danielhe4rt and others added 2 commits May 16, 2026 21:13
## Resumo
- Events domain: `Event` + `EventType` com regras de enrollment e enums
de status/attendance
- Enrollment flow: `Enrollment`, `EnrollmentPolicy`,
`EnrollmentTransition` com factories e testes
- Check-in flow: `CheckIn`, `CheckInCode`, `QrToken` + `CheckInMethod`
- Admin panel: `EventResource` com pages de create/edit/list, relation
manager de enrollments, melhorias em form/infolist/table
- Cleanup/docs: ajuste de legado, ADRs e atualizacao de context map

### Architecture
Events module
|-- Event domain (EventType + Event)
|-- Enrollment domain (EnrollmentMethod/Status/AttendanceRequirement +
Enrollment/Policy/Transition)
`-- Check-in domain (CheckInMethod + CheckIn/CheckInCode/QrToken)

Admin panel
`-- Event management (EventResource + pages + relation manager +
form/infolist/table)

### Files (8 migrations, 7 models, 5 enums, 7 factories, 3 tests)
- 8 migrations (inclui drop do legado)
- 7 models e 5 enums
- 7 factories
- 3 testes (feature + unit)
- Recursos do painel admin para eventos

## Test plan
- php artisan migrate
- php artisan test --filter=EventFactoriesTest
- php artisan test --filter=EventResourceTest
- php artisan test --filter=EnrollmentStatusTest

---------

Co-authored-by: danielhe4rt <danielhe4rt@gmail.com>
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