132 Commits

Author SHA1 Message Date
swapnil-verma-gl
ec18f6b9cb
[ACS-4130] Added autocomplete to folder rules 'Has Category' condition (#3464)
* [ACS-4130] Added autocomplete for 'Has Category' option in manage rules

* [ACS-4130] Added loading spinner and 'No options found' template for Has Category rule condition. Options are now fetched as soon as user selected 'Has Category' option

* [ACS-4130] Added code to fetch category name when viewing/editing existing rule with has category option selected

* [ACS-4130] Resolved issues related to editing existing rules with 'Has Category' condition

* [ACS-4130] Added safety checks and minor code refactoring

* [ACS-4130] Added unit tests for new autocomplete functionality

* [ACS-4130] Added feature to auto select first option from autocomplete dropdown when user focuses out of autocomplete input field

* [ACS-4130] Minor code refactoring. Moved constants from global scope to local scope

* [ACS-4130] Moved mock data to conditions.mock.ts. Removed redundant return type

* [ACS-4130] Resolved PR review comments - AutoCompleteOption is now an interface. Changed occurences of autocomplete with auto-complete. Removed/Added types

* [ACS-4130] Resolved PR review comments - AutoCompleteOption is now built using a single common helper method

* [ACS-4130] Added missed types
2023-10-11 18:00:44 +05:30
Eugenio Romano
c7e2912759
[AAE-14484] fix peerdepend (#3471)
* fix peerdepend

* Update package.json
2023-10-10 09:30:58 +02:00
Denys Vuika
18542ebf8b
migrate to nx 16 (#3465)
* migrate to nx 16

* lock file
2023-10-05 12:12:54 -04:00
AleksanderSklorz
4059a3d219
[ACS-5949] library property update and cancel button do not reflect the change in UI (#3461)
* ACS-5949 Disabling Update button when changes are saved, cancel button reverts now proper values

* ACS-5949 Prepared reusable function

* ACS-5949 Prepared reusable function

* ACS-5949 Unsubscribing, disabling update button when cancelled

* ACS-5949 Unit tests

* ACS-5949 Moved mock to beforeEach

* ACS-5949 Renamed function
2023-10-05 03:39:43 -04:00
MichalKinas
6edbb57dc4
[ACS-5601] Add badges to custom name column (#3450)
* [ACS-5601] Add badges to name column component

* [ACS-5601] Add on click handler to column badges

* [ACS-5601] Fix badge hover color

* [ACS-5601] Restore modal configuration, prettier fixes

* [ACS-5601] Add missing tooltip translation

* [ACS-5601] Add process content services to extension service

* [ACS-5601] Add adf dynamic component to custom name column

* [ACS-5601]  Add missing dosc and unit tests

* [ACS-5601] Post rebase package lock update

* [ACS-5601] CR fixes

* [ACS-5601] Unit test fix

* [ACS-5601] CR fix

* [ACS-5601] Fix unit test, add contrast gray to badges

* [ACS-5601] fix fail test and exclude one test

* [ACS-5601] fix fail test and exclude one test

---------

Co-authored-by: akash.rathod@hyland.com <akash.rathod@hyland.com>
2023-10-04 09:12:52 +02:00
Adam Zakrzewski
33c50bdd68
[ACS-5678] create folder from template tests (#3456)
* [ACS-5678] create folder from template tests

* taking out only flag

* fixes for linter, import, method name and locator

* fix import and utils strings
2023-10-02 11:03:29 -04:00
Alfresco Build
0774281244
GH Auto: Upstream dependencies ADF:6.4.0-6341205853 JS-API: using Tag:6.4.0-6341205853 (#3452)
* [ci:force][auto-commit] Update dependencies ADF:6.4.0-6341205853  JS:

* Corrected versions

---------

Co-authored-by: DenysVuika <DenysVuika@users.noreply.github.com>
Co-authored-by: Aleksander Sklorz <Aleksander.Sklorz@hyland.com>
2023-09-29 00:08:39 +02:00
Alfresco Build
f28bb3fe40
GH Auto: Upstream dependencies ADF:6.4.0-6336818839 JS-API:7.1.0-1349 using Tag:6.4.0-6336818839 (#3441)
* [ci:force][auto-commit] Update dependencies ADF:6.4.0-6336818839  JS:7.1.0-1349

* Use latest JS-API and ADF

---------

Co-authored-by: MichalKinas <MichalKinas@users.noreply.github.com>
Co-authored-by: MichalKinas <michal.kinas@hyland.com>
2023-09-28 13:07:24 +02:00
pkunduGL
c5f1e22740
[ACS-5539] Icon and pressed state of buttons updated as per the figma (#3449)
* Updated the icon as per the figma

* pressed state for buttons updated

* review comments resolved

* Resolved the review comments
2023-09-27 09:22:16 -04:00
pkunduGL
fcc289ffa3
[ACS-5576] Icon updated as per the figma (#3432)
* icon classes updated as per the figma

* removed the unsed class

* review comments resolved

* removed unnecessary css classes

* updated icon name

* updated the icon class
2023-09-20 14:59:09 -04:00
Grzegorz Jaśkowski
d1ff001040
[ACS-5686] add reselect to edit offline, shorten template (#3433)
* ACS-5686 add reselect to edit offline, shorten template

* ACS-5686 merge icon condition, use optional chain expression
2023-09-19 10:14:58 +01:00
Denys Vuika
b1b4dd05b6
Release 4.2.0 (#3440)
* bump app.config

* bump ADF versions

* release reports

* update compatibility matrices
2023-09-18 19:28:06 +01:00
MichalKinas
b086093c2f
Use latest JS-API and ADF (#3423)
* Update JS-API and ADF versions to latest

* Fix missing types

* Fix incorrect types

* Use correct method to get membership requests
2023-09-08 04:10:00 -04:00
Denys Vuika
9106608398
ESLint fixes and unified lint targets (#3424)
* optimise lint targets

* fix eslint config files

* fix app coverage settings

* tune eslint to warn about optional chains
2023-09-08 09:00:00 +01:00
DominikIwanek
46ea85436b
[ACS-5932] - Sidenav not able to expand when search page is closed (#3412) 2023-09-05 16:45:49 +02:00
Mykyta Maliarchuk
deba28c8e0
[ACS-5563] Fixed incorrect initial loading of security marks (#3405)
* [ACS-5563] fixed incorrect initial loading of security marks

* [ACS-5563] added DoneFn
2023-09-01 15:44:24 +01:00
DominikIwanek
303a86268b
[ACS-5284] - updating a folder rule options has no effect when multiple rules exist and clicking between them (#3409)
* [ACS-5284] - updating a folder rule options has no effect when multiple rules exist and clicking between them
2023-08-30 12:32:18 +02:00
DominikIwanek
cc484d792e
[ACS-5842] - viewer button not working in file details view (#3389)
* [ACS-5842] - viewer details disappear on button click

* Change e2e and unit tests

* Change e2e and unit tests

* Change e2e and unit tests

* Change e2e and unit tests

* Change e2e and unit tests
2023-08-29 14:10:31 +02:00
AleksanderSklorz
aec6852672
[ACS-5281] Changed editable state of metadata content based on change o… (#3400)
* 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
2023-08-27 10:00:35 +02:00
Aayush Rohila
bc9c58176f
[ACS-5654] Retain filter header in document list. (#3381)
* [ACS-5654] Retain filter header in document list.

* [ACS-5654 Unit tests]

* [ACS-5654] Unit test update
2023-08-22 12:28:40 +05:30
Grzegorz Jaśkowski
9d1a6ae57b
ACS-5680 fix library properties to show labels in edit mode (#3393) 2023-08-21 14:34:46 +01:00
DominikIwanek
52cc1d174e
[ACS-5841] - viewer details disappear on button click (#3388) 2023-08-17 12:11:42 +02:00
Grzegorz Jaśkowski
c73ffd8901
[ADF-5557] delete i18n resources moved to ADF (#3376)
* ADF-5557 delete i18n resources moved to ADF

* ADF-5557 update ADF versioning from ADF counterpart PR

* ADF-5557 fix remaining problem after rebase
2023-08-14 19:44:30 +01:00
Denys Vuika
27eddf3596
Code cleanup and optimisations (#3383)
* cleanup unused css

* remove unused store/reducer blocks

* fix typo in toolbar ("tool-bar")

* toolbar action: break dependency on adf-core

* unified toolbar component

* break dependency on adf toolbar module

* update e2e

* update e2e

* update e2e

* update e2e

* update e2e

* fix search results toolbar spacing

* cleanup unused app state

* cleanup unused code

* fix toolbar divider color

* fix missing buttons in the info drawer

* fix css nesting

* fix search results css
2023-08-14 19:43:33 +01:00
DominikIwanek
3f3b35d16c
[ACS-5692] - fix focus for sidenav options (#3379) 2023-08-10 16:38:48 +02:00
DominikIwanek
b790d3e81d
[AC-4313] - Add missing sorting in list component on init (#3377) 2023-08-09 17:06:22 +01:00
MichalKinas
26cd95ccbd
ADF and JS-API version update (#3371)
* ADF and JS-API version update

* Update Creator and Modifier E2Es

* ACS-5632 Fixed rest e2e

* ACS-5632 Added missing spaces

---------

Co-authored-by: Aleksander Sklorz <Aleksander.Sklorz@hyland.com>
2023-07-28 12:01:05 +02:00
swapnil-verma-gl
174d7b61ee
[ACS-4985] Added configuration to merge created and modified date filters into a single date filter (#3324)
* ACS-4985 Prepared configuration for created and modified dates in search

* [ACS-4985] Updated search filter configuration for ACA to include the new SearchDateRangeAdvancedTabbed component

* [ACS-4985] Added date-fns adapter to alfresco content app

* [ACS-4985] Added failing e2e test cases to protractor.excludes.json

* [ACS-4985] Removed unused Created Date/Modified Date entries from i18n files after rebase

* [ACS-4985] Removed .env-original (file not required)

* [ACS-4985] Updated protractor.excludes.json

* [ACS-4794][link-adf:feature/dev-mkinas-es-migration] Fix missed test case

* Revert "[ACS-4794][link-adf:feature/dev-mkinas-es-migration] Fix missed test case"

This reverts commit d1cd0ee3de191cecddc1ccde1f0dae8052e33edf.

* [ACS-4985] Empty commit to trigger finalise job

* Revert "[ACS-4794] Fix missed test case"

This reverts commit d1cd0ee3de191cecddc1ccde1f0dae8052e33edf.

---------

Co-authored-by: Aleksander Sklorz <Aleksander.Sklorz@hyland.com>
2023-07-28 13:11:11 +05:30
Mykyta Maliarchuk
38d68193bd
[ACS-5564] Bugfix: Expand navigation menu icon is visible even when navigation menu is expanded (#3370)
* [ACS-5564] bug fixed

* [ACS-5564] fixed test

* [ACS-5564] simplify provider
2023-07-27 11:12:14 +02:00
AleksanderSklorz
5508ff1362
[ACA-4712] disallow using important for styles (#3368)
* ACA-4712 Added rule to prevent using important for styles

* ACA-4712 Removed important from some global styles and from manage rule component

* ACA-4712 Removed important from rest global and theme styles

* ACA-4712 Removed usages of important from styles for components
2023-07-26 09:43:14 +02:00
Grzegorz Jaśkowski
4019508f0f
[ACS-5638] hide checkboxes in file lists (#3357)
* ACS-5638 hide checkboxes in file lists

* ACS-5838 change C279270 test not to use multiselect related function
2023-07-26 09:15:06 +02:00
MichalKinas
15048b4015
[ACS-5179] Search facet tabbed component styles (#3362) 2023-07-24 19:14:45 +01:00
Denys Vuika
9204194e53
[ACS-5675] replace breadcrumbs with H1 tags (#3358)
* rename tabs css class to match the ACA app

* fix incorrect tooltip for close button

* fix close button layout and a11y

* lazy loading for details component

* replace breadcrumbs with H1 tag

* replace breadcrumbs with H1 tag

* cleanup unused playwright pages

* remove breadcrumbs from e2e

* remove line height
2023-07-21 10:42:23 +01:00
Mykyta Maliarchuk
e2257bad23
[ACS-5266] Enabled new component for Categories filter (#3344)
* [ACS-5266] enabled new component for categories filter

* [ACS-5266] linting
2023-07-21 09:24:58 +02:00
AleksanderSklorz
d3be553fd6
[ACS-5183] properties facet file size and file type (#3347)
* ACS-5183 Started updating configuration for file type and size

* ACS-5183 Corrected file extensions

* ACS-5183 Added more file extensions

* ACS-5183 Corrected configuration

* ACS-5183 Fix e2e

* ACS-5183 Added translation key

* ACS-5183 Changed jira for excluded e2es

* ACS-5183 Corrected import

* ACS-5183 Added license header
2023-07-20 08:38:34 +02:00
Denys Vuika
f9f5834fb7
[ACS-5634] remove unused i18n resources (#3348)
* remove unused "settings" section

* remove unused "avatar" section

* remove unused "toolbar" section

* remove unused i18n section

* remove unused i18n section
2023-07-19 11:03:39 +01:00
Denys Vuika
96cc0111d6
[ACS-5646] fix metadata layout for larger areas (#3352) 2023-07-19 05:03:00 -04:00
Denys Vuika
a6ab4a34b1
[ACS-5631] Improved page layout and provide documentation (#3346)
* page layout supports CSS selectors

* migrate to using CSS selectors for page layout

* add docs
2023-07-18 14:13:33 +01:00
Adam Zakrzewski
4ded3b200d
[ACS-5511] create library playwright tests (#3318)
* [ACS-511]-adding-library-tests

* updating tests and adding before and after all

* spinner timeouts update

* updating import statement

* update error locator

* adding random method in general utils

* [ACA-4715] break dependency on envsubst (#3325)

* remove BPM host

* break dependency on envsubst

* remove prebuild script

* cleanup package.json

* [ACS-511]-adding-library-tests

* adding lost MyLibrariesPage import

* rebase page initialization merge

* [ACS-511]-adding-library-tests

* comma deleted

* fix readability and indentation

* adding id to info drawer

* adding index and updating import

* updating after wrong rebase

* after rebase

* updating tests and adding before and after all

* updating import statement

* update error locator

* adding random method in general utils

* [ACS-511]-adding-library-tests

* comma deleted

* fix readability and indentation

* adding id to info drawer

* adding index and updating import

* next after rebase

* update delete in folder tests

* providing string as parameter

* after rebase

* updating tests and adding before and after all

* adding random method in general utils

* [ACS-511]-adding-library-tests

* comma deleted

* [ACS-511]-adding-library-tests

* adding index and updating import

* providing string as parameter

* delete protractor create-library tests

* update for calls in expect method

* bump to 4.2.0 (#3334)

* adding random method in general utils

* adding index and updating import

* providing string as parameter

* after rebase

* providing string as parameter

* update for tests C280026 and C280027

* raising time for visibility check

* quotes change in error strings

* adding waitFor method

* raising timeout in isErrorMessageDisplayed method

* updating mat-error locator

* adding press tab after fill

* update general-utils to utils for random

* updating label typo

---------

Co-authored-by: Denys Vuika <denys.vuika@gmail.com>
2023-07-18 09:28:54 +02:00
Denys Vuika
9cf317dfbc
[ACS-5627] migrate to standalone components (#3339)
* standalone preview component

* remove deprecated routes

* remove preview routes

* standalone viewer

* toggle favorite

* edit offline

* fix tests

* toggle info drawer

* toggle join library

* toggle favorite library

* view node

* convert app toolbar module to standalone directives

* convert sidenav module to standalone

* convert search module to standalone

* shared link view

* shared files

* reduce module files

* files component

* files component cleanup

* cleanup directives module

* favorite libraries

* favorites component

* recent files component

* libraries component

* cleanup

* remove material module barrel

* open in app component

* cleanup modules

* migrate toolbar module to standalone

* split page layout module

* remove incorrect import

* remove incorrect import

* rule list

* folder rules module

* folder rules module

* backwards compatibility for ADW

* reduce core module usage
2023-07-17 09:52:29 +01:00
Denys Vuika
48a502b805
[ACA-4688] fix about plugins section (#3337) 2023-07-14 13:43:27 +01:00
Denys Vuika
1963747590
[ACS-5279] improved plugin handling (#3332) 2023-07-12 08:27:28 +01:00
MichalKinas
4ab3196e68
JS-API version fix in ACA libs (#3314) 2023-07-06 10:05:35 +02:00
Alfresco Build
8cc4f08f87
GH Auto: Upstream dependencies ADF:6.3.0-5468717985 JS-API:6.3.0-1025 using Tag:6.3.0-5468717985 (#3313)
* [ci:force][auto-commit] Update dependencies ADF:6.3.0-5468717985  JS:6.3.0-1025

* ADF version update

---------

Co-authored-by: MichalKinas <MichalKinas@users.noreply.github.com>
Co-authored-by: MichalKinas <michal.kinas@hyland.com>
2023-07-06 07:28:20 +02:00
Denys Vuika
cb0e9c9258 update lib dependencies 2023-07-05 20:14:09 +01:00
Aayush Rohila
4aee82c867
[ACS-5521] Create to primary and upload to secondary button color change in ACA (#3302) 2023-06-28 11:01:09 +01:00
Denys Vuika
caff4a3800
[ACS-5523] move viewer and preview to aca-content (#3303)
* move aca-viewer to secondary entry

* move aca-preview to aca-content
2023-06-28 09:01:21 +01:00
Denys Vuika
29c0083e36
Release-4.1.0 (#3301)
* update app config

* update adf libs

* bump app version

* bump lib versions

* release reports

* update readme files
2023-06-26 20:29:25 +01:00
AleksanderSklorz
907529d0a8
ACS-5374 Fixed lost styles for library details after refreshing page (#3296) 2023-06-23 05:32:20 -04:00
Denys Vuika
d54f97995b
use latest ADF (#3292)
* use latest ADF

* exclude failing test
2023-06-20 21:05:25 +01:00