Skip to main content
The tutor role (tutor) is designed for parents and legal guardians. Tutors register their children (students) on the platform, link them to their account, and monitor their academic progress and wellbeing from a dedicated dashboard.

Registration and login

1

Navigate to the registration page

Go to /auth/tutor/registro. The RegisterTutor component collects the tutor’s name, email address, and password.
2

Email confirmation

After registration, a confirmation email is sent. The tutor must confirm their address via the /confirmar route before they can log in.
3

Log in

Tutors log in at /auth/tutor. On successful authentication, a signed JWT is stored in the u_token cookie and the tutor is redirected to /app/tutor.

Tutor dashboard (/app/tutor)

The dashboard greets the tutor by name and loads their children’s activity data asynchronously. If the tutor has registered children, the dashboard shows:

Child selector

An avatar row listing all registered children. Clicking a child’s avatar switches the dashboard to display that child’s data.

Study hours (last 30 days)

A line chart showing the child’s daily study minutes over the past 30 days, based on session activity data.

Completed activities per class

A bar chart showing delivered vs. assigned activities for each of the selected child’s enrolled classes.

Child profile card

Shows the selected child’s name, age (calculated from date of birth using getAgeFromDob()), and a link to their detailed profile.
If no children have been registered yet, the dashboard shows a blurred placeholder chart and a prominent Añadir nuevo hijo button to prompt the tutor to register their first child.

Managing children (/app/tutor/hijos)

The Hijos section lists all children registered under the tutor’s account. For each child, the tutor can:
  • View their name, age, and email address.
  • Edit their profile using the edit icon (opens a side drawer form, FormUsers).
  • Delete the child record from the platform using the trash icon (calls /api/tutor/delete-user).

Registering a new child

Click Nuevo hijo or navigate to /app/tutor/hijos?kid=new. The FormUsers side drawer opens with a registration form for the child’s details. A tutor can link multiple children to a single account.

Containment situations

If a child has been flagged with a containment situation (a wellbeing concern logged by a teacher), a yellow warning triangle icon appears next to the child in the list. Clicking the icon opens a side panel listing all flagged situations for that child. Each situation displays:
FieldDescription
LevelSeverity — leve (mild, orange) or grave (serious, red)
SummaryShort description of the situation
DateTimestamp of when the situation was recorded (formatDateWithTime())
MessageThe last message from the associated conversation
Containment situations are recorded by teachers and are read-only for tutors. Contact the school directly if you need to respond to a flagged situation.

Account management (/app/tutor/cuenta)

Tutors can update their personal account details — name, email, profile photo, and phone number — from the Cuenta section.

Relationship to students

A tutor account can be associated with multiple student (child) records. Each child record holds:
  • Personal data (name, last name, date of birth, email, photo).
  • Session activity history (used to build the study-hours chart).
  • Class enrollment data (used to build the completed-activities chart).
  • Any containment situations logged by teachers.
Tutors have read-only visibility into a child’s academic data. They cannot enroll children in classes, submit activities on their behalf, or interact with teachers directly through the platform.

Key routes

RoutePurpose
/auth/tutorLogin
/auth/tutor/registroRegistration
/auth/tutor/recuperarPassword recovery
/app/tutorDashboard with children’s activity overview
/app/tutor/hijosChildren list — register, edit, and delete
/app/tutor/hijos?kid=newOpen registration form for a new child
/app/tutor/hijos?kid=[id]Open edit form for a specific child
/app/tutor/cuentaAccount management