Commit Graph

2501 Commits

Author SHA1 Message Date
AleksanderSklorz
ec312d49ab [ACS-11213] Updated ngx translate in libs (#11699) 2026-02-27 13:19:49 +01:00
AleksanderSklorz
ad966af662 [ACS-11213] Upgrade ngx-translate to v17 (#11692) 2026-02-27 10:29:19 +00:00
Denys Vuika
3535fa3d89 ACS-11224 Migrate upload components to Angular control flow (#11691) 2026-02-26 14:54:25 +00:00
Enrico Hilgendorf
4cc56421ee AAE-42658 Remove check for outcome.id as name based outcomes are valid (#11685) 2026-02-25 15:23:25 +01:00
Darren Thornton
1061e762f8 Apply Copilot suggestion 2026-02-24 17:15:18 -05:00
Darren Thornton
358367bcb1 AAE-42643 Fix long error messages overlapping with icon 2026-02-24 17:15:18 -05:00
Denys Vuika
52ad50fbc7 refactor: update PDF viewer component imports and types for better compatibility (#11686) 2026-02-24 12:17:06 +00:00
Denys Vuika
7405b2d2e4 fix pdf import for the Viewer (#11684) 2026-02-24 09:57:33 +00:00
Darren Thornton
de34579038 AAE-42156 Update text and multiline fields to show custom regex validation message. (#11670)
* AAE-42156 Custom RegExp Validation message.

* code review update - variable rename
2026-02-23 11:25:15 -06:00
Denys Vuika
2f8d8c2007 chore: update ESLint and cspell configurations to ignore story files (#11681)
* chore: update ESLint and cspell configurations to ignore story files

* fix: update custom widget identifiers in form renderer tests and mock data
2026-02-23 13:58:51 +00:00
Denys Vuika
303a9efb3e chore: eslint fixes for @typescript-eslint/no-explicit-any (#11672) 2026-02-23 13:11:44 +00:00
Michal Kinas
7f8b49cb07 Remove excess disabled attribute (#11680) 2026-02-23 09:53:42 +01:00
Tomek Hanaj
f1f2000db8 AAE-42525 Updated condition for mat-error (#11669)
* [AAE-42525] updated condition for mat-error

* [AAE-42525] removed color primary
2026-02-23 08:42:57 +01:00
Tomasz Nastaly
1baddb2b37 AAE-42291 Double-click to copy to clipboard does not work on disabled/read-only fields in card-view-textitem (#11656) 2026-02-19 10:44:07 +01:00
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 Vuika
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 Build
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 Build
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 Build
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 Build
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 Build
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 Philippi
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 Kinas
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 Build
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