Commit Graph

94 Commits

Author SHA1 Message Date
jalvarado c2b435d033 Merge pull request 'develop' (#28) from develop into master
Reviewed-on: #28
2025-09-10 10:18:56 -06:00
jorge miguel dcb66ce2c1 feat: implement formulario de registro with community and account validation, including dynamic response handling and submission logic 2025-09-09 19:24:35 -06:00
jalvarado dc161cf269 Merge pull request 'Refactor code structure for improved readability and maintainability' (#26) from events-division into develop
Reviewed-on: #26
2025-09-09 15:17:44 -06:00
miguel b399821439 Refactor code structure for improved readability and maintainability 2025-09-09 15:16:40 -06:00
jalvarado 978f6c8a69 Merge pull request 'events-division' (#25) from events-division into develop
Reviewed-on: #25
2025-08-19 10:29:17 -06:00
miguel 99bfb46b8b feat: add admin management page and types
- Implemented the admin management page with a table displaying admin details.
- Created the Administrador type definition for better type safety.
- Added SubmitResponse type for handling submission responses.
- Included placeholder components for form card previews.
2025-08-19 10:26:02 -06:00
miguel 24642d1c3b feat: Enhance event and form management with previews and improved UI
- Added EventoCardPreview component to display event details with existing and new banners.
- Updated FormularioCardAdmin and FormularioCardUser components to handle event images and display questionnaire counts.
- Improved FormularioEditor with better layout and added preview functionality for forms.
- Introduced EmptyEventsState component for better user experience when no events are available.
- Enhanced FormularioCardPreview to support both existing and new forms with dynamic banner handling.
- Refactored code for better readability and maintainability across components.
2025-08-14 21:59:38 -06:00
miguel 7f2ab5b359 feat: Implement event creation and management features for administrators
- Added page for creating forms associated with events, including template selection and validation of form dates against event dates.
- Created layout component to provide context for event-related pages.
- Developed event detail page with editing capabilities and form management.
- Introduced event creation page with banner upload functionality and preview.
- Implemented event listing page displaying active and recent events with associated forms.
- Added layout for user section including header, navbar, and footer.
- Created page for uploading teacher data from Excel files.
- Developed QR code scanning page for attendance registration with modal confirmation.
- Implemented login functionality with fake user data for testing purposes.
- Added event card preview component to display event details and banner.
2025-08-14 20:27:25 -06:00
miguel be8f207ecd feat: Implement event and questionnaire management features
- Added event creation page with form handling and validation.
- Introduced layout for event management with context provider.
- Created event listing page with active and recent events display.
- Developed questionnaire creation page linked to events.
- Implemented breadcrumb navigation for better user experience.
- Added reusable components for event and questionnaire cards.
- Integrated API calls for fetching and managing event data.
- Enhanced slugify utility for better URL handling.
- Established context for managing event state across components.
2025-08-12 20:00:21 -06:00
miguel 5b0f0ad6bf refactor: update event handling to use GetEventoWithCuestionariosWithCupos type and replace EventoCard with CuestionarioCard 2025-08-11 12:55:14 -06:00
jalvarado e0a9a001fa Merge pull request 'fix: add recent events section to the administrator page' (#24) from develop into master
Reviewed-on: #24
2025-08-11 10:24:33 -06:00
miguel 99b444ccf4 fix: add recent events section to the administrator page 2025-08-11 10:22:25 -06:00
jalvarado 904da12911 Merge pull request 'fix: update confirmarAsistencia function to use cuestionario ID instead of evento ID' (#23) from develop into master
Reviewed-on: #23
2025-08-08 09:30:53 -06:00
miguel 3493d99038 fix: update confirmarAsistencia function to use cuestionario ID instead of evento ID 2025-08-08 09:29:07 -06:00
jalvarado 4ff69369b5 Merge pull request 'fix: update cuestionario types to include evento details' (#22) from develop into master
Reviewed-on: #22
2025-08-07 09:49:02 -06:00
miguel f624724521 fix: update cuestionario types to include evento details 2025-08-07 08:55:44 -06:00
jalvarado bd0703d07e Merge pull request 'send' (#21) from develop into master
Reviewed-on: #21
2025-06-30 14:22:22 -06:00
miguel b2205b3f98 send 2025-06-30 14:20:45 -06:00
jalvarado 4d4cd7ec67 Merge pull request 'fix: simplify toast notification rendering function' (#20) from develop into master
Reviewed-on: #20
2025-06-30 13:25:53 -06:00
miguel 4d124a7857 fix: simplify toast notification rendering function 2025-06-30 13:25:25 -06:00
jalvarado 16dc610ba3 Merge pull request 'fix: enhance toast notifications for form submission feedback' (#19) from develop into master
Reviewed-on: #19
2025-06-30 13:23:57 -06:00
miguel 3fc7dfcfda fix: enhance toast notifications for form submission feedback 2025-06-30 13:21:32 -06:00
jalvarado eaea5cd86b Merge pull request 'develop' (#18) from develop into master
Reviewed-on: #18
2025-06-30 11:24:16 -06:00
miguel 60de9fb324 fix: update registration button text from 'Regístrate' to 'Registro' 2025-06-30 11:23:40 -06:00
miguel 68467c2570 fix: correct placeholder logic for cuenta input based on validation type 2025-06-30 11:21:43 -06:00
jalvarado 480b1bc86f Merge pull request 'feat: update placeholder text for cuenta input based on validation type' (#17) from develop into master
Reviewed-on: #17
2025-06-30 11:15:25 -06:00
miguel 670d8558f4 feat: update placeholder text for cuenta input based on validation type 2025-06-30 11:13:56 -06:00
jalvarado 68a041682e Merge pull request 'Implement code changes to enhance functionality and improve performance' (#16) from develop into master
Reviewed-on: #16
2025-06-27 18:18:20 -06:00
jorgemike 2cb42cd4fc Implement code changes to enhance functionality and improve performance 2025-06-27 18:17:49 -06:00
jalvarado 0fb3a141ce Merge pull request 'refactor: improve email validation logic and enhance community response checks in FormularioRegistro' (#15) from develop into master
Reviewed-on: #15
2025-06-27 17:20:04 -06:00
jorgemike a107233007 refactor: improve email validation logic and enhance community response checks in FormularioRegistro 2025-06-27 16:38:02 -06:00
jalvarado 2ac53a2a24 Merge pull request 'fix: correct URL structure in EventoCard component for cuestionario navigation' (#14) from develop into master
Reviewed-on: #14
2025-06-27 15:58:22 -06:00
jorgemike 83c50f088e fix: correct URL structure in EventoCard component for cuestionario navigation 2025-06-27 15:57:23 -06:00
jalvarado 9a49392f8a Merge pull request 'feat: include cupo_maximo in event update payload for edit formulario' (#13) from develop into master
Reviewed-on: #13
2025-06-25 11:38:11 -06:00
miguel 3723f5771d feat: include cupo_maximo in event update payload for edit formulario 2025-06-24 20:34:04 -06:00
jalvarado 4425c2b3f7 Merge pull request 'develop' (#12) from develop into master
Reviewed-on: #12
2025-06-24 10:32:28 -06:00
miguel 544d089824 feat: implement event and questionnaire creation with updated forms; add editing capabilities for questionnaires and events 2025-06-23 18:59:59 -06:00
miguel 613cc0b711 feat: add cupo_maximo field to event creation and editing forms; update related components and types 2025-06-23 12:40:40 -06:00
miguel 50e37aa8fa build 2025-06-20 11:07:05 -06:00
miguel c0cc7da989 subida de profesoresw 2025-06-20 10:35:58 -06:00
miguel f85c3a35df feat: enhance event forms with date formatting and registration link updates; add utility for local date formatting 2025-06-19 18:35:15 -06:00
miguel e092eeec4d feat: add markdown editor for event description and update event forms
- Added @uiw/react-md-editor dependency for rich text editing.
- Implemented dynamic loading of the markdown editor in create and edit event forms.
- Updated event forms to include new fields for 'apellidos', 'genero', and 'rfc'.
- Refactored event and questionnaire pages to improve data fetching and rendering.
- Removed unnecessary Excel files from the public directory.
- Enhanced error handling and logging in event creation and form submission processes.
- Updated carousel component to handle empty image arrays gracefully.
- Created a new FormularioPage component to streamline questionnaire rendering.
2025-06-18 15:51:17 -06:00
miguel ea9f3b72f7 fix: Update variable names from id_evento to id_cuestionario for consistency in QR scanning and attendance registration 2025-06-18 12:41:06 -06:00
miguel b110109cb3 feat: Add event management features, including event editing and participant tracking; refactor layout and API integration 2025-06-18 12:37:47 -06:00
miguel f00bd8ac5e feat: Refactor carousel component and add new event card
- Updated ClientCarousel to accept props for dynamic image rendering.
- Changed CarouselProps interface to export for better type usage.
- Enhanced Carousel component to handle default images and improved styling.
- Introduced EventoCard component for displaying event details with dynamic data.
- Added MarkdownRenderer for rendering markdown content in EventoCard.
- Removed old Formulario component and replaced it with FormularioRegistro for better structure.
- Implemented prefetching logic in FormularioRegistro to auto-fill user data based on account info.
- Created PrefetchAbiertaCorta component for handling short answer questions with pre-filled data.
- Added useGetApi hook for simplified API data fetching.
- Updated plantillas data to include validation types for new form fields.
- Introduced new types for event and questionnaire handling in TypeScript.
- Enhanced styles for better UI/UX, including carousel controls and required field indicators.
2025-06-16 18:25:12 -06:00
jorgemike e275b33131 feat: Refactor layout and page components for admin section
- Simplified layout component by removing unnecessary navigation links.
- Enhanced the main page with a button to create events and adjusted card layout.
- Introduced a new banner uploader component for image uploads.
- Created a password input component with visibility toggle.
- Developed a create event container to manage event creation.
- Implemented a comprehensive form editor for creating and editing forms.
- Updated plantillas data structure for better event registration forms.
- Added global styles and integrated them into Bootstrap SCSS.
- Removed deprecated create-formulario type definitions and replaced them with updated types.
2025-06-16 11:40:00 -06:00
jalvarado 8007d2f409 Refactor AdminFormPage and Formulario components to remove unused state and improve form handling; update plantilla data structure to include new fields. 2025-05-23 09:57:19 -06:00
jalvarado 3e5be626f7 Merge pull request 'Reporte respuestas' (#11) from develop into master
Reviewed-on: #11
2025-04-25 11:42:32 -06:00
jalvarado 20cc8bc4e7 Reporte respuestas 2025-04-25 11:41:19 -06:00
jalvarado 12dcd999c7 Merge pull request 'develop' (#10) from develop into master
Reviewed-on: #10
2025-04-21 12:35:12 -06:00