Commit Graph

46 Commits

Author SHA1 Message Date
94ddc5cf16 feat: enhance work profile management with new components and functionality
- Updated WorkstationDetailPage to replace BriefcaseIcon with MonitorIcon.
- Modified package.json to include new test files.
- Refactored FormStepActions to improve button state management.
- Introduced profile-creation helper functions for better profile management.
- Added WorkProfileAccountField and WorkProfileAuthorizationNotice components for account handling.
- Created WorkProfileComputerSummary and WorkProfileSummary for displaying profile details.
- Implemented WorkProfileFormFields to consolidate form fields for work profiles.
- Developed WorkProfileIdentityFields for managing identity-related inputs.
- Added WorkProfileSelectionField for selecting accounts, workstations, and persons.
- Created OptionPickerDialog and OptionPickerList for enhanced option selection.
- Introduced OptionSelectionField for visual selection with actions.
- Added tests for selection components to ensure functionality and reliability.
2026-10-16 13:11:52 +02:00
b7a1c61017 feat: implementar estado vacío y acciones en la gestión de activos de puestos 2026-10-16 12:28:39 +02:00
7777192d20 feat: enhance workstation asset management interface
- Updated the asset selection process to allow direct selection of the main computer via `AssetSummaryCard` without opening a dialog.
- Improved the user interface for asset addition, ensuring a more intuitive experience with real-time feedback and error handling.
- Refactored the asset summary display to utilize `AssetSummaryCard`, providing a consistent look and feel across the application.
- Added support for loading states and error handling in asset picker components.
- Enhanced localization strings for clarity and consistency in both English and Spanish.
- Introduced new tests to cover the updated functionalities and ensure robustness.
2026-10-16 11:41:38 +02:00
2fc49470d6 feat: mejorar diseño y accesibilidad de los diálogos de alta y edición de puestos 2026-10-16 11:19:17 +02:00
2149ecb17b feat: implement step-by-step asset creation process
- Added a new layout for asset creation that guides users through three steps: template selection, field completion, and final review.
- Introduced `AssetCreateProgress` component to display current step and instructions.
- Updated `AssetForm` to handle step navigation and validation.
- Integrated `FormStepActions` for navigation between steps and submission handling.
- Enhanced localization for new steps and descriptions in both English and Spanish.
- Refactored asset form components to separate identity and field sections for better clarity and usability.
- Added helper functions for validating required fields and suggesting asset names based on input.
2026-10-16 10:55:12 +02:00
2f733a3b63 feat: implement ScrollableTabsList component and integrate into asset and resource pages 2026-10-15 19:13:34 +02:00
37110d87ed feat: add optional registeredOn field to asset model and update related components
- Introduced a new optional field `registeredOn` to the asset input schema.
- Updated asset values and persistence layers to handle the new field.
- Enhanced tests to validate the behavior of the `registeredOn` field, including various date formats and null values.
- Modified UI components to display the registration date in asset details and forms.
- Added localization support for the new field in English and Spanish.
- Implemented helper functions for formatting the registration date.
- Created integration tests for reading and writing assets with the new field in the database.
2026-10-15 18:39:37 +02:00
f6c6b8c95c refactor: replace Label component with FormLabel for consistent required indicator display
- Updated TeleworkAuthorizationForm, WorkProfileForm, PasswordForm, CredentialForm, UserForm, and various resource-related forms to use FormLabel instead of Label.
- Introduced FormLabel component to encapsulate required indicator logic.
- Removed optional labels from localization files and adjusted tests accordingly.
- Ensured accessibility and consistency across forms by implementing required indicators visually.
2026-10-15 18:02:32 +02:00
a0f02ced6e Refactor form dialogs and UI components for improved consistency and usability
- Updated DeleteBrandDialog and DeleteCatalogDefinitionDialog to use FormBody and FormActions for better structure.
- Replaced DialogFooter with FormActions in various dialogs to standardize button layouts.
- Introduced FormSectionTitle in multiple components for consistent section headings.
- Adjusted grid layouts to use responsive design with @min-[560px] for better adaptability.
- Created SoftwareResourceCreateDialog and SoftwareInstallationEditorDialog for better separation of concerns in software installation management.
- Enhanced FormActions to support cancelDisabled prop for better control over button states.
- Refined FormSectionTitle to allow for additional HTML elements like "legend" and "span".
- Added EntityTableColumnsDialog for managing table column visibility in a more user-friendly manner.
2026-10-15 16:14:26 +02:00
ccb52fb534 feat: add catalog field picker dialog and list components
- Introduced `CatalogFieldPickerDialog` and `CatalogFieldPickerList` for selecting catalog fields.
- Implemented `appendTemplateFields` helper function for managing template fields.
- Added tests for catalog field selection and template field management.
- Created reusable components for field picking and reordering in the UI library.
- Enhanced drag-and-drop functionality for reordering items in lists.
2026-10-15 15:58:01 +02:00
ece38c741e feat: enhance resource management UI with template icons and selection panel
- Added ResourceTemplateIcon component to display icons for resource templates in CatalogDefinitionDialog and CatalogName.
- Updated CatalogDefinitionDialog to conditionally render template icons in the title.
- Enhanced ResourcesPage to include ResourceSelectionPanel for detailed resource views and actions.
- Implemented compact view options in ResourceDetail for a cleaner interface.
- Introduced new resource template icons and updated related tests to ensure proper functionality.
- Added PersonPhotoField component for managing user photos with preview functionality.
- Improved characteristics summary display in resources list.
2026-10-15 12:32:37 +02:00
0f1ad8511a feat: mejorar la interacción y visualización del inventario de activos con resúmenes de características 2026-10-15 12:12:53 +02:00
542361cd2a feat: implementar ordenación inicial en tablas y mejorar la configuración de columnas 2026-10-15 11:36:42 +02:00
b45925f3e2 feat(assets): implement asset picker dialog and selection components
- Added `useAssetPickerController` for managing asset selection logic.
- Created `AssetSelectProps` type for defining asset selection properties.
- Implemented `AssetPickerDialog` for displaying the asset selection interface.
- Developed `AssetPickerList` for rendering the list of selectable assets.
- Introduced `AssetSelect` component for integrating the asset picker into forms.
- Created `AssetList` component for shared asset listing functionality.
- Added tests for workstation creation logic to ensure proper validation.
- Implemented workstation asset fields and association fields for managing workstation assets.
- Developed workstation lifecycle dialog for managing work profile states.
- Added form progress component for visualizing multi-step forms.
2026-10-14 19:42:59 +02:00
e061d60eb7 Refactor user management components and improve workspace page structure
- Removed UserManagementDialog and updated UserManagement export in user list.
- Adjusted CustomWorkspace to directly render UserManagement based on user permissions.
- Enhanced IdentityWorkspace layout for better accessibility and visual appeal.
- Introduced new AssetPanelSummary and WorkstationDetailPage components for asset management.
- Implemented useListQuery for consistent data fetching across catalog and resources pages.
- Added PersonAvatarGroup for displaying user avatars in a group format.
- Created workstation detail controller and related tests for improved workstation management.
- Added MetisLogo component for branding consistency.
2026-10-11 13:49:28 +02:00
6d6f807486 Repaso a las plantillas de activos y de recursos 2026-10-10 22:22:28 +02:00
832d69c6fa feat: enhance form components with field help and tabbed sections
- Added FieldHelp component to display help text for form fields.
- Integrated help text into AssetCharacteristicControl and ResourceCharacteristicControl.
- Updated AssetForm to utilize TabbedFieldSections for better organization of characteristics.
- Modified BrandSelect to include help text.
- Improved CatalogFieldForm with descriptive hints for the description field.
- Refactored FieldSections to support different layouts and improved styling.
- Introduced fieldHelpById utility to manage help text for fields.
- Updated localization files to include new help text strings.
- Enhanced tests to cover new features and ensure functionality.
2026-10-10 22:00:45 +02:00
853011cec3 mejora de la ficha de plantillas de activos 2026-10-10 18:49:11 +02:00
108e810c3b Añadir icono a las plantillas de activos 2026-10-10 18:34:25 +02:00
ee21c0a80e Actualizar tema 2026-10-10 14:10:02 +02:00
933972ae8e Normalización de la BD 2026-10-10 13:32:40 +02:00
dd64a01622 Formateo de codigo fuente 2026-10-10 12:01:58 +02:00
4edc1268b4 Refactor asset and company management features
- Simplified asset assignment validation in SequelizeAssetRepository.
- Updated asset module to include legacy asset assignment migration.
- Enhanced inventory assignment logic to better handle asset-person relationships.
- Improved localization strings for asset guidance and scope.
- Removed person assignment display from asset detail view.
- Streamlined inventory page by removing person-related filters and displays.
- Adjusted asset form to eliminate person assignment input.
- Updated tests to reflect changes in asset and person handling.
- Added phone link component for better phone number formatting and linking.
- Enhanced person details view to include current workstations and improved layout.
- Refactored person avatar component to support children and improved rendering.
2026-10-10 01:37:10 +02:00
6c6eee8f93 feat: implement record deletion functionality across various configurations
- Added remove methods to repositories for application, certificate, folder, mail, and printer configurations.
- Implemented use cases for removing configurations, including validation for company and identity.
- Created HTTP routes for deleting configurations with appropriate request handling and error responses.
- Introduced a DeleteRecordDialog component for user confirmation before deletion.
- Updated UI pages to include delete actions for configurations with modal confirmation.
- Added integration tests to verify record deletion functionality and ensure data integrity.
- Documented the record deletion process and its implications in the project documentation.
2026-10-10 00:19:35 +02:00
d8fdad11e6 Posibilidad de incluir la foto de una persona 2026-10-09 23:00:34 +02:00
454e68d5c8 Mejorar estilos de diálogos y ajustar el cuerpo del formulario para un enfoque más accesible 2026-10-09 21:44:42 +02:00
d7eb91ee68 Añadir secciones de detalle y mejorar la presentación de activos y recursos 2026-10-09 21:18:40 +02:00
5a7960302e Añadir estadísticas y navegación a la vista de resumen de compañía 2026-10-09 21:01:55 +02:00
ef4f41493a Cambio de tema 2026-10-09 20:30:51 +02:00
791fa06ddd Mejora en los cuadros de diálogo 2026-10-09 20:30:41 +02:00
91988a26b9 Añadir secciones/agrupaciones a las plantillas de activos y recursos 2026-10-09 20:03:56 +02:00
4be0517bdf Cambio de tema y tipografías 2026-10-09 18:35:21 +02:00
e472b2ee8c Mejorar la ayuda en los diálogos y cambiar checkbox por switch donde proceda. 2026-10-09 18:14:21 +02:00
6f83ceb0b4 Separación y reorganización de componentes visuales 2026-10-09 18:00:41 +02:00
cec61688a6 Añadir imágenes a las marcas 2026-10-09 12:36:05 +02:00
5cd16ee972 Renombrar ficheros Value Object 2026-10-09 10:38:19 +02:00
e0947dcaaa style: ajustar el radio de los bordes en el CSS global 2026-10-08 16:43:50 +02:00
bada13a50e feat(dashboard): implement dashboard schemas and API integration
- Added Zod schemas for dashboard queries, entries, summaries, and companies.
- Created dashboard API functions for fetching summary, work, attention, activity, and companies data.
- Developed dashboard components including BlockState, DashboardDetailsDialog, and DashboardPage for rendering dashboard information.
- Implemented quick create functionality for companies, tickets, interventions, assets, and resources.
- Introduced a new ResourceDashboardReader for querying resource-related data.
- Added a StatisticCard component for displaying key performance indicators in the dashboard.
2026-10-08 13:27:27 +02:00
3f01d5ecf1 Reunir traducciones en ficheros JSON 2026-10-07 18:58:21 +02:00
da21f90615 Mejorar la accesibilidad y el comportamiento de las acciones en las tablas:
- Actualizar el disparador de acciones para usar solo un icono con etiqueta accesible.
- Alinear y anclar la columna de acciones a la derecha, asegurando que no se oculte ni se ordene.
- Ajustar las pruebas para reflejar estos cambios en la interfaz.
2026-10-07 18:29:44 +02:00
ecfd689e44 Repaso visual a los listados 2026-10-07 17:27:23 +02:00
e099b8c507 feat(mail): implement mail configuration management with persistence and UI components
- Added migration scripts for mail configurations and revisions.
- Created persistence mapper for mail configurations and revisions.
- Developed Sequelize repository for mail configuration management.
- Introduced common schemas and types for mail configurations.
- Implemented API for fetching and saving mail configurations.
- Built React components for mail configuration forms and pages.
- Added internationalization support for mail-related texts in English and Spanish.
- Implemented feedback mechanism for API errors in mail components.
- Created tests for mail configuration components and functionality.
2026-10-04 23:06:07 +02:00
2a39be97f4 feat(shadcn-ui): introduce new icons for improved UI consistency 2026-10-04 20:16:39 +02:00
5adbe81364 feat: enhance access management with quick create functionality and improved forms
- Added QuickCreateDialog for creating systems and environments quickly.
- Implemented quickCreatePlan to handle creation logic based on context.
- Updated AccessForm to support quick creation and related modals.
- Enhanced i18n support for new quick add features in both English and Spanish.
- Refactored AssignmentForm to allow department creation directly from the form.
- Introduced SelectWithAction component for better user interaction with selections.
- Added tests for new components and functionalities to ensure reliability.
2026-10-04 15:46:39 +02:00
8386679181 feat: integrate contextual help across forms and improve user guidance
- Added contextual help to various forms including companies, people, departments, sites, assignments, and access accounts.
- Introduced EntityHelp component to provide descriptions, examples, and guidance for each entity type.
- Updated forms to include help sections before submit buttons, enhancing user understanding of each field's purpose.
- Implemented help translations in Spanish and English for consistency across the application.
- Created a new ContextHelp component for displaying help information in a structured format.
- Added automated tests to ensure help content is correctly rendered in both languages.
- Documented the new contextual help feature in ayuda-contextual.md for user reference.
2026-10-03 18:23:38 +02:00
e3f92fa534 feat: initialize pnpm workspace and add configuration files
- Added pnpm-workspace.yaml to define package structure.
- Created prepare-local-env.py script for local environment setup.
- Introduced tsconfig.json for TypeScript configuration.
- Added turbo.json for task management with Turbo.
2026-10-03 12:36:03 +02:00