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

@@ -13,7 +13,7 @@ type ScheduledGroup = {
time: string | null;
};
// Calcula qué grupos tienen clase hoy (según days/time y la zona horaria del profesor).
// Computes which groups have a class today (from days/time and the teacher's time zone).
export function buildTodayCandidates(
groups: ScheduledGroup[],
now: Date,
@@ -37,7 +37,7 @@ export function buildTodayCandidates(
return candidates;
}
// Materializa (upsert idempotente) las ClassSession del día y devuelve sus ids.
// Materializes (idempotent upsert) today's ClassSession rows and returns their ids.
export async function ensureTodaySessions(
db: Pick<ClassesDb, 'classSession'>,
candidates: TodaySessionCandidate[],