* Fixed configuration issue preventing unit tests for rules getting executed
* Added unit tests for SnackbarEffects to improve coverage
* Added unit tests for RouterEffects to improve coverage
* Excluding store actions, models, selectors and states from getting included in code coverage
* Added type to store
* [MNT-24575] Created folder information dialog
* [MNT-24575] Added unit tests
* [MNT-24575] Integrated API calls into folder information
* [MNT-24575] Added models
* [MNT-24575] Added delay to API retry call. Added unit test for API retry functionality
* [MNT-24575] Folder information is no longer shown in trashcan
* [MNT-24575] Folder information is no longer shown in trashcan
* [MNT-24575] Added return type to function. Consolidated different properties into a single type
* [MNT-24575] Addressed Code review comments
* [MNT-24575] Addressed code review findings. Added error handling and unit tests
* [MNT-24575] Updated template to use adf-icons
* [MNT-24575] Using variables in SCSS
* 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>
* [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>
* [ACS-8325] [Bulk Legal Hold] Create Bulk Actions Dropdown (#3956)
* ACS-8036 create bulk-actions-dropdown
* ACS-8325 update names and add unit tests
* ACS-8325 added icon and unit tests
* ACS-8325 fix translation
* ACS-8325 add and refactor tests in app extension service
* ACS-8325 resolve conversations: remove loadBulkActions, rename bulk schema, add translations
* ACS-8325 update state
* ACS-8325 temporary remove disabled state as it doesn't work after Angular migration
* ACS-8325 add formControl and tests
* ACS-8325 clean code
* ACS-8325 place create component to one place
* ACS-8325 add condition to use title if no description provided and cover with test
* ACS-8325 add tooltip and update Badge interface
* ACS-8325 rename class names and mockItem object
* [ACS-8326] enable running actions from bulk dropdown and resetting selection (#3971)
* ACS-8036 create bulk-actions-dropdown
* ACS-8325 update names and add unit tests
* ACS-8325 fix translation
* ACS-8325 resolve conversations: remove loadBulkActions, rename bulk schema, add translations
* ACS-8325 temporary remove disabled state as it doesn't work after Angular migration
* ACS-8325 add formControl and tests
* ACS-8325 add condition to use title if no description provided and cover with test
* ACS-8325 add tooltip and update Badge interface
* ACS-8326 enable running actions from bulk dropdown and resetting dropdown selection
* ACS-8326 review remarks - use select control, fix naming
* ACS-8326 fix unit test selectors
* ACS-8326 review remarks - change property name to more universal, adjust unit tests
---------
Co-authored-by: Darya Balvanovich <darya.balvanovich@hyland.com>
* [ACS-8424][Bulk Legal Hold] Add Badge for items (#3985)
* [ACS-8424] display badges in search result
* [ACS-8424] display badges in search result
* ACS-8424 create separate badge component, add/move unit tests, undo highlight change failing tests
* ACS-8424 template cleanup
* ACS-8424 template cleanup cleanup
* ACS-8424 revert single deletion in template
* ACS-8424 rename new component, change property order
---------
Co-authored-by: g-jaskowski <grzegorz.jaskowski@hyland.com>
* ACS-8458 refactor styles (#4018)
* [ACS-8489] Legal Holds keyboard accessibility (#4009)
* ACS-8489 handle keyboard accessibility
* ACS-8489 wording fix
* ACS-8489 change function name
* ACS-8489 fix typo
* ACS-8489 review remarks - simplify keyboard event handling, improve unit tests
* ACS-8489 move duplicated code to method
* ACS-8489 change type name to more precise
* [ACS-8036] fix icon visibility in mat-select
* ACS-8036 fix styles and import
* ACS-8036 remove async from test
* ACS-8036 handle event when dropdown closed
* ACS-8036 fix rebase issues
* ACS-8036 fix rebase issues
* ACS-8036 fix rebase
---------
Co-authored-by: Grzegorz Jaśkowski <138671284+g-jaskowski@users.noreply.github.com>
Co-authored-by: tamaragruszka <156320606+tamaragruszka@users.noreply.github.com>
Co-authored-by: g-jaskowski <grzegorz.jaskowski@hyland.com>
Co-authored-by: tamaragruszka <tamara.gruszka@hyland.com>
* ACS-5281 Changed editable state of metadata content based on change of file lock state
* ACS-5281 Updated versions
* ACS-5281 Reverted change
* ACS-5281 Upgrade version
* ACS-5281 Small correction
* ACS-5281 Fixed e2e
* ACS-3757 Return focus to More Actions button after closing modals opened from that button
* ACS-3757 Return focus to specific row from personal files after closing modal opened from context menu from row
* ACS-3757 Fixed issue that sometimes node was undefined
* ACS-3757 Return focus after closing upload new version modal
* ACS-3757 Added restore focus on list of libraries, restoring focus to correct row when multi rows are selected, little refactoring
* ACS-3757 Use runActionById function instead of runAction
* ACS-3757 Fixed unit tests
* ACS-3757 Updated description
* ACS-3757 Adrressing comments for static and for selectors in jsons
* ACS-3757 Remove boolean flag from jsons
* ACS-3757 Added some unit tests
* ACS-3757 Resolved conflicts
* ACS-3757 Created ModalConfiguration interface
* ACS-3757 Increase version of ADF
* ACS-3757 Fix for e2e
* ACS-3757 Fix some more e2e
* ACS-3757 Removed log
* ACS-3640 Increasing time of autoclosing snackbar and adding X icon to close snackbar
* ACS-3640 Fix lint issues
* ACS-3640 Addressing PR comments
* ACS-3640 Fix lint issue
* ACS-3640 Added aria label for action icon
* ACS-3640 Fixed one left file
* ACS-3640 Fixed lint issues
* ACS-3640 Correction for e2e
* ACS-3640 Reverting reverted corrections for e2e
* ACS-3640 Use data automation id
* ACS-3640 Update ADF version
* Revert "[AAE-10766] upgrade to new About component (#2769)"
This reverts commit 5ce4835e4ce413106f5e745f44724893579d2972.
* restore about dialog changes
* latest ADF alpha
* [AAE-6294] The list should be refreshed without allowing a used to select the same folder already deleted
* Changes done as per comment
* resolved build fails
* upgrade to Angular 13
* upgrade datetime picker libs
* upgrade to eslint 13
* fix eslint issues
* downgrade datetime picker
* fix scss builds
* use proper node version on travis
* fix e2e check
* fix test run
* upgrade ngrx to 13
* use latest ADF 5.x
* add missing ban plugin for eslint
* use latest ADF 5.x branch
* use latest ADF 5.x
* use latest ADF
* sync libs with adf and apps
* Updating to the right version of mat-datetime-picker
* Fix Test Suites: Search - AAE-10222
* Satisfy linter
* upgrade to adf 5.0.0-angular.13
* upgrade adf to 5.0.0-angular.13.1
Co-authored-by: Andras Popovics <popovics@ndras.hu>
Co-authored-by: MichalFidor <michal.fidor@hyland.com>
* Conversion to ESlint
* Fixed ESLINT for ACA
* [AAE-6638] - typo in eslint file
* [AAE-6638] - attempt to fix problem on linting
* Check caching to improve lint speed
* Improved eslint for content-app
* Added new cache
* Remove cache file
* Removed eslintcache
* Attempt to make eslint run on travis
* Slow ng lint on travis
* Fixed eslint error
* [AAE-6057] Customize text color in the header
* [AAE-6057] use css vars
* [AAE-6057] added tests
* [AAE-6057] clear code
* [AAE-6057] quick fix
* [AAE-6057] update css so they wark nicly with new --adf-header-text-color