-
Notifications
You must be signed in to change notification settings - Fork 3
Esta PR implementa la pantalla para editar datos generales. #78
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
…and type definitions
…xecution period type and enhance input handling
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR implements the "Editar Datos Generales" screen, providing UI components, styles, and integration with API endpoints and the mock server.
- Introduces a new view-model with related utility functions and mappers.
- Implements several new components for handling form sections, date pickers, and actions.
- Updates API endpoints and mock server repositories for expediente data retrieval.
Reviewed Changes
Copilot reviewed 25 out of 25 changed files in this pull request and generated 1 comment.
Show a summary per file
File | Description |
---|---|
src/modules/expedientes/editar-datos-generales/hook/index.ts | Exports custom hook for formik fields. |
src/modules/expedientes/editar-datos-generales/editar-datos-generales.vm.ts | Defines the view-model interfaces and default data. |
src/modules/expedientes/editar-datos-generales/editar-datos-generales.styles.ts | Adds styling for the form container. |
src/modules/expedientes/editar-datos-generales/editar-datos-generales.pod.tsx | Introduces the container component that fetches data and renders the editing form. |
src/modules/expedientes/editar-datos-generales/editar-datos-generales.mappers.ts | Provides mapping from expediente models to general data formats. |
src/modules/expedientes/editar-datos-generales/editar-datos-generales.component.tsx | Implements the main editing form leveraging Formik and MUI components. |
src/modules/expedientes/editar-datos-generales/constans/* | Exports constant arrays used in form selectors. |
src/modules/expedientes/editar-datos-generales/components/* | Adds form sections, styling, and action components for the screen. |
src/modules/expedientes/editar-datos-generales/api/* | Implements API integrations for expediente retrieval. |
package.json | Updates dependencies to support new date pickers and type definitions. |
mock-server/* | Updates mock API endpoints and repository functions to support expediente retrieval. |
export const stackItemRow = (theme: Theme) => css` | ||
display: flex; | ||
flex-direction: row; | ||
with: 100%; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There appears to be a typo in the CSS property. Replace 'with: 100%;' with 'width: 100%;' to ensure the expected styling is applied.
with: 100%; | |
width: 100%; |
Copilot uses AI. Check for mistakes.
Close #48