Commit Graph
4839 Commits
Author SHA1 Message Date
Denys Vuika 8b4324cfec refactor: simplify panel state management and enhance template syntax in content metadata component
- Replaced inline conditional checks with dedicated methods for panel expansion and editing states.
- Updated template syntax to improve readability and maintainability using @if syntax.
- Removed unused CommonModule import and added AsyncPipe for better performance.
2026-02-27 13:05:52 +00:00
Denys Vuika 24a7e55b68 refactor: remove ContentMetadataModule and clean up imports in ContentModule
- Deleted ContentMetadataModule and its associated exports.
- Removed CONTENT_METADATA_DIRECTIVES from ContentModule imports.
- Updated public API to exclude ContentMetadataModule exports.
- Enhanced template syntax in content-metadata.component.html for improved readability and maintainability.
2026-02-27 13:05:52 +00:00
Denys Vuika 2acc4702cd refactor: update conditional rendering syntax in content node selector component
- Replaced ng-container with a more concise @if syntax for the upload button's visibility.
- Improved template readability and maintainability.
2026-02-27 13:05:51 +00:00
Denys Vuika 4fc599522c refactor: enhance site dropdown component structure and improve template syntax
- Updated the HTML structure for better readability and maintainability.
- Replaced the ngFor syntax with a more concise @for syntax.
- Improved the conditional rendering syntax for loading state.
- Removed unused CommonModule import from the component.
2026-02-27 13:05:51 +00:00
Denys Vuika 478482b3b6 refactor: update category tracking in categories management component
- Changed the tracking mechanism in the categories loop from category to category.id for improved performance and accuracy.
2026-02-27 13:05:51 +00:00
Denys Vuika 5767203cce refactor: remove ContentNodeSelectorModule and clean up imports in ContentModule
- Deleted ContentNodeSelectorModule and its associated exports.
- Removed CONTENT_NODE_SELECTOR_DIRECTIVES from ContentModule imports.
- Updated public API to exclude ContentNodeSelectorModule exports.
2026-02-27 13:05:50 +00:00
Denys Vuika a44eb415ec refactor: improve template structure and clean up imports in categories management component
- Enhanced the HTML structure for better readability and maintainability.
- Removed unused CommonModule import from categories management component.
- Updated conditional rendering syntax for clarity.
2026-02-27 13:05:50 +00:00
Denys Vuika ce9ef8b250 refactor: remove dialog module and clean up imports in ContentModule
- Deleted DialogModule and its associated exports.
- Removed CONTENT_DIALOG_DIRECTIVES from ContentModule imports.
- Updated public API to exclude dialog module exports.
2026-02-27 13:05:50 +00:00
Denys Vuika 922684d9bf refactor: remove AspectListModule and clean up imports in ContentModule and AspectListDialogComponent
- Deleted AspectListModule and its associated exports.
- Removed unused CommonModule import from AspectListDialogComponent.
- Updated ContentModule to exclude ASPECT_LIST_DIRECTIVES from imports.
2026-02-27 13:05:50 +00:00
AleksanderSklorz ec312d49ab [ACS-11213] Updated ngx translate in libs (#11699) 2026-02-27 13:19:49 +01:00
Mykyta Maliarchuk c216cea81b Fix minimatch version for adf-cli (#11697) 2026-02-27 12:33:02 +01:00
Alfresco BuildandCrowdin Bot d239d1f0ec New Crowdin translations by GitHub Action (#11695)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2026-02-27 10:29:43 +00:00
AleksanderSklorz ad966af662 [ACS-11213] Upgrade ngx-translate to v17 (#11692) 2026-02-27 10:29:19 +00:00
Ehsan Rezaei dd66ecc72a AAE-42804 Cleaning up tasks and process filter components (#11693)
* AAE-42804 Cleaning up tasks and process filter components

* Added loading aria label and code improvements

* AAE-42804 Fixing query param
2026-02-26 16:15:22 +00:00
Denys Vuika 3535fa3d89 ACS-11224 Migrate upload components to Angular control flow (#11691) 2026-02-26 14:54:25 +00:00
Grzegorz Jaśkowski 68d174c3e6 [ACS-11033] add node id field to ai answer references (#11690) 2026-02-26 15:14:48 +01: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
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
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
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
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
David Olson bc30b74213 AAE-39679 Counting click event twice for attach file widget (#11645) 2026-02-18 09:45:22 -06: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
Robert Duda 93fc7c166c AAE-41605 Add ability to filter by linked processes (#11664) 2026-02-18 11:50:14 +01:00
Anton Ramanovich b6a6c1bc86 [MNT-24175]: fixes non node values handling (#11641) 2026-02-17 15:41:23 +01:00
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
dependabot[bot] 1372bb5281 build(deps): bump qs from 6.14.1 to 6.14.2 in /lib/cli (#11646)
Bumps [qs](https://github.com/ljharb/qs) from 6.14.1 to 6.14.2.
- [Changelog](https://github.com/ljharb/qs/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ljharb/qs/compare/v6.14.1...v6.14.2)

---
updated-dependencies:
- dependency-name: qs
  dependency-version: 6.14.2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-02-16 09:47: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
Darren Thornton d274d62d73 AAE-40604 Fix edge case for REST/Variable for dropdown showing required message (#11638) 2026-02-12 09:25:46 -06:00
Dominik Iwanek 1fa683e2a9 Fix for ACA upstream (#11642) 2026-02-11 18:46:57 +01: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
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
Tomasz Nastaly 30afd2d863 AAE-42151 [FE - Studio Admin] Improve types for Integration Contexts (#11633) 2026-02-11 10:36:59 +01:00