feat(attendee-detail): enhance attendee detail view with payment and notes sections

- Added payment presentation logic to display payment status and due dates.
- Introduced AttendeeNotesSection and AttendeePaymentsSection components for managing notes and payments.
- Implemented forms for editing contact information and notes with validation.
- Updated API to support attendee updates and added corresponding tests.
- Improved attendance summary logic to reflect all visible sessions.
- Enhanced UI with loading states and error handling for better user experience.
This commit is contained in:
Jose Selesan
2026-10-01 18:41:55 -03:00
parent 6d120f4b1f
commit faf949fc9b
31 changed files with 1129 additions and 225 deletions

View File

@@ -11,12 +11,15 @@ describe('isImmersiveRoute', () => {
expect(isImmersiveRoute('/class/ses_987/attendance')).toBe(true)
})
test('las rutas hijas del grupo no lo son', () => {
test('el detalle de miembro también es immersive', () => {
expect(isImmersiveRoute('/groups/cm1234/attendees/at_55')).toBe(true)
})
test('las demás rutas hijas del grupo no lo son', () => {
expect(isImmersiveRoute('/groups')).toBe(false)
expect(isImmersiveRoute('/groups/')).toBe(false)
expect(isImmersiveRoute('/groups/new')).toBe(false)
expect(isImmersiveRoute('/groups/cm1234/attendees/new')).toBe(false)
expect(isImmersiveRoute('/groups/cm1234/attendees/at_55')).toBe(false)
})
test('el resto de la app mantiene el header global', () => {