feat(api): add timezone support for group fetching and increase page size

feat(attendance): refactor attendance summary logic and update tests

feat(analytics): extend GroupRiskSummary schema with absence and attendance counts

feat(groups): enhance group schema with attendee and waitlist counts

chore(skills): add frontend design skill with guidelines and license

feat(attendee-detail): implement AttendeePhoneLine component for phone display

feat(groups): create AttendanceBadge and CapacityIndicator components for group cards

feat(groups): add card utility functions for attendance alerts and capacity summaries

test(groups): implement tests for attendance alert and capacity summary logic
This commit is contained in:
Jose Selesan
2026-09-30 17:39:13 -03:00
parent 4e86096653
commit 454f20ed25
31 changed files with 1323 additions and 250 deletions

View File

@@ -16,6 +16,9 @@ export function AttendeeContactActions() {
return (
<div className="flex gap-2.5">
{/* Los íconos van con `accent-fg` y no con `accent`: el azul de `accent` es
el mismo en los dos temas y sobre `primary-soft` oscuro queda en 2.2:1.
`accent-fg` da 6.2:1 en claro y 7.1:1 en oscuro. */}
<a
href={`https://wa.me/${digits}`}
target="_blank"
@@ -23,7 +26,7 @@ export function AttendeeContactActions() {
aria-label={`Abrir WhatsApp con ${label}`}
className={cn(ACTION_BUTTON_CLASS, 'flex-1')}
>
<MessageCircle className="size-4 text-accent" aria-hidden="true" />
<MessageCircle className="size-4 text-accent-fg" aria-hidden="true" />
WhatsApp
</a>
<a
@@ -31,7 +34,7 @@ export function AttendeeContactActions() {
aria-label={`Llamar a ${label}`}
className={cn(ACTION_BUTTON_CLASS, 'flex-1')}
>
<Phone className="size-4 text-accent" aria-hidden="true" />
<Phone className="size-4 text-accent-fg" aria-hidden="true" />
Llamar
</a>
</div>