724 Commits

Author SHA1 Message Date
swapnil-verma-gl
dec6c41e5c
Release 5.2.0 (#4249)
* Release 5.2.0

* Fixed build issue

* Updated correct dependency versions. Updated compatibility matrix to denote correct ACS version
2024-11-21 13:47:52 +05:30
MichalKinas
90cb0d4db0
[ACS-9008] Proper form initialization for Saved Searches (#4243)
* [ACS-9008] Proper form initialization

* [ACS-9008] Add saved search form interface, fix other dialog
2024-11-18 15:11:00 +01:00
MichalKinas
baaa8ca37b
[ACS-8991] Fix sidenav issue when clicking on manage saved searches (#4238) 2024-11-18 15:10:32 +01:00
MichalKinas
90ca3707f7
SonarCloud fixes (#4235) 2024-11-13 14:26:24 +01:00
jacekpluta
27e318aaa0
[ACS-8924] Failing Sonar job (#4219) 2024-11-13 14:03:35 +01:00
Tiago Salvado
ad0ec78e02
[MNT-24648] Turn page selector button visible (#4233) 2024-11-12 15:03:08 +00:00
lbiedrzycki
173254262b
[MNT-24622] Add files via upload (#4202)
* Add files via upload

* Update ar.json

* Update cs.json

* Update da.json

* Update de.json

* Update es.json

* Update fi.json

* Update fr.json

* Update it.json

* Update ja.json

* Update nb.json

* Update nl.json

* Update pl.json

* Update pt-BR.json

* Update ru.json

* Update sv.json

* Update zh-CN.json
2024-11-12 15:26:46 +01:00
MichalKinas
a74d189167
[ACS-8634] Add new option to edit changes in saved search or save as new (#4229)
* [ACS-8634] Add uniqueness validation for saved searches

* [ACS-8634] Saved searches edit or save as new

* [ACS-8634] CR fixes

* [ACS-8634] Sonar fixes

* [ACS-8634] Accept last saved searches when navigated from

* [ACS-8634] Display empty list of saved searches

* [ACS-8634] Proper url check

* [ACS-8634] Add new option to execute saved search

* [ACS-8634] CR fixes

* [ACS-8634] Sonar fix
2024-11-08 12:45:24 +01:00
Grzegorz Jaśkowski
71764b09e2
[ACS-8706] split context menu to allow injecting actions (#4203)
* ACS-8706 split context menu to allow injecting actions

* ACS-8706 fix class naming, add context menu components unit tests

* ACS-8706 add context menu service, effects and directive unit tests

* ACS-8706 review remarks - redundant condition, directive unit tests

* ACS-8706 improve unit testing approach, remove unnecessary class attributes

* ACS-8706 documentation

* ACS-8706 fix sonar issues

* ACS-8706 replace takeUntil with takeUntilDestroyed

* ACS-8706 fix sonar lint issue

* ACS-8706 change incorrect import path
2024-11-08 08:26:33 +01:00
Mykyta Maliarchuk
df6fdb38b0
[ACS-8914] Fix error on manage rules page open (#4228)
* [ACS-8914] fix error on manage rules page open

* [ACS-8914] sonar issue
2024-11-07 10:09:47 +01:00
Adam Świderski
8d78a408b1
[ACS-8981] [E2E] added deleteTagsByTagName method for TagsApiin ACA (#4226)
* [ACS-8981] [E2E] added deleteTagsByTagName method for TagsApiin ACA

* [ACS-8981] fixed C698515
2024-11-07 09:05:32 +01:00
Adam Świderski
62f38ee8a6
[ACS-8951] [E2E] tags and categories e2es added in ACA (#4210)
* [ACS-8951] [E2E] tags and categories e2es added in ACA

* [ACS-8951] sonar fix 1

* [ACS-8951] added tag deletion in afterAll

* [ACS-8951] added tag deletion

* [ACS-8951] sonar fix 2

* [ACS-8951] review fix 1

* [ACS-8951] Small code cleanup

* [ACS-8951] review fix 2

* [ACS-8951] review fix 3
2024-11-06 08:54:17 +01:00
dominikiwanekhyland
c2d2f95095
[ACS-8634] "Manage Searches" - a full page list of saved searches (#4181)
* [ACS-8751] Adapt search results to handle query encoding and state propagation

* Changes after CR, bug fixed

* Changes after CR, bug fixed

* [ACS-8634] "Manage Searches" - a full page list of saved searches

* Changes after Code Review

* [ACS-8634] Update package-lock

* [ACS-8634] Minor fixes

* [ACS-8634] Use latest ADF, fix unit tests

* [ACS-8634] Fix package lock

* [ACS-8634] Minor fixes

* [ACS-8634] CR fixes

* [ACS-8634] Sidenav state fixes

* [ACS-8634] Final fix for sidenav state

* [ACS-8634] CR fixes

* [ACS-8634] CR fix

---------

Co-authored-by: MichalKinas <michal.kinas@hyland.com>
2024-10-31 14:16:23 +01:00
MichalKinas
cacc4149fa
[ACS-8956] Add new ESLint rule for self-closing tags (#4211) 2024-10-31 09:54:23 +01:00
AleksanderSklorz
d25c08a2c5
[ACS-8807] Fixed answer formatting (#4209) 2024-10-30 10:26:26 +01:00
jacekpluta
092a57f8b9
[ACS-8907] Remove query / question from input on the results page (#4189)
* [ACS-8907] Remove query / question from input on the results page

* [ACS-8907] Remove query / question from input on the results page
2024-10-28 10:41:52 +01:00
AleksanderSklorz
e743a38117
[ACS-8769] Removed mocked avatars and replaced with loading them from backend (#4207) 2024-10-28 09:04:26 +01:00
MichalKinas
3cda94558d
Manual dependencies update (#4200)
* Manual dependencies update

* Missing changes
2024-10-25 11:00:42 +02:00
MichalKinas
093099d990
Router might be undefined added safe check (#4198) 2024-10-24 09:17:43 +02:00
dominikiwanekhyland
3fbdc93c51
Ng16 migration (#4104)
* Updated ACA to Angular 16

* Updated Subject types to void in cases where no values was being emitted

* [ACS-8375] [ACA] [General] Selecting a checkbox gives a light green color on focus (#3937)

* [ACS-8376] [ACA] [[Manage Rules] Multiple UI issues in create rule dialog (#3943)

* [ACS-8378] Fixed inputs having fill styling throughout ACA (#3944)

* [ACS-8378] Mat form fields now have white background instead of grey

* [ACS-8378] Fixed issue where the background of the boolean mode control dropdown was appearing as white when in condition groups. Labels in create rules window are now black

* [ACS-8415] Sidenav labels are now grey (#3946)

* [ACS-8379] Fixed issue where icons in menus were coming as black after ng16 upgrade (#3935)

* refactor DI into inject() methods (#3954)

* Cleanup and remove unneeded commits and changes

* Fix eslint (#4032)

* [REVERTABLE] - this is a quick temp fix to be able to release ACA with NG16

* [MIGRATION] - added some fix after rebase

* Refactor AppEffects (#4079)

* Refactor effects to use inject() (#4080)

* Refactor effects to use inject() (#4081)

* Rebase fixes

* [ACS-8739] Fix e2e tests (#4106)

* Updated ADF deps

* Fixed unit passing mandatory value

* Updated ADF version

* Updated ADF version

* [ACS-8743] [ADW] click on search button open a blank page (#4125)

* Updating ADF dep

* Updating ADF

* Refactor injections in effects (#4137)

* Upstream dependencies

* Refactor SearchAiEffects

* Updating ADF and rebased

* Rebased and updated

* Rebased and updated

* Updating deps

* Updating deps

* Updating deps

* Rebased and updated deps

* Pushing package-lock.json

* Moved the JWT storage injection token at app level

* Updated dependencies

* Fixed unit test

* Improved solutio for token with no need to set it explicitly

* Updating dependencies

* Updated package version

* Updated ADF deps

* Use latest ADF

---------

Co-authored-by: swapnil.verma <swapnil.verma@globallogic.com>
Co-authored-by: swapnil-verma-gl <92505353+swapnil-verma-gl@users.noreply.github.com>
Co-authored-by: VitoAlbano <vito.albano.123@gmail.com>
Co-authored-by: Ehsan Rezaei <ehsan.rezaei@hyland.com>
Co-authored-by: MichalKinas <michal.kinas@hyland.com>
2024-10-23 17:19:36 +02:00
dominikiwanekhyland
a7573dc933
ADW Saved Search (#4173)
* [ACS-8751] Adapt search results to handle query encoding and state propagation

* ADW Saved Search

* ADW Saved Search

* Changes after CR, bug fixed

* Changes after CR, bug fixed

* Changes after CR, bug fixed

* Changes after CR, bug fixed

* Changes after CR, bug fixed

* Changes after code review

* Changes after code review

* Changes after code review

* Changes after code review

* Changes after code review

* Changes after code review

* Changes after code review

* Changes after code review

* Changes after code review

* Changes after code review

* ACS-8751 fix e2e

* ACS-8751 fix e2e

* ACS-8751 fix e2e

* ACS-8751 fix e2e saved-search

* ACS-8751 fix e2e recent file

* ACS-8751 fix e2e recent file

* [ACS-8751] Change encoding from ascii to utf8 to handle special language characters

---------

Co-authored-by: MichalKinas <michal.kinas@hyland.com>
Co-authored-by: akash.rathod@hyland.com <akash.rathod@hyland.com>
2024-10-23 09:33:08 +02:00
AleksanderSklorz
dfa155df03
[MNT-24660] version list action cannot be disabled using app conf (#4182)
* MNT-24660 Fixed config settings for version manager

* MNT-24660 Unit tests

* MNT-24660 Added possibility to hide and show delete version option

* MNT-24660 Property to show or hide version actions

* MNT-24660 Added more tests, updated documentation

* MNT-24660 Additional documentation

* MNT-24660 Additional fixes

* MNT-24660 Reverted not wanted change

* MNT-24660 Reverted not wanted change
2024-10-21 23:27:48 +02:00
Akash Rathod
2f507323ac
[ACS-8886] enable excluded test from ACA (#4170)
* [ACS-8886] enable excluded test

* [ACS-8886] enable excluded test

* [ACS-8886] test fix and added ticket to resovle

* [ACS-8886] test reexcluded as valid fail

* [ACS-8886] test enalbe

* [ACS-8886] test fix for admin
2024-10-08 17:25:13 +02:00
AleksanderSklorz
0fb9f9ebe3
[ACS-8398] unit tests part 3 (#4163)
* ACS-8398 Unit tests for search ai effects

* ACS-8398 Unit tests for canDisplayKnowledgeRetrievalButton rule

* ACS-8398 Unit tests for changes in document base page

* ACS-8398 Added unit tests for changes in recent files component

* ACS-8398 Unit tests for changes in lists pages

* ACS-8398 Moved variable to inside of describe

* ACS-8398 Moved repeated code to function

* ACS-8398 Reverted one change

* ACS-8398 Fix after rebase

* ACS-8398 Fix issue with repeated code

* ACS-8398 Fix issue with repeated code

* ACS-8398 Fixed unit tests

* ACS-8398 Fixed unit tests

* ACS-8398 Trigger job
2024-10-07 13:50:01 +02:00
jacekpluta
3ec6d0be32
[ACS-8779] Keep selections and question after going to the previous page (#4147) 2024-10-04 14:54:09 +02:00
Adam Świderski
b72009f9e1
[ACS-8845] viewer file types fixes pr (#4159)
* [ACS-8845] [E2E] Added e2e tests for verifying file types in viewer

* [ACS-8845] [E2E] Viewer tests fixes

* [ACS-8845] eslint fix
2024-10-02 14:00:23 +02:00
Adam Świderski
5968a39de5
[ACS-8845] [E2E] Added e2e tests for verifying file types in viewer (#4156) 2024-10-02 09:51:49 +02:00
AleksanderSklorz
01f0deb839
[ACS-8784] Fixed references layout (#4157) 2024-10-02 08:40:52 +02:00
MichalKinas
7ceadcc270
Post-release version bump (#4149) 2024-09-30 15:41:47 +02:00
MichalKinas
4306bdfaf6
Release 5.1.1 (#4148) 2024-09-30 13:37:13 +02:00
Alfresco Build
2c347eaa7f
GH Auto: Upstream dependencies ADF:7.0.0-alpha.2-11070706321 JS-API:8.0.0-alpha.2-11070706321 using Tag:7.0.0-alpha.2-11070706321 (#4144)
* [ci:force][auto-commit] Update dependencies ADF:7.0.0-alpha.2-11070706321  JS:8.0.0-alpha.2-11070706321

* fix test

---------

Co-authored-by: nikita-web-ua <nikita-web-ua@users.noreply.github.com>
Co-authored-by: Mykyta Maliarchuk <mykyta.maliarchuk@hyland.com>
2024-09-27 16:16:24 +02:00
Alfresco Build
8b0cd8a958
[ci:force][auto-commit] Update dependencies ADF:7.0.0-alpha.2-11066801004 JS:8.0.0-alpha.2-11066801004 (#4136)
Co-authored-by: jacekpluta <jacekpluta@users.noreply.github.com>
2024-09-27 11:37:38 +02:00
AleksanderSklorz
a93722bea6
[ACS-8833] Displaying error page when there is no selected nodes (#4142) 2024-09-27 09:49:47 +02:00
jacekpluta
34e494e8e6
[ACS-8821] Agent avatar image location fix 2.0 (#4141) 2024-09-25 14:00:07 +02:00
AleksanderSklorz
8525aa34d8
[ACS-8816] Removed unused feedback buttons (#4138) 2024-09-24 15:16:30 +02:00
jacekpluta
f50b0144d3
[ACS-8821] Agent avatar image location fix (#4135) 2024-09-24 13:53:44 +02:00
jacekpluta
edcc6f8047
[ACS-8201] Knowledge Retrieval - getting AI response for one or more selected files (#4127)
* [ACS-8202] basic flow getting ai response for one or more selected files (#3936)

* ACS-8202 Added animated icon

* ACS-8202 Added search ai input

* ACS-8202 Added AI search results page

* ACS-8202 Allow to run knowledge retrieval on files inside library, shared, favourites and recent files

* ACS-8202 Hide icon when selected more than 100 files or non text files

* ACS-8202 Display notification when too many files are selected

* ACS-8202 Added agents dropdown

* ACS-8202 Styles for AI response

* ACS-8202 Applied design changes

* ACS-8202 Added query card to Knowledge retrieval page results

* ACS-8202 Fixed search collapsing when opened results page

* ACS-8202 Changed placeholder in input for results page, wrapping text and scrolling for results page

* ACS-8202 Display snackbar with messages when conditions are not met

* ACS-8202 Disallow run knowledge retrieval for libraries, leave input when click on x button

* ACS-8202 Renaming files

* ACS-8202 Trigger ai input by selecting agent instead of clicking on button

* ACS-8202 Reverted triggering showing input by selecting option from select

* ACS-8202 Display dropdown with agents by clicking on button

* ACS-8202 Structural changes - services and agents button component

* ACS-8202 Removed part for examples from search page

* ACS-8202 Simplified html for search page

* ACS-8202 Refactored html and styles for search page, translations for search page

* ACS-8202 More html and styles refactoring

* ACS-8202 Formatting html

* ACS-8202 Removed references to angular material classes

* ACS-8202 Added data automation id attributes

* ACS-8202 Load agents from backend, formatting html for agents button component and adding data automation ids to that component

* ACS-8202 Correction after rebase

* ACS-8202 Set agent for input based on selected agent from dropdown for agents button

* ACS-8202 Hide agent button for libraries pages and use translations for warnings when clicked on agents button

* ACS-8202 Pass agent id to search results page

* ACS-8202 Used form control instead of ngmodel for search query

* ACS-8202 Moved search ai service and search ai input state to ADF

* ACS-8202 Results page ts clean up

* ACS-8202 Used ask and getAnswer functions from search ai service

* ACS-8202 Cleaning of search ai navigation service

* ACS-8202 Small clean ups

* ACS-8202 Renamed sources to references

* ACS-8202 Fixed asking next question from results page

* ACS-8202 Added possibility to use knowledge retrieval from search results page

* ACS-8202 Fixed issue with selecting the same agent after previously closing input on search results page

* ACS-8202 Disallowed using knowledge retrieval on trash page

* ACS-8202 Hide toggling knowledge retrieval for tasks and processes, fixed displaying ask button for favorites page

* ACS-8202 Removed redundant image and function

* ACS-8202 Renamed breadcrumbTemplate to header

* ACS-8202 Removed redundant code, added some comments, made some fields as private

* ACS-8202 Display error message on search page

* ACS-8202 Accessibility changes

* ACS-8202 Small correction

* ACS-8202 Addressed comments

* ACS-8202 Displayed correct initials

* ACS-8202 Removed redundant imports

* ACS-8202 Change css value

* ACS-8202 Removed icon animation

* ACS-8202 Removed icon animation

* ACS-8201 Small correction after rebasing with Angular 15

* [ACS-8398] unit tests (#3973)

* ACS-8398 Unit tests for agents button and part for agents menu

* ACS-8398 Unit tests for search ai input component

* [ACS-8210] Agent basic details popup (#3942)

* [ACS-8210] Agent basic details popup

* [ACS-8210] Agent basic details popup - review fixes

---------

Co-authored-by: Aleksander Sklorz <aleksander.sklorz@hyland.com>

* [ACS-8382] Blurring the AI answer section before getting response from backend (#3948)

* [ACS-8398] Unit tests part 2 (#3989)

* ACS-8398 Unit tests for search ai input container

* ACS-8398 Unit tests for search ai navigation service and rest tests for search ai input container component

* ACS-8398 Added missing type

* [ACS-8484] Add feature flag to knowledge retrieval (#4003)

* [ACS-8562] "Ask Agent" button name is changed to "Ask Discovery"

* [ACS-8573] Allow user to ask question without file selection

* [ACS-8312] Display warning about losing response (#4012)

* ACS-8201 Fixed issues after rebase

* [ACS-8588] Navigation is triggered twice when leaving Knowledge Retrieval page (#4030)

[ACS-8588] Navigation is triggered twice when leaving Knowledge Retrieval page

* [ACS-8399] Integrate all changes with backend (#4076)

* [ACS-8399] Integrate all changes with backend

* [ACS-8399] Integrate all changes with backend - review fixes

* Answers endpoint fix

* Answers endpoint fix (#4107)

* [ACS-8664] generic question redirection to hx insight page (#4102)

* ACS-8664 Open page in new tab

* ACS-8664 Loading HX insight url

* ACS-8664 Unit tests

* ACS-8664 Fix after rebasing

* ACS-8664 Fixed unit tests

* ACS-8664 Added type

* ACS-8664 Removed duplicated lines

* ACS-8664 Removed duplicated lines

* ACS-8664 Addressed comments

* [ACS-8695] Getting Agent avatar (#4110)

* [ACS-8695] Getting Agent avatar

* [ACS-8695] Getting Agent avatar - fixes

* [ACS-8695] Getting Agent avatar - fixes 2

* Adding mocked agent avatars (#4117)

* [ACS-8201] review fixes

* [ACS-8201] review fixes

* [E2E] excluded failing tests to fix later pt.1

* [ACS-8767] allow to open referenced files (#4129)

* ACS-8767 Opening referenced files

* ACS-8767 Reverted one line

* ACS-8767 Removed unwanted code

* ACS-8767

* ACS-8767 Unit tests for allowing clicking on references

* ACS-8767 Unit tests

* ACS-8767 Moved duplicated code to function

* ACS-8767 Resolved sonar issue

* ACS-8767 Resolved sonar issue

* [ACS-8201] knowledge retrieval feature flag - false

* [E2E] excluded failing tests to fix later pt.2

* ACS-8201 Fixed tests

---------

Co-authored-by: AleksanderSklorz <115619721+AleksanderSklorz@users.noreply.github.com>
Co-authored-by: Aleksander Sklorz <Aleksander.Sklorz@hyland.com>
Co-authored-by: datguychen <adam.swiderski@hyland.com>
2024-09-20 14:47:41 +02:00
Mykyta Maliarchuk
e206727121
[ACS-8747] pass location as a query param (#4124) 2024-09-18 09:12:06 -04:00
Adam Świderski
8bef22b323
[ACS-7466] [E2E] Added e2e tests for search highlighting (#4115) 2024-09-12 16:22:10 +02:00
MichalKinas
796a3c7861
[AAE-22098] Update AlfrescoApiService imports (#4015)
* [AAE-22098] Update AlfrescoApiService imports

* [link-adf:dev-eromano-AAE-12502] Link ADF

* [link-adf:dev-eromano-AAE-12502] Link ADF

* [AAE-22098] Use proper ADF version

* fix tests

* fix tests v2

* fix yet another BC

* Use latest ADF

* use published ADF

---------

Co-authored-by: Bartosz Sekula <Bartosz.Sekula@hyland.com>
2024-09-06 19:31:28 +02:00
Mykyta Maliarchuk
3a2d870db1
[ACS-8726] Use functional route guards (#4096)
* [ACS-8726] Use functional route guards

* [ACS-8726] reduce duplication
2024-09-06 14:32:57 +02:00
MichalKinas
e131fcae66
Make aca-playwright-shared public (#4101) 2024-09-04 19:55:16 +02:00
MichalKinas
9ca398ddcf
Another fixes for aca-playwright-shared (#4100)
* Another fixes for aca-playwright-shared

* Add aca-playwright-shared to the build

* Small fix
2024-09-04 19:39:15 +02:00
MichalKinas
96df46a32a
Make aca-playwright-shared buildable and publishable (#4098)
* Make aca-playwright-shared buildable and publishable

* Small PR workflow fix
2024-09-04 18:24:46 +02:00
Akash Rathod
56c2c55daf
[ACS-8688] export playwright shared lib (#4068)
* [ACS-8688] export playwright shared lib

* [ACS-8688] changes name

* [ACS-8688] changes name

* [ACS-8688] add lint file and fix lint issue

* [ACS-8688] test fix

* added ng package file
2024-09-03 14:16:02 +02:00
Ehsan Rezaei
c9eabaab17
Fixed peerDependency version (#4092) 2024-09-03 11:45:21 +02:00
Mykyta Maliarchuk
14b017358f
[ACS-8677] refresh document list after file version restore (#4063) 2024-08-30 08:29:36 +02:00
MichalKinas
0e42534239
Release 5.0.1 (#4067) 2024-08-29 13:50:07 +02:00
Denys Vuika
e3d889a854
ACS-8658: fix search icon for lock files (#4050)
* fix search icon for lock files

* clean tests

* clean template
2024-08-26 11:23:12 -04:00
Denys Vuika
11f51af54c
ACS-8404: Update application settings service (#3988) 2024-08-22 11:50:00 -04:00