Commit Graph

84 Commits

Author SHA1 Message Date
cf8044ed38 Repasar webfonts usadas 2026-10-15 19:39:06 +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
ba562ad06f Refactor documentation for clarity and accuracy
- Updated examples in "estructura-web-por-entidades-y-operaciones.md" to reflect correct entity names and directory structures.
- Clarified modal usage and component interactions in "impresoras-del-perfil.md".
- Adjusted component descriptions in "logotipos-de-companias.md" for consistency.
- Revised persistence model details in "normalizacion-de-la-persistencia.md" to remove outdated references and clarify relationships.
- Enhanced dialog patterns in "patron-de-dialogos.md" with specific guidelines for field labels and validation.
- Specified component reuse in "patron-de-listados-de-entidades.md" to include @repo/rdx-ui components.
- Updated implementation status in "personas-y-departamentos.md" to reflect current features and pending tasks.
- Clarified project scope and initial setup instructions in "plan-de-desarrollo.md" and "puesta-en-marcha.md".
- Improved descriptions of workstation management in "puestos-de-trabajo.md" for better understanding of active/inactive states.
- Enhanced resource management details in "recursos-campos-y-plantillas.md" to clarify relationships and pending features.
- Revised best practices review in "revision-de-buenas-practicas.md" to reflect current project status and components.
- Updated teleworking documentation in "teletrabajo.md" to include references to remote technical assistance.
- Clarified user account management in "usuarios-y-acceso.md" to emphasize the importance of account deactivation.
2026-10-15 17:48:46 +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
cba0ed964c Archivado tickets, intervenciones y sus plantillas en archive/tickets-and-interventions/ 2026-10-15 11:50:01 +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
3f0effd571 feat: agregar script para habilitar acceso LAN a Vite desde WSL2 2026-10-15 11:25:14 +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
2728692b98 feat: add template filtering and multi-step resource creation process
- Extend RouteQuerySchema to include optional template UUID for asset filtering.
- Update queryMatchesLocation to validate template presence based on route context.
- Enhance workspace routes tests to cover template filtering scenarios and invalid cases.
- Introduce new localization strings for resource creation steps in English and Spanish.
- Refactor resource form controller to support a multi-step creation layout.
- Implement resource creation progress component to guide users through the steps.
- Create separate UI components for resource fields and identity fields to streamline form structure.
- Add validation for required characteristics based on selected templates.
- Update resource form actions to handle navigation between steps in the creation process.
2026-10-14 18:08:02 +02:00
002781b56d feat: update asset status handling and improve UI labels
- Changed asset status label from "status" to "technicalStatus" in AssetForm component.
- Added help text for technical status in AssetForm.
- Updated test cases to reflect changes in asset status from "available" to "operational".
- Enhanced workstation form to utilize new asset status checks and display appropriate messages.
- Refactored asset context to replace "available" with "notRetired" across various application policies and repositories.
- Introduced new utility functions for asset status management, including technical status determination and assignment validation.
- Added integration tests for asset state verification and unlinking assets from workstations.
2026-10-13 11:35:31 +02:00
bf02e56d76 Eliminar y dar de baja un puesto de trabajo 2026-10-13 10:19:01 +02:00
7acf31f144 vincular una licencia al software del ordenador. 2026-10-13 09:30:28 +02:00
3ceac47cd6 feat: implement software installation management
- Add SoftwareInstallationValues value object for encapsulating software installation data.
- Create HTTP routes for managing software installations, including GET, POST, and DELETE operations.
- Implement Sequelize repository for software installations, handling database interactions.
- Add migration script for creating necessary database tables for software installations.
- Create persistence mapper for transforming between domain models and database rows.
- Define snapshot schema for software installations to ensure data consistency.
- Introduce common schemas for software installations to validate API requests and responses.
- Develop UI components for displaying and managing software installations, including history dialogs and forms.
- Implement API client for interacting with software installation endpoints.
- Write tests for software installations panel and form components to ensure functionality.
2026-10-12 20:31:21 +02:00
b183627df0 feat: enhance work profile and workstation management
- Added `prepareProfileHosts` function to facilitate the setup of independent workstations for profile scenarios.
- Updated `verifyMail` and `verifyWorkProfiles` functions to utilize the new `prepareProfileHosts` for better host management.
- Refactored `verifyProcesses` to improve workstation update logic and ensure correct status checks.
- Introduced `CurrentWorkstations` component to display workstations under a person's responsibility and usage.
- Implemented `personWorkstations` helper to differentiate between responsible and used workstations for a person.
- Enhanced localization files to include new error messages and descriptions related to workstation management.
- Updated tests to cover new functionality and ensure proper behavior of work profile and workstation interactions.
2026-10-12 01:40:30 +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
dfb0a699eb feat: añadir diseño de auditoría centralizada y actualizar README 2026-10-10 22:47:35 +02:00
45b559ab92 feat: implementar sugerencia de nombre para puestos de trabajo y mejorar formularios 2026-10-10 22:30:46 +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
8c5b7b4df0 herramientas de soporte convertidos en recursos 2026-10-10 18:21:06 +02:00
a0b88f1364 limpieza de codigo 2026-10-10 17:57:05 +02:00
bf4831a34f BD normalizada 2026-10-10 16:40:51 +02:00
035553065d normalizar los tickets y las intervenciones 2026-10-10 14:08:54 +02:00
933972ae8e Normalización de la BD 2026-10-10 13:32:40 +02:00
ae9c490be5 feat: agregar evaluación de alternativas a Sequelize en Metis Desk 2026-10-10 12:57:35 +02:00
d8a09888e8 csrfToken corregido 2026-10-10 12:42:56 +02:00
2c827b8a7d feat: add ESLint configuration for vertical spacing and stylistic rules
- Introduced `.lintrc` for managing vertical spacing rules in the codebase.
- Updated `eslint.config.mjs` to integrate the new spacing rules with ESLint.
- Created documentation on code formatting and spacing guidelines in `formato-y-espaciado-del-codigo.md`.
- Implemented tests in `spacing.test.mjs` to ensure spacing rules are enforced correctly without altering syntax.
2026-10-10 12:00:17 +02:00
dbac5dfa84 Normalización de la BD 2026-10-10 11:41:42 +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
4c2aa11c03 Añadir estilos de enlace comunes y mejorar la navegación en componentes de la aplicación 2026-10-09 21:32:41 +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
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
22b2d1612f Estado de la barra lateral 2026-10-09 10:23:55 +02:00