Commit Graph
2637 Commits
Author SHA1 Message Date
AleksanderSklorz e48950b200 [MNT-25123] Fixed incorrectly displayed some annotations (#11662) 2026-02-19 09:41:59 +01:00
AleksanderSklorz 4581f714d7 [ACS-11153] remove the usage of ng reflect from the unit tests (#11666)
* [ACS-11153] Removed usages of ng reflect from card view dateitem and diagram activities

* [ACS-11153] Removed usages of ng-reflect

* [ACS-11153] Added eslint rule
2026-02-19 07:58:31 +01:00
Denys Vuika 3f542d99ba Migrate to @angular-eslint/prefer-inject and @typescript-eslint/prefer-readonly (#11665) 2026-02-18 15:38:01 +00:00
Soumyajit Chakraborty f8fa996b04 AAE-33828 Fix for the runtime errors on data-table should be handled (#11639)
* AAE-33828 fix for the runtime errors on datatable should be handled in runtime

* AAE-33828 removing the unwanted try catches

* AAE-33828 adding units to test the number value is a valid value
2026-02-18 19:00:50 +05:30
Anton Ramanovich 5850dafca7 [ACS-11158]: removes mat selectors for tooltips (#11659) 2026-02-17 15:39:30 +01:00
Denys Vuika fafa5d6c41 ACS-11160: improve context menu overlay service implementation (#11661)
* refactor: improve context menu overlay service implementation

- Introduced a new interface for overlay references with backdrop handling.
- Updated event listener for backdrop clicks to use the new interface, enhancing type safety.
- Refactored the injector creation method to utilize the Injector.create method for better clarity and maintainability.
- Improved the fake element's type definition in the getOverlayConfig method for better type inference.

These changes enhance the overall robustness and readability of the context menu overlay service.

* refactor: enhance type safety in context menu components

- Introduced the ContextMenuItem interface to improve type definitions for context menu items.
- Updated the ContextMenuListComponent to use ContextMenuItem for links and menu item parameters, enhancing clarity and maintainability.
- Modified CONTEXT_MENU_DATA injection token to specify ContextMenuItem[] for better type safety.
- Adjusted the ContextMenuOverlayConfig interface to accept an array of ContextMenuItem, ensuring consistent data handling.

These changes improve the overall robustness and readability of the context menu implementation.
[ci:force]

* refactor: remove unnecessary eslint-disable comments in category management and search components

- Eliminated eslint-disable comments related to no-underscore-dangle in the CategoriesManagementComponent and SearchControlComponent tests, improving code clarity and adherence to linting rules.
- This change enhances the overall readability of the test files by ensuring consistent coding standards.

* refactor: simplify backdrop click handling in context menu overlay service

- Removed the unnecessary backdrop click handling logic, replacing it with a direct call to close the overlay reference. This change enhances code clarity and reduces complexity in the event listener implementation.

* refactor: streamline backdrop handling in context menu overlay service

- Removed the custom interface for overlay references with backdrop handling, simplifying the code.
- Updated the event listener for backdrop clicks to directly use the overlay's backdropElement, enhancing clarity and maintainability.
- This change improves the overall robustness of the context menu overlay service.
2026-02-17 13:18:41 +00:00
Denys VuikaandCursor 1f49af4c8f ACS-11154 Viewer stabilisation, lint fixes (#11660)
* refactor: clean up code in SuperagentHttpClient and upload.spec

- Removed unnecessary eslint-disable comment in SuperagentHttpClient for improved code clarity.
- Refactored promise handling in upload.spec to utilize an array for better management of multiple promises during file upload error handling.

* chore: update cspell and ESLint configurations

- Added "webscript" to the cspell dictionary for improved spell checking.
- Updated ESLint configuration to disable the "@typescript-eslint/no-explicit-any" rule, allowing more flexibility in type definitions.

* fix: enhance ImgViewerComponent to handle cleanup and prevent errors after destruction

- Added a `destroyed` flag to manage component lifecycle and prevent operations on a destroyed instance.
- Implemented `afterEach` hooks in tests to ensure proper fixture cleanup.
- Updated key event handlers and methods to check for the `destroyed` state before executing actions, improving stability and preventing errors.

Co-authored-by: Cursor <cursoragent@cursor.com>

* fix: add aria-hidden attribute to notification history button for accessibility

- Updated the notification history button to include the `aria-hidden` attribute, improving accessibility for screen readers and enhancing user experience.

* fix: improve key event handling in ImgViewerComponent

- Updated key event handlers to check for the presence of the cropper before executing actions, enhancing stability and preventing errors when the component is destroyed.
- Removed redundant checks from individual arrow key handlers, streamlining the code.

---------

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-17 12:16:49 +00:00
Denys Vuika 84affe9f37 ACS-11155: update conditional checks to use optional chaining (#11658)
- Modified several components to use optional chaining for safer property access, enhancing code robustness.
- Updated ESLint configuration to enforce stricter rules on the use of optional chaining.
- Adjusted tests to reflect changes in property access patterns.
2026-02-17 09:13:57 +00:00
Alfresco BuildandCrowdin Bot 766b66d509 New Crowdin translations by GitHub Action (#11644)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2026-02-16 10:05:18 +00:00
Denys Vuika 40b15689d5 AAE-21047 Get rid of enums (#11643)
* Refactor enums to const objects and update ESLint rules

- Converted several TypeScript enums to const objects for better type inference and immutability.
- Updated ESLint configuration to disable 'no-redeclare' rule and added new restrictions on schema usage.
- Adjusted package-lock.json to mark several dependencies as peer dependencies.

* Refactor enums to const objects in site-dropdown and new-version-uploader models

- Converted TypeScript enums to const objects for improved type safety and immutability in `sites-dropdown.component.ts` and `new-version-uploader.model.ts`.
- Updated related types to reflect the changes in both files.
- Enhanced error handling in the `DropdownSitesComponent` by using the `subscribe` method with an object for better readability.

* Refactor TypeScript types and improve error handling in component tests

- Updated type annotations in `upload.service.ts` and `node-actions.service.ts` for better type safety.
- Enhanced error handling in various component tests by using more descriptive error messages in `task-attachment-list.component.spec.ts`, `attach-file-widget-dialog.component.spec.ts`, and `task-form.component.spec.ts`.
- Removed unnecessary schemas from test configurations in several component spec files to streamline the testing setup.

* Refactor TypeScript enums to const objects for improved type safety

- Converted multiple TypeScript enums to const objects across various models, including `AppConfigValues`, `Status`, `ShowHeaderMode`, `WidgetTypeEnum`, and others.
- Updated related type definitions to enhance type inference and immutability.
- Adjusted ESLint configurations by removing the 'no-redeclare' rule to streamline code quality checks.

* Refactor TypeScript types for improved type safety and consistency

- Updated type annotations in `document-list.component.ts`, `document-actions.service.ts`, and `node-actions.service.ts` to use `Observable` instead of `Subject` for better reactive programming practices.
- Enhanced type definitions in `search-date-range.component.ts` and related spec files to allow `inLastValue` to be either a string or a number, improving flexibility in handling date range inputs.
- Adjusted test cases to reflect these type changes, ensuring consistency across the application.

* Enhance type safety in ViewerComponent by specifying type for closeButtonPosition

- Updated the type annotation for `closeButtonPosition` in `viewer.component.ts` to explicitly define it as `CloseButtonPosition`, improving type safety and clarity.

* Enhance type safety in DataTableComponent by specifying type for showHeader

- Updated the type annotation for `showHeader` in `datatable.component.ts` to explicitly define it as `ShowHeaderMode`, improving type safety and clarity.

* Update PDF viewer test to accommodate varying date formats

- Modified the test for the annotation popup in `pdf-viewer.component.spec.ts` to check for the presence of date components instead of a specific date format, enhancing test robustness across different locales.
2026-02-12 16:28:45 +00:00
Alfresco BuildandCrowdin Bot 823a147656 New Crowdin translations by GitHub Action (#11637)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2026-02-11 16:18:11 +00:00
David Olson 4d99262ba3 AAE-41699 Evaluate variables in form display text (#11620) 2026-02-09 15:40:31 -06:00
Alfresco BuildandCrowdin Bot 012b1b4495 New Crowdin translations by GitHub Action (#11631)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2026-02-09 13:27:58 +00:00
Alfresco BuildandCrowdin Bot 6df7563d29 New Crowdin translations by GitHub Action (#11630)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2026-02-09 12:37:52 +00:00
Anton Ramanovich 283b996063 [MNT-25541] PDFs containing JP2 images (JPEG 2000) cannot be displayed in ADW viewer (#11618)
* [MNT-25541]: adds wasmUrl to default options

* [MNT-25541]: updates UTs

* [MNT-25541]: naming change
2026-02-09 11:14:38 +01:00
AleksanderSklorz 5df193b255 [MNT-25123] pdf annotations incorrect and or not visible (#11621)
* [MNT-25123] Fixed pdf annotations displaying

* [MNT-25123] Unit tests, used variables for colors

* [MNT-25123] Corrected sonar issues
2026-02-09 09:18:09 +01:00
Dominik Iwanek e859923541 [ACS-10304] KN: personal files: Column resizing available via mouse but not accessible via keyboard (#11616) 2026-02-05 09:15:36 +01:00
Alfresco BuildandCrowdin Bot 6db0fb84c7 New Crowdin translations by GitHub Action (#11596)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2026-02-03 13:18:21 +00:00
Michal Kinas 84de7c7765 Satori adotion icon fix (#11614) 2026-02-03 09:07:06 +01:00
Anton Ramanovich 8cda30db45 [ACS-10203]: Checkbox "Select All" has no visible label (#11594)
* [ACS-10203]: adds tooltip

* [ACS-10203]: adds selectors and global styles

* [ACS-10203]: typo fix
2026-01-30 13:12:50 +01:00
Mykyta Maliarchuk 1780aa9663 [ACS-10281] a11y fix: Approve step folder control is focusable twice (#11589)
* [ACS-10281] a11y fix: Approve step folder control is focusable twice

* [ci:force]

* [ACS-10281] revert to div

* [ACS-10281] a11y fix: Approve step folder control is focusable twice

* fix for e2e's
2026-01-30 12:58:35 +01:00
Anton Ramanovich 3bba02264a [ACS-10241]: Personal files: Column sorting state and role not communicated by buttons (parially reverted to align with hxp) (#11598)
* [ACS-10241]: partially reverted changes

* [ACS-10241]: restored aria-label
2026-01-30 12:54:16 +01:00
AleksanderSklorz 6bb78f9d26 [ACS-10274] sr personal files sr announces white heavy check mark in entitlements row of repository section (#11595)
* [ACS-10274] Corrected reading green check mark and red cross by screen reader

* [ACS-10274] Unit tests, cleaning code, centering content

* [ACS-10274] Fixed formatting

* [ACS-10274] Moved code for getting cell to unit testing utils
2026-01-29 15:23:09 +01:00
Anton Ramanovich 4a6e9fc5d6 [ACS-10241]: SR: Personal files: Column sorting state and role not communicated by buttons (#11591)
* [ACS-10241]: updates aria setup for sortable columns

* [ACS-10241]: updates UTs

* [ACS-10241]: cleanup
2026-01-28 10:43:06 +01:00
Andreas PhilippiandFabian Kindgen 6131bf3890 AAE-38626 Reload columns on appname change (#11560)
* [AAE-38626] Updating columns when appName changes

[AAE-38626] Updating columns when appName changes

* [AAE-38626] Added tests

* Added indicator to handle app change

* [ci:force] fixes

* Checking enableAppChange in ngOnchange

* Fixed tests

---------

Co-authored-by: Fabian Kindgen <39992669+fkindgen@users.noreply.github.com>
2026-01-27 20:18:14 +01:00
Benn Snyder 15806d7c9f HXIDP-5181 Allow form text fields to render custom field status content (#11523) 2026-01-27 08:47:31 -05:00
Michaela 42c2f78baf Fixes icon button color in array item (#11588)
Removes specific styling for the icon button in array items
to inherit the correct color.

This ensures the button's icon color aligns with the theme.

Fixes AAE-41713
2026-01-27 13:34:05 +01:00
Michal KinasandEhsan Rezaei 1028df91da [ACS-7768] ADF Form fields cleanup (#11484)
* [ACS-7768] ADF Form fields cleanup

* [ACS-7768] CR fixes

* [ACS-7768] Bring back label condition

* ACS-7768 Fixing storybook build

* [ACS-7768] Fix rebase issues

---------

Co-authored-by: Ehsan Rezaei <ehsan.rezaei@hyland.com>
2026-01-27 08:10:15 +01:00
Alfresco BuildandCrowdin Bot b2c105dd67 New Crowdin translations by GitHub Action (#11586)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2026-01-26 13:39:12 +00:00
Dominik Iwanek 1c59b2fb15 [ACS-10307] SR: Personal files: No confirmation announced when creating new folder or document (#11549) 2026-01-26 13:32:48 +01:00
Michal Kinas 198e18bef5 [ACS-10239] Add aria hidden to visual separators (#11572) 2026-01-26 10:51:40 +01:00
Michal Kinas 6927af4ec3 [ACS-10288] Aria label for user initials pipe (#11568) 2026-01-26 10:51:12 +01:00
Bartosz Sekula 3f01a92d67 AAE-34140 Asynchronous Forms - automatically populated value cannot be used in another task (#11574)
* AAE-34140 Asynchronous Forms - automatically populated value cannot be used in another task

* update

* update
2026-01-26 10:21:00 +01:00
Denys Vuika e78da9dea0 ACS-8395: remove old and unused search picker components (#11573) 2026-01-23 14:52:02 +00:00
Ehsan Rezaei a3c309c676 AAE-41613 Hiding tooltip card on click (#11571) 2026-01-23 13:58:19 +01:00
Michal Kinas 6eaaff33bb [ACS-10289] No notifications info is no longer mat menu item (#11566) 2026-01-23 10:58:18 +01:00
Mykyta Maliarchuk b04e1ca081 [ACS-10323] Fix not announced aria-label (#11553) 2026-01-22 13:47:35 +00:00
Michal Kinas 0edb04eeb2 [ACS-10301] Add aria-hidden to a decorative icon (#11564) 2026-01-22 14:37:15 +01:00
Michal Kinas 5cdcd97201 [ACS-10259] Add an option to reorder rows with keyboard (#11548)
* [ACS-10259] Datatable add drag&drop keyboard integration

* [ACS-10259] Add option to reorder rows via keyboard

* [ACS-10259] Add proper focus handling
2026-01-22 12:02:45 +01:00
Alfresco BuildandCrowdin Bot 096ead8648 New Crowdin translations by GitHub Action (#11555)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2026-01-22 10:55:10 +00:00
Anton Ramanovich 506aeecdc2 [ACS-10280] Keyboard Navigation: Search: Unnecessary stops in the results table using the Tab key: (#11529)
* [ACS-10280]: removes rows being focusable by default

* [ACS-10280]: non fucusable chips by default

* [ACS-10280]: datatable UTs

* [ACS-10280]: updates focus management for datatable

* [ACS-10280]: improves tabfocus for hidden action buttons
2026-01-22 07:18:33 +01:00
Dominik Iwanek 934765f2f6 [ACS-10304] KN: personal files: Column resizing available via mouse but not accessible via keyboard (#11525) 2026-01-21 12:49:47 +01:00
Diogo Bastos d838d93abc AAE-41496 Deprecate icon component (#11550)
* AAE-41496 Deprecate icon component

* AAE-41496 Improve template

* AAE-41496 Fix tests
2026-01-21 11:34:54 +00:00
Denys Vuika 4200f9abce AAE-40748 Bug fixes for translation and storage services (#11551)
* AAE-40748 Various i18n and storage bug fixes

* refactor: update NoopTranslateModule to use provideHttpClient and provideHttpClientTesting

Replaced HttpClientTestingModule with provideHttpClient and provideHttpClientTesting for improved dependency injection in the NoopTranslateModule.

* refactor: update FileUploadErrorPipe tests to use TestBed for dependency injection

Replaced direct instantiation of FileUploadErrorPipe with TestBed configuration, utilizing NoopTranslateModule for improved testing practices.

* test: enhance StorageService and UserPreferencesService tests for improved initialization logic

Added tests for UserPreferencesService to verify locale and pagination initialization from storage and config. Updated StorageService tests to restore original localStorage after each test for better isolation.

* refactor: simplify TranslationService by removing direct StorageService dependency
2026-01-21 08:02:54 +00:00
Denys Vuika 0b7124a638 remove unused blank page component (#11533) 2026-01-16 15:30:26 +00:00
Michal Kinas 219f52a361 [ACS-6821] Adjust the search filter icon in document list (#11528)
* [ACS-6821] Adjust the search filter icon in document list

* [ACS-6821] Sonarqube fix

* [ACS-6821] CR fix
2026-01-16 10:54:14 +01:00
dominikiwanekhyland 4bf065561a [ACS-10313] KN: Personal Files: Row selection checkboxes are not accessible for keyboard and screen reader users (#11531) 2026-01-15 14:44:01 +01:00
Denys Vuika 17f9b3eeba ACS-8224 Make Multi Value Pipe internal (#11530) 2026-01-15 12:25:49 +00:00
AleksanderSklorz 08725100d8 [ACS-10331] Corrected columns visibility title (#11526) 2026-01-15 08:55:21 +01:00
Diogo Bastos 304216b36b AAE-41330 Unify adf-icon use in adf-core (#11527)
* AAE-41330 Unify adf-icon use in adf-core

* AAE-41330 Fix icon names
2026-01-14 16:13:11 +00:00