Commit Graph
1602 Commits
Author SHA1 Message Date
Denys VuikaandCursor 711e5b4eac chore: migrate to Angular 20 and Material 20
- Update Angular from 19.2.18 to 20.3.9
- Update Angular Material/CDK from 19.2.19 to 20.2.14
- Update TypeScript from 5.8.3 to 5.9.3
- Update @typescript-eslint from 6.21.0 to 8.18.2
- Update @angular-eslint from 19.8.1 to 20.0.0
- Update ng-packagr from 19.2.2 to 20.3.2
- Update @mat-datetimepicker/core from 15.0.2 to 16.0.1 (Angular 20 compatible)

Angular Migrations Applied:
- Convert templates to new control flow syntax (@if, @for, @switch)
- Migrate DOCUMENT imports from @angular/common to @angular/core
- Update Router.getCurrentNavigation() to currentNavigation signal
- Replace deprecated InjectFlags enum usage
- Replace TestBed.get with TestBed.inject

Breaking Changes Fixed:
- Remove deprecated Directionality.value setter (read-only in Angular 20)
- Update ESLint config: replace @typescript-eslint/no-var-requires with no-require-imports
- Remove @typescript-eslint/brace-style rule (deprecated in v8)

Configuration:
- Add .npmrc with legacy-peer-deps for CI/CD compatibility
- Update ESLint rules for @typescript-eslint v8 compatibility

BREAKING CHANGE: Requires Angular 20+ and @mat-datetimepicker/core@16.0.1

Note: Nx build system currently has plugin worker issues. TypeScript compilation
verified successfully. Full builds and tests pending Nx worker resolution.

