Commit Graph

77 Commits

Author SHA1 Message Date
miguel 534ba64e0c feat: update plantilla titles and options for improved clarity and inclusivity 2025-09-10 10:34:11 -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
miguel 99b444ccf4 fix: add recent events section to the administrator page 2025-08-11 10:22:25 -06:00
miguel 3493d99038 fix: update confirmarAsistencia function to use cuestionario ID instead of evento ID 2025-08-08 09:29:07 -06:00
miguel f624724521 fix: update cuestionario types to include evento details 2025-08-07 08:55:44 -06:00
miguel b2205b3f98 send 2025-06-30 14:20:45 -06:00
miguel 4d124a7857 fix: simplify toast notification rendering function 2025-06-30 13:25:25 -06:00
miguel 3fc7dfcfda fix: enhance toast notifications for form submission feedback 2025-06-30 13:21:32 -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
miguel 670d8558f4 feat: update placeholder text for cuenta input based on validation type 2025-06-30 11:13:56 -06:00
jorgemike 2cb42cd4fc Implement code changes to enhance functionality and improve performance 2025-06-27 18:17:49 -06:00
jorgemike a107233007 refactor: improve email validation logic and enhance community response checks in FormularioRegistro 2025-06-27 16:38:02 -06:00
jorgemike 83c50f088e fix: correct URL structure in EventoCard component for cuestionario navigation 2025-06-27 15:57:23 -06:00
miguel 3723f5771d feat: include cupo_maximo in event update payload for edit formulario 2025-06-24 20:34:04 -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 20cc8bc4e7 Reporte respuestas 2025-04-25 11:41:19 -06:00
jalvarado fe1e13c51c imagen de plantilla 2025-04-21 12:33:58 -06:00
jalvarado b298937ffb Merge branch 'develop' of https://repositorio.acatlan.unam.mx/CIDWA/formularios_front into develop 2025-04-21 12:11:58 -06:00
jalvarado c04a7613cd download and plantima image 2025-04-21 12:11:03 -06:00
jorgemike b04dc94eec banner aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 2025-04-09 18:33:53 -06:00
jorgemike 9d10c18a52 banner 2025-04-09 17:58:29 -06:00
jalvarado d69a90a458 banner y plantilla 2025-04-09 16:37:11 -06:00
jalvarado 4d04a5383d Merge branch 'master' of https://repositorio.acatlan.unam.mx/CIDWA/formularios_front 2025-04-08 18:19:56 -06:00
jalvarado 8cbb968676 Merge branch 'develop' 2025-04-08 18:18:39 -06:00
jalvarado 43a9bcfb58 Merge branch 'develop' of https://repositorio.acatlan.unam.mx/CIDWA/formularios_front into develop 2025-04-08 18:17:24 -06:00
jalvarado 404dd3a627 CAmbio de boton 2025-04-08 18:16:04 -06:00
stern b992e3386a Establecer scripts dev y prod con puertos correspondientes 2025-04-08 11:02:45 -06:00
stern 243bd1afc1 Establecer scripts dev y prod con puertos correspondientes 2025-04-08 11:02:05 -06:00
jalvarado 9f4abe1db2 Merge pull request 'styles' (#6) from develop into master
Reviewed-on: #6
2025-04-08 10:46:31 -06:00
jalvarado 587bbc4b7c styles 2025-04-08 10:45:31 -06:00
jalvarado 126377a2b8 Resuelvo conflictos entre develop y master 2025-04-08 10:32:31 -06:00