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

@@ -17,9 +17,9 @@ type RegisterAbsenceInput = {
releaseHours: number;
};
// Núcleo compartido del aviso de ausencia (profesor autenticado y alumno con token):
// - Marca la asistencia como EXCUSED (upsert idempotente).
// - Si la anticipación alcanza `releaseHours`, crea/conserva un SlotRelease para liberar el cupo.
// Shared core of the absence notice (authenticated teacher and attendee with a token):
// - Marks the attendance as EXCUSED (idempotent upsert).
// - If the notice comes early enough to meet `releaseHours`, creates/keeps a SlotRelease to free the spot.
export async function registerAbsence(
deps: RegisterAbsenceDeps,
input: RegisterAbsenceInput,