See MIGRATION_SUMMARY.md for complete details.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-25 12:33:27 +00:00
Mykyta Maliarchuk 7a3650e6a7 [ACS-11204] Fix: Duplicated site name is displayed instead of id when there are two libraries with the same name (#11682) 2026-02-24 10:25:24 +01:00
Denys Vuika 303a9efb3e chore: eslint fixes for @typescript-eslint/no-explicit-any (#11672) 2026-02-23 13:11:44 +00:00
Mykyta Maliarchuk cfb9a505e4 [ACS-10847] Location filter breaks the page when user value used (#11667)
* [ACS-10847] Location filter breaks the page when user value used

* [ACS-10847] simplify the ternary
2026-02-19 14:18:56 +01:00
Michal Kinas e5471c8741 Add missing input type (#11668) 2026-02-19 13:45:58 +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
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 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
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
Dominik Iwanek 1fa683e2a9 Fix for ACA upstream (#11642) 2026-02-11 18:46:57 +01:00
Dominik Iwanek faa22f2fde Fix for ACA upstream (#11640) 2026-02-11 13:23:16 +01:00
Michal Kinas 4df5b9282c [MNT-25478] Expose list parents method in nodes api service (#11622)
* [MNT-25478] Expose list parents method in nodes api service

* [MNT-25478] CR fixes
2026-02-11 13:09:22 +01:00
Dominik Iwanek dcf133b37e [MNT-25410] ADW - Saved Searches can load the wrong search set, and t… (#11599) 2026-02-09 08:03:39 +01:00
Adam Świderski 0c50bfd4e3 [ACS-10957] new locators for errors in ACC dialogs (#11617) 2026-02-05 11:32:02 +01:00
Mykyta Maliarchuk b74ffc81f4 [ACS-10247] a11y: SR not announce Start/End Date as required fields (#11613) 2026-02-02 12:34:59 +01:00
Grzegorz Jaśkowski 3e9b5a097c [ACS-10193] Other A11y My Libraries Link (#11587)
* [ACS-10193] make library title bolder to indicate it is a link

* [ACS-10193] use higher font weight

* [ACS-10193] move weight to proper scss file

* [ACS-10193] fix css class encapsulation
2026-01-30 17:01:21 +01:00
Michal Kinas ba3d9d5be4 [ACS-7768] Styling fixes for permission management page (#11597)
* [ACS-7768] Styling fixes for permission management page

* [ACS-7768] CR fixes
2026-01-30 15:53:16 +01:00
Michal Kinas 4987bbadef [ACS-10302] Add aria-live to selected aspects counter (#11593)
* [ACS-10302] Add aria-live to selected aspects counter

* [ACS-10302] Add the live announcer for amount of selected items in breadcrumb

* [ACS-10302] CR fixes
2026-01-30 12:42:47 +01:00
Dominik Iwanek 9cb8b962ae [ACS-10213] Libraries: Radio buttons for Public, Private, and Moderated lack a grouped label (#11590) 2026-01-30 12:36:22 +01:00
Mykyta Maliarchuk 2b79f18d79 [ACS-10247] a11y fix: SR announces Start/End Date fields incorrectly in date popup (#11592)
* [ACS-10247] a11y fix: SR announces Start/End Date fields incorrectly in date popup

* fix
2026-01-28 14:48:53 +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
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 1022e1e51f [ACS-10276] Add proper title and aria label to chip remove button (#11569) 2026-01-26 10:51:30 +01:00
Denys Vuika e78da9dea0 ACS-8395: remove old and unused search picker components (#11573) 2026-01-23 14:52:02 +00:00
Denys Vuika 5c536079c9 Refactor alfresco-viewer component tests to use [adf-icon] directive for icons (#11565) 2026-01-22 13:25:55 +00:00
Anton Ramanovich c81a64be79 [ACS-10206]: setting haspopup after init (#11475)
* [ACS-10206]: setting haspopup after init

* [ACS-10206]: sonarQube fixes

* [ACS-10206]: sonarQube fixes

* [ACS-10206]: sonarQube fixes

* [ACS-10206]: cleanup

* [ACS-10206]: revert
2026-01-22 07:24:55 +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
AleksanderSklorz 50913dd4e4 [ACS-10335] Corrected screen reader reading for between group in search date range component (#11534) 2026-01-16 11:31:03 +01: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
Denys Vuika 17f9b3eeba ACS-8224 Make Multi Value Pipe internal (#11530) 2026-01-15 12:25:49 +00:00
Anton Ramanovich e01cd40b1f [ACS-10205]: Extends DataTableAdapter interface to handle focus for accessibility (#11506)
* [ACS-10205]: updates base DataTableAdapter class with optional props

* [ACS-10205]: updates ShareDataTableAdapter with new props for focus handling

* [ACS-10205]: bind new focus props to template

* [ACS-10205]: uts update

* [ACS-10205]: uts refactor

* [ACS-10205]: fixes circullar deps
2026-01-14 12:43:29 +01:00
Denys Vuika 716ce228ce ACS-8772: Migrate node tooltip to Angular signals (#11498) 2026-01-13 14:04:04 +00:00
Denys Vuika 572231bf49 AAE-41225 update typescript target to es2022 and fix FormService propagation (#11508)
* update targets

* update targets

* fixed FormService propagation [ci:force]

* fixed FormService propagation [ci:force]
2026-01-13 08:47:07 +00:00
AleksanderSklorz 0c3cdaa006 [ACS-10335] Grouped input controls with radio buttons for search date range component (#11507)
* [ACS-10335] Grouped input controls with radio buttons for search date range component

* [ACS-10335] Change role group to fieldset element
2026-01-13 09:41:00 +01:00
Anton Ramanovich d6aaede8d8 [MNT-25408]: improves facet resetting flow (#11485)
* [MNT-25408]: improves facet resetting flow

* [MNT-25408]: uts refactor
2026-01-12 07:23:41 +01:00
Wojciech Duda 5f9de1fde8 AAE-40269 Add storybook v10 (#11401) 2026-01-09 18:17:43 +00:00
dominikiwanekhyland c64c6e4f7e [ACS-10242] - Personal files: Filter by Size popup announces entire c… (#11468) 2026-01-09 10:40:58 +01:00
Diogo Bastos d93d963a8d AAE-41024 Add adf-icon to content-services lib (#11496)
* AAE-41024 Add adf-icon to content-services lib

* AAE-41024 Fix attribute
2026-01-05 11:35:10 +00:00
Denys Vuika b13ae23173 ACS-10914 Remove unused allowable operation directive (#11476) 2026-01-05 09:01:30 +00:00
Denys Vuika 744bb671f1 ACS-10908 Cleanup unit test configuration for Content (#11470) 2025-12-18 15:07:51 +00:00
Anton Ramanovich 21d6818de5 ACS-10083 Fixes filters behavior with queryParams (#11426)
* [ACS-10083]: aadds populateFilters value safe check

* [ACS-10083]: introduces property to postpone document-list data load

* [ACS-10083]: migrates to using category id as a key instead of column key

* [ACS-10083]: excludes excessive Search API calls

* [ACS-10083]: updates user query setting

* [ACS-10083]: sonar qube fix

* [ACS-10083]: tests refactor

* [ACS-10083]: fixes tests

* [ACS-10083]: restores isFilterServiceActive prop initializer
2025-12-16 11:02:05 +01:00
Denys Vuika 062b8060bc ACS-7461 Remove ADF_DOCUMENT_PARENT_COMPONENT token (#11372) 2025-12-15 13:42:21 +00:00
Mykyta Maliarchuk 7dddbf7d91 [ACS-10232][ACS-10326] Fix focus trap for search filters (#11447)
* [ACS-10232][ACS-10326] Fix focus trap for search filters

* sonar issue fix
2025-12-12 09:52:30 +01:00
Anton Ramanovich 8fa3e6acdf [MNT-25408]: updates changing search config logic; exposes stream for active filters (#11386)
* [MNT-25408]: fixes execution sequence

* [MNT-25408]: adds getter

* [MNT-25408]: reverts getter for property access proxy

* [MNT-25408]: adds tests

* [MNT-25408]: minor fixes

* [MNT-25408]: minor fixes
2025-12-09 09:57:55 +01:00
Wojciech Duda 6567c02220 AAE-40269 Cleanup deprecated global sass mixins (#11420) 2025-12-08 16:00:48 +01:00
Michal Kinas 9717a88818 [ACS-10226] Improve color contrast for better accessibility (#11429) 2025-12-08 15:52:21 +01:00
Michal Kinas 58591c67dc [ACS-10835] Add new param for recent filters in custom resources services (#11428)
* [ACS-10835] Add new param for recent filters in custom resources services

* [ACS-10835] CR fixes
2025-12-08 15:51:31 +01:00