chore: update comments and documentation for clarity and consistency across various files
- Translated comments from Spanish to English in vite.config.ts, docker-compose.yml, attendance-risk.ts, analytics.ts, attendance.ts, attendees.ts, enums.ts, groups.ts, and onboarding.ts. - Improved descriptions for better understanding of code functionality and purpose. - Ensured uniformity in terminology and phrasing throughout the codebase.
This commit is contained in:
@@ -51,16 +51,16 @@ export function AttendeeDetailProvider({
|
||||
enabled: Boolean(groupId && attendeeId),
|
||||
})
|
||||
|
||||
// Misma clave que usa la pantalla de estadísticas: las dos leen el mismo
|
||||
// historial y no se pisan la caché.
|
||||
// Same key the analytics screen uses: both read the same history and do not
|
||||
// clobber each other's cache.
|
||||
const historyQuery = useQuery({
|
||||
queryKey: ['attendee-history', groupId, attendeeId],
|
||||
queryFn: () => getAttendeeHistory(groupId, attendeeId),
|
||||
enabled: Boolean(groupId && attendeeId),
|
||||
})
|
||||
|
||||
// La lista de espera solo hace falta para el diálogo de quitar, así que no se
|
||||
// pide hasta que el usuario lo abre.
|
||||
// The waitlist is only needed for the remove dialog, so it is not fetched
|
||||
// until the user opens it.
|
||||
const waitlistQuery = useQuery({
|
||||
queryKey: ['group-waitlist', groupId],
|
||||
queryFn: () => getGroupWaitlist(groupId, 1, 100),
|
||||
|
||||
Reference in New Issue
Block a user