Commit Graph

25 Commits

Author SHA1 Message Date
ddebfadc1c feat: add contextual help components and dialog support
- Introduced `ContextHelpContent` for displaying contextual help with title, description, examples, and guidance.
- Created `DialogHelp` component to manage help dialogs, including popover and panel presentations.
- Implemented `useDialogHelpLayout` hook for handling dialog layout and state management.
- Added context for dialog help management with `DialogHelpContext` and `DialogHelpLabelsContext`.
- Developed utility functions for determining dialog help presentation modes.
- Included tests for dialog help functionality and layout behavior.
- Created a Python script for auditing contextual help in real forms.
2026-10-25 17:47:54 +01:00
c95c3f1d59 muchos cambios 2026-10-25 01:19:17 +02:00
fa9d95fa9e feat: add workstation equipment and organizational assignment functionalities
- Implemented `workstationEquipment` to manage workstation asset assignments, including principal and secondary assets.
- Created tests for `workstationEquipment` to ensure correct behavior with various scenarios.
- Developed `workstationOrganizationalAssignments` to retrieve current assignments for a responsible person in a company.
- Added tests for `workstationOrganizationalAssignments` to validate assignment retrieval logic.
- Introduced UI components for displaying workstation profile configurations and responsible person details.
- Created compact UI components for displaying lists and tables, enhancing the user interface for asset management.
- Added utility functions for handling cell content in tables, ensuring proper rendering of data.
2026-10-24 04:13:30 +02:00
79dfa59936 L03.1: Persistencia y restauración del contexto de listados (V05) 2026-10-22 12:40:15 +02:00
9fc7d3a2e0 feat: add entity list state management and UI components
- Implemented asset and resource list query state helpers to manage loading, error, and availability states.
- Created EntityListStatus component for displaying status messages and retry options based on entity list state.
- Added EntityTableSkeleton component for rendering loading placeholders in tables.
- Defined EntityListState type and entityListState function for consistent state management across components.
- Developed comprehensive UI tests for list states using Playwright, covering various scenarios including loading, error handling, and responsiveness.
2026-10-22 11:16:59 +02:00
ba034794c6 feat: add column browser fixture and entity column configuration
- Introduced `ColumnBrowserFixture` component for testing column visibility and interactions.
- Created `entity-column-configuration.ts` to define types and utility functions for managing entity columns.
- Implemented Playwright tests in `columns-ui.test.py` to validate column behavior and preferences.
- Added `visual-audit-volume.py` script to enhance the visual audit setup with synthetic data.
2026-10-22 10:10:34 +02:00
db57346c24 feat: add PickerHelp component and browser fixture for picker UI
- Introduced PickerHelp component for contextual help in pickers.
- Created PickerBrowserFixture for testing picker components in a browser-like environment.
- Implemented a comprehensive regression test suite for picker UI using Playwright.
- Added support for localization in picker components and tests.
2026-10-22 09:35:02 +02:00
f9384c9376 feat: Introduce contextual detail layout and budget management for assets and resources
- Added `INVENTORY_DETAIL_BUDGET` and `RESOURCE_DETAIL_BUDGET` to define layout parameters for inventory and resource detail views.
- Implemented `useContextualDetail` hook to manage visibility and focus transitions between inline and overlay modes.
- Created `contextual-detail-layout` module to handle budget calculations and state management for contextual details.
- Updated documentation to reflect changes in asset and resource handling, ensuring consistent UI behavior across different viewports.
- Conducted regression tests to validate functionality and ensure no existing features were broken during the implementation.
2026-10-22 01:24:37 +02:00
73655f86c0 feat(companies): implement company navigation and context components
- Added `useCompanyNavigationEntries` for defining navigation entries.
- Created `CompanyContextBar` for displaying company information and navigation.
- Developed `CompanyHeader` for showing company identity and status.
- Introduced `CompanyNavigationSheet` for mobile navigation options.
- Implemented `CompanySectionNavigation` for section-specific navigation.
- Added `workspaceContentFocusTarget` to manage focus behavior.
- Created `WorkspaceMobileNavigationProvider` for managing mobile navigation state.
- Developed `WorkspaceMobileSheet` for consistent mobile sheet UI.
- Added `WorkspaceSkipLink` for accessibility improvements.
- Established `WorkspaceMobileNavigationContext` for navigation state management.
- Created `WorkspaceNavigationContent` for displaying workspace navigation.
- Implemented `WorkspaceSearchContent` and `WorkspaceSearch` for search functionality.
2026-10-21 22:55:13 +02:00
ded45e1c42 feat: add AssetRelatedInformation component for displaying asset profiles and software installations
test: implement resource template propagation tests for resource revisions

feat: create prepareResourceTemplateUpdates function for handling resource template updates

feat: add resource revision specifications for managing resource revisions in the database

test: add tests for entity column visibility and local storage handling

feat: implement entity column visibility storage for managing column preferences

feat: create synchronizeTemplateStructure utility for managing template field and section synchronization
2026-10-19 11:45:09 +02:00
ceb4eb88c6 feat: enhance entity row actions with primary action support
- Added primary action support to EntityRowActions component, allowing for a main action button with an icon and label.
- Updated various components to utilize the new primary action feature, replacing existing action buttons with the new structure.
- Introduced EyeIcon for view actions and PencilIcon for edit actions across multiple entity lists.
- Improved accessibility by ensuring primary actions have appropriate aria-labels.
- Refactored CatalogRowActions to remove direct view action and integrate with the new structure.
- Adjusted tests to cover new primary action functionality and ensure proper rendering and behavior.
2026-10-17 11:23:46 +02:00
68980d9131 feat: enhance user management and resource catalog UI with icons, improve localization, and add new components
- Added UsersIcon to UserManagement for better visual representation.
- Updated Spanish localization for "noValue" to use a dash instead of "Sin datos".
- Introduced LayoutTemplateIcon in ResourceCatalogPage for improved UI.
- Integrated LayersIcon in ResourcesPage to enhance user experience.
- Updated package.json test scripts to include new test files.
- Enhanced DetailSection component to support accordion functionality.
- Modified EntityListHeader to accept an icon prop for better UI consistency.
- Added new CountBadge and TimeLine components for better data representation.
- Implemented asset workstation action logic and UI components for asset management.
- Created tests for CountBadge and TimeLine components to ensure functionality.
2026-10-16 20:09:02 +02:00
df44fdceb4 feat(workstations): implement workstation renaming functionality and UI components
- Added API for renaming workstations with validation and error handling.
- Created tests for the rename workstation API to ensure proper functionality.
- Developed UI components for editing workstation names, including form handling and feedback.
- Introduced new detail panels for displaying workstation assets, people, and profiles.
- Enhanced existing tests for workstation detail page to cover new features and edge cases.
- Updated icon imports to include a pencil icon for editing actions.
2026-10-16 17:28:43 +02:00
53a58ee0de feat: migrar de Lucide a Tabler Icons en componentes y documentación 2026-10-16 14:16:32 +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
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
108e810c3b Añadir icono a las plantillas de activos 2026-10-10 18:34:25 +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
d8fdad11e6 Posibilidad de incluir la foto de una persona 2026-10-09 23:00:34 +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
91988a26b9 Añadir secciones/agrupaciones a las plantillas de activos y recursos 2026-10-09 20:03:56 +02:00
6f83ceb0b4 Separación y reorganización de componentes visuales 2026-10-09 18:00:41 +02:00