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:
@@ -9,19 +9,19 @@ import { SectionChips } from './SectionChips'
|
||||
export function MembersWaitlistSection() {
|
||||
const { listSection, searchFilter, setSearchFilter, attendeesTotal } = useGroupDetail()
|
||||
|
||||
// Con pocos miembros el buscador es ruido: se alcanza con recorrer la lista.
|
||||
// Se quita del árbol en vez de esconderse, para no dejar un hueco en la fila.
|
||||
// En Pendientes no cambia nada: ahí el volumen es el que es.
|
||||
// With few attendees the search is noise: scrolling the list is enough. It is
|
||||
// removed from the tree instead of hidden, so as not to leave a gap in the
|
||||
// row. In Pendientes nothing changes: there the volume is what it is.
|
||||
const showSearch = listSection === 'pending' || attendeesTotal > MEMBER_SEARCH_MIN
|
||||
|
||||
return (
|
||||
// Una sola superficie: la lista va directo sobre el lavado, como la info
|
||||
// card de arriba, en vez de anidarse en una caja más clara. La separación
|
||||
// entre controles y datos la dan los propios divisores de fila, el tono
|
||||
// propio del input y el borde de los chips; una caja intermedia solo
|
||||
// sumaba un nivel de contención y padding horizontal.
|
||||
// `overflow-hidden` recorta el hover de las filas y el borde inferior
|
||||
// contra el radio del panel: las filas son full-bleed.
|
||||
// A single surface: the list sits directly on the wash, like the info card
|
||||
// above, instead of nesting inside a lighter box. The separation between
|
||||
// controls and data comes from the row dividers themselves, the input's own
|
||||
// tone and the chips' border; an intermediate box only added a level of
|
||||
// containment and horizontal padding.
|
||||
// `overflow-hidden` clips the rows' hover and the bottom border against the
|
||||
// panel's radius: the rows are full-bleed.
|
||||
<div className="overflow-hidden rounded-2xl bg-primary-soft">
|
||||
<div className="space-y-2 p-3">
|
||||
<div className="flex flex-col gap-2.5 lg:flex-row lg:items-center lg:justify-between">
|
||||
@@ -41,9 +41,9 @@ export function MembersWaitlistSection() {
|
||||
) : null}
|
||||
</div>
|
||||
|
||||
{/* Solo Pendientes lleva copia de apoyo: explica la diferencia entre
|
||||
pre-inscripción y lista de espera, que no se deduce de los nombres.
|
||||
En Miembros los rótulos de columna ya dicen todo. */}
|
||||
{/* Only Pendientes has supporting copy: it explains the difference
|
||||
between pre-registration and waitlist, which cannot be deduced from
|
||||
the names. In Miembros the column labels already say everything. */}
|
||||
{listSection === 'pending' ? (
|
||||
<p className="max-w-2xl text-xs leading-snug text-foreground/80">
|
||||
Pre-inscripciones que esperan tu aprobación y personas en lista de espera por un cupo
|
||||
|
||||
Reference in New Issue
Block a user