Commit Graph

83 Commits

Author SHA1 Message Date
santiago.martinez 282aeb669f Actualizar diplomas/src/utils/supabase.js 2025-06-18 01:59:47 +00:00
santiago.martinez e2bab82a13 Actualizar diplomas/src/utils/supabase.js 2025-06-18 01:53:49 +00:00
roberto.viveros 60f334bbcd Merge pull request 'roberto' (#4) from roberto into main
Reviewed-on: #4
2025-06-16 05:03:23 +00:00
SirRobert-1 d10b4d348d fix: format button text for better readability in AlumnosArchivo component 2025-06-15 23:00:57 -06:00
BenitoBB 87bee19a05 feat: add InyeccionManualForm and PildoraManualForm components; integrate them into AlumnosArchivo and handle related logic in API and views 2025-06-15 22:37:00 -06:00
SirRobert-1 d77b742867 fix: improve participation text clarity in Diploma component 2025-06-15 21:33:20 -06:00
SirRobert-1 575dcf2448 feat: add next-themes and sonner dependencies; implement Toaster component for notifications 2025-06-15 21:24:08 -06:00
SirRobert-1 aba498cdf0 feat: enhance Diploma component layout and styling; update course details display 2025-06-15 20:31:52 -06:00
roberto.viveros 5d84bf3350 Merge pull request 'roberto' (#3) from roberto into main
Reviewed-on: #3
2025-06-15 03:24:04 +00:00
SirRobert-1 25c8161240 fix: update URLs in Diploma and VistaPreviaDiplomaDialog components to use HTTP instead of HTTPS 2025-06-14 20:54:35 -06:00
SirRobert-1 1933f42d26 feat: update header in AlumnoId component to reflect student information 2025-06-14 20:49:18 -06:00
SirRobert-1 9da79ac36c feat: add QR code generation and display in Diploma component; implement AlumnoId page for detailed student information 2025-06-14 20:44:25 -06:00
SirRobert-1 b6e916c679 feat: enhance competencia loading logic in DiplomasVista based on tipo_formacion 2025-06-13 22:32:53 -06:00
SirRobert-1 74cb6015dc feat: refactor Diploma and VistaPreviaDiplomaDialog components to use unified formacion structure and enhance competency handling 2025-06-13 22:24:43 -06:00
SirRobert-1 0f1c1458c5 feat: update eliminarAlumno function call to use confirmarEliminacion for improved deletion confirmation 2025-06-13 20:49:43 -06:00
SirRobert-1 d7562fa4ab feat: update Alumnos schema to clarify type selection and enhance data loading in AlumnosVista and AlumnosManual 2025-06-13 20:41:18 -06:00
BenitoBB 814354baac feat: implement editing functionality for alumnos in AlumnosVista with improved UI for form inputs 2025-06-13 16:57:54 -06:00
BenitoBB a744fb083d feat: enhance AlumnosVista and DiplomasVista with new data handling for inyecciones and pildoras, including editing capabilities and improved UI for displaying types and formations 2025-06-13 16:51:22 -06:00
roberto.viveros 1963d4d8d4 Merge pull request 'roberto' (#2) from roberto into main
Reviewed-on: #2
2025-06-04 06:10:21 +00:00
SirRobert-1 010ac8fa6d feat: add navigation warning dialog to prevent data loss on route change 2025-06-03 22:54:07 -06:00
SirRobert-1 c747b4615c feat: add custom message functionality for diploma emails and WhatsApp notifications 2025-06-03 22:33:10 -06:00
SirRobert-1 cddb2291c3 feat: add manual and file upload pages for inyecciones and pildoras
- Created InyeccionesManual component for manual entry of inyecciones.
- Created InyeccionesVista component for viewing and managing inyecciones.
- Created PildorasArchivo component for uploading pildoras via CSV/XLSX files.
- Created PildorasManual component for manual entry of pildoras.
- Created PildorasVista component for viewing and managing pildoras.
- Created VistaGeneral component to provide an overview of cursos, inyecciones, and pildoras.
- Added validation schemas for inyecciones and pildoras using Zod.
- Updated AlumnosSchema to modify course selection validation.
2025-06-03 18:02:10 -06:00
SirRobert-1 164921592b feat: add encabezado image and update Diploma component layout for improved presentation 2025-05-29 12:06:08 -06:00
SirRobert-1 bc3c406fd0 fix: update import path for CursosManualForm component 2025-05-26 08:53:51 -06:00
SirRobert-1 985af4f2fd Refactor curso and diploma management pages for improved readability and functionality
- Updated `cursosArchivo.jsx` to enhance dialog imports and improve code formatting.
- Refactored `cursosManual.jsx` to streamline competency management and improve user feedback through dialogs.
- Enhanced `cursosVista.jsx` for better table layout and added functionality for managing course competencies.
- Improved `diplomasVista.jsx` layout for better responsiveness and removed unused dialog component.
2025-05-23 15:33:53 -06:00
SirRobert-1 65893bf052 feat: implement form validation for alumno editing using Zod schema 2025-05-22 11:41:25 -06:00
roberto.viveros 6c5a04aec4 Merge pull request 'roberto' (#1) from roberto into main
Reviewed-on: #1
2025-05-22 17:22:43 +00:00
SirRobert-1 cb276b11e2 fix: correct text message in diploma email notification 2025-05-22 05:01:26 -06:00
SirRobert-1 f21ecd343b feat: integrate SendGrid for diploma email delivery with PDF attachment 2025-05-22 05:00:41 -06:00
SirRobert-1 bb02cf3830 feat: enhance diploma dialogs with improved state management and user feedback, including PDF generation and course competency handling 2025-05-19 20:43:14 -06:00
BenitoBB d2c7bddf18 feat: refactor diploma dialogs to improve structure and user experience, including enhanced layout and state management 2025-05-19 08:31:49 -06:00
SirRobert-1 a2a0b9631a feat: add diploma generation feature with PDF rendering
- Added @react-pdf/renderer to package.json for PDF generation.
- Created Diploma component to structure the PDF layout.
- Implemented CrearDiplomaDialog for selecting competencies and creating diplomas.
- Developed VistaPreviaDiplomaDialog for previewing and downloading the diploma as a PDF.
- Updated diplomasVista page to integrate the new dialogs for diploma creation and preview.
- Removed the old vistaPreviaDiplomaDialog component as it was refactored into a new structure.
2025-05-18 21:35:24 -06:00
BenitoBB 8c85ec396d feat: implement diploma creation and preview dialogs, enhancing diploma management for students 2025-05-18 16:05:43 -06:00
BenitoBB 6a4a44bdbc feat: add loading and warning dialogs in cursosArchivo, enhance user feedback during course registration 2025-05-18 15:12:12 -06:00
BenitoBB 9510e9a1a1 feat: enhance curso management by adding competency insertion and validation, update cursosArchivo and cursosVista for better handling of course data 2025-05-18 14:56:38 -06:00
BenitoBB 1ea33d7097 feat: update alumno registration to include telefono and curso_id, rename button to 'Registrar' 2025-05-14 10:17:09 -06:00
BenitoBB 30b07db07e feat: add telefono field to Alumnos schema, update AlumnosManual and AlumnosArchivo to handle course registration and competency management 2025-05-14 08:48:51 -06:00
BenitoBB dd101da359 feat: enhance CursosVista with competencias management, including loading, editing, and removing competencies 2025-05-14 08:14:52 -06:00
BenitoBB 30dffd85e1 feat: add telefono field to AlumnosManual and AlumnosVista, update CursosVista to include competencias in course data 2025-05-12 08:47:29 -06:00
SirRobert-1 502dc21401 feat: implement CompetenciasVista and DiplomasVista pages, update AppSidebar links 2025-05-11 20:47:07 -06:00
SirRobert-1 5a7479c18a feat: update CursosVista component layout and modify nuevaCompetencia validation in CursosSchema 2025-05-07 09:07:44 -06:00
SirRobert-1 b57e880456 Merge branch 'benito' of https://git.gumoio.com/benito.rodriguez/SIDAC into roberto 2025-05-07 08:40:33 -06:00
SirRobert-1 1f3055d1fe feat: add competencias management to CursosVista component 2025-05-07 08:39:46 -06:00
BenitoBB 3da0263a81 feat: add competencies section to sidebar and update CursosVista table 2025-05-07 08:38:25 -06:00
SirRobert-1 0718f041a0 Merge branch 'benito' of https://git.gumoio.com/benito.rodriguez/SIDAC into roberto 2025-05-07 08:19:51 -06:00
SirRobert-1 a7739f5f75 feat: refactor CursosManual component to use react-hook-form for form handling and add competencia management 2025-05-07 08:19:19 -06:00
BenitoBB b960f05ed4 feat: add functionality for diploma and course management
- Updated package.json to include necessary dependencies (express, cors, mysql2).
- Enhanced app-sidebar to include a new section for "Diplomas" with a link to the diploma creation page.
- Implemented file upload and processing for student data in alumnosArchivo.jsx, including error handling and user feedback via dialogs.
- Added confirmation dialog for deleting students in alumnosVista.jsx.
- Created API endpoints for student and course registration with error handling.
- Developed file upload and processing for course data in cursosArchivo.jsx, including user feedback.
- Added confirmation dialog for deleting courses in cursosVista.jsx.
2025-05-07 07:56:53 -06:00
BenitoBB 9b5d6c3934 feat: add support for .xlsx file uploads and update file handling in AlumnosArchivo 2025-05-05 08:46:10 -06:00
SirRobert-1 a559ed16f1 feat: implement form validation and dialog confirmation in AlumnosManual 2025-05-05 08:40:07 -06:00
SirRobert-1 be59d7ecc4 Merge branch 'benito' of https://git.gumoio.com/benito.rodriguez/SIDAC into roberto 2025-05-05 08:03:55 -06:00