/app/alumno/clases is where you manage all the classes you are enrolled in. From here you can browse active classes, explore new ones, and unenroll from classes you no longer need.
Classes list
The list shows all classes where your enrollment has been approved by the teacher (approved: true, deleted: false). Each class card displays:
- Class name and photo
- Teacher name
- Next delivery date (if a pending activity exists)
- A star button to mark the class as a favourite
- A link to open the class detail page
- A trash icon to unenroll
The classes list only shows classes where the teacher has already approved your enrollment request. Classes with a pending approval do not appear here.
Exploring and enrolling in new classes
Click “Explorar nuevas clases” to open the class explorer modal. The modal fetches classes fromGET /api/student/find-classes, which returns classes that:
- Match your age range (
min_age≤ your age ≤max_age) - You are not already enrolled in
Open the explorer
On the classes list page, click the “Explorar nuevas clases” button in the top-right area.
Browse or search
The modal shows available classes in a grid. Use the search bar to filter by class name, description, or teacher name.
Send an enrollment request
Click “Inscribirse” on a class card. The button changes to “Enviado” and confetti fires to confirm the request was sent.
Class detail page
Clicking “Ver clase” or “Actividad pendiente” on a class card opens the class detail at/app/alumno/clases/{id_class}.
The detail page shows:
Class info
Class name, teacher name, and class photo in the page header.
Activities
Two tabs — Pending and Finished — showing all assigned activities for your account.
Teacher chat
A floating button opens a real-time chat drawer with your teacher for this class.
Back navigation
A “Volver a clases” link in the top-right returns you to the classes list.
Activity tabs
- Pendientes — tasks with a future due date that you have not yet submitted.
- Finalizadas — tasks you have submitted, or tasks whose due date has passed.
Starring a class
The star button on each class card in the list toggles your star rating for that class. Starring is persisted viaPOST /api/student/send-star with the class ID, teacher ID, and the new star state (true or false). Stars affect the ranking order when other students browse available classes.
Unenrolling from a class
Click the trash icon on a class card in the list. A confirmation dialog appears before the request is sent.Click the trash icon
Find the class in your list and click the red trash icon on the right side of the card.
Confirm the dialog
A confirmation dialog warns that this action cannot be reversed. Click “Sí, eliminar” to proceed.
API reference
Find available classes
Enroll in a class
| Field | Type | Description |
|---|---|---|
class_id | string (UUID) | ID of the class to enroll in |
Unenroll from a class
| Field | Type | Description |
|---|---|---|
id_student | string | Authenticated student’s ID |
id_class | string (UUID) | ID of the class to leave |