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:
Jose Selesan
2026-10-01 16:06:54 -03:00
parent 01b35691df
commit 69275c37b4
100 changed files with 1121 additions and 1086 deletions

View File

@@ -2,19 +2,20 @@ import { Mail } from 'lucide-react'
import { useAttendeeDetail } from './AttendeeDetailProvider'
import { Section } from './Section'
/* `px-3` interno: la banda de hover sigue a sangre hasta el borde de la sección
(la separa del texto, no al revés) y las notas de abajo suman el mismo para
que el email y ellas caigan en la misma columna. */
/* Inner `px-3`: the hover band bleeds all the way to the section edge
(it separates from the text, not the other way around) and the notes below
add the same so the email and they land in the same column. */
const ROW_CLASS =
'flex w-full min-h-11 items-center justify-between gap-3 rounded-lg px-3 py-2.5 transition-colors hover:bg-primary-soft focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-accent'
/** Email y notas del miembro. El teléfono no va acá: ya está en el subtítulo y
* detrás de los botones de WhatsApp y Llamar, y repetirlo llenaba la pantalla
* de un dato que ya estaba a la vista.
/** The attendee's email and notes. The phone does not go here: it is already in
* the subtitle, behind the WhatsApp and Llamar buttons, and repeating it filled
* the screen with a value that was already in view.
*
* Sin datos no se dibuja la sección: no hay filas con "Sin email"/"Sin notas".
* Aparece sola en cuanto el miembro tenga alguno (hoy el email puede llegar al
* aprobar una preinscripción; las notas, cuando exista la edición). */
* With no data the section is not drawn: there are no "Sin email"/"Sin notas"
* rows. It shows up on its own as soon as the attendee has one of them (today
* the email can arrive when approving a pre-registration; the notes, once
* editing exists). */
export function AttendeeContactSection() {
const { attendee } = useAttendeeDetail()