Commit Graph

486 Commits

Author SHA1 Message Date
Kritagya Jaiswal
d0f9aac359 [ACS-6126] Fixed accessibility issue (#3486) 2023-11-07 07:32:45 -05:00
MichalKinas
69c00fc403 Sonarcloud issues fixes (#3499)
* Sonarcloud issues fixes

* Code smell fixes

* Refactoring to remove new code duplications

* Sonarcloud code smell fixes part I

* Sonarcloud code smell fixes part II

* Missing code smell fix

* Add new ESLint rules to cover fixed SonarCloud issues

* Add missing command

* Add missing is existing check
2023-11-03 06:43:06 -04:00
MichalKinas
b23bd3e25b Release 4.3.0 (#3503)
* Release 4.3.0

* Correct typing for unit test
2023-10-31 15:05:18 +01:00
DominikIwanek
835ddc3281 [ACS-5566] - add configurable columns to document list (#3473) 2023-10-25 16:25:54 +02:00
Mykyta Maliarchuk
02f581e4c2 [ACS-5752] fixed incorrect info drawer properties update (#3492) 2023-10-25 16:13:38 +02:00
MichalKinas
b25a3ad9d8 Use latest JS-API and ADF (#3494)
* Use latest JS-API and ADF

* Unit test fix
2023-10-25 14:48:12 +02:00
AleksanderSklorz
7ae335c3d2 [ACS-5647] rework template of library metadata form component (#3487)
* ACS-5647 Removed template for view mode and used template for edit mode instead

* ACS-5647 Fixed auto focus for name field

* ACS-5647 Reverted data automation id

* ACS-5647 Corrected unit tests

* e2e fix for library details

---------

Co-authored-by: akash.rathod@hyland.com <akash.rathod@hyland.com>
2023-10-24 22:29:59 +02:00
Mykyta Maliarchuk
1c222bdd36 [ACS-6106] Breadcrumb navigation fix on Details tab (#3482) 2023-10-19 09:26:41 +02:00
AleksanderSklorz
686e6c9dbb [ACS-6085] user is not prevented from renaming library to name containing only spaces (#3476)
* ACS-6085 Prevent user from renaming library to name containing only spaces

* ACS-6085 Trimmed value

* ACS-6085 Unit tests for titleErrorTranslationKey and update function

* ACS-6085 Unit tests

* ACS-6085 Removed redundant code

* ACS-6085 Set type for validateEmptyName function

* ACS-6085 Rename error translation key for required error

* ACS-6085 Empty commit
2023-10-16 23:29:19 +02:00
MichalKinas
928c6b5731 [ACS-5611] Add custom metadata side panels as new extension feature (#3466)
* [ACS-5611] Add custom metadata panels as new extensions feature

* [ACS-5611] Add custom metadata panels unit tests

* [ACS-5611] Minor fixes

* [ACS-5611] Text ellipsis for name column to always display badges

* [ACS-5611] Use latest ADF and JS-API

* [ACS-5611] Unit test fix

* [ACS-5611] Click action only if exists
2023-10-16 10:43:04 +02:00
AleksanderSklorz
bc98af0968 [ACS-6078] Fixed layout for create from template component (#3467)
* ACS-6078 Fixed layout for create from template component

* ACS-6078 Added selector

* ACS-6078 Custom class instead of mat class

* ACS-6078 Used component selector

* ACS-6078 Removed unused styles

* ACS-6078 Fixed e2e

* ACS-6078 Empty commit
2023-10-12 08:19:22 +02:00
pkunduGL
102b62207f [APPS-2170] Replace moment.js to date-fns in file-folder-properties.test.ts (#3463) 2023-10-11 12:04:53 -04:00
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
Akash Rathod
f2d09e8b1a [ACS-6066] viewer special permissions playwright (#3453)
* [ACS-5923] sidenav and singleclick test

* [ACS-5923] remove protractor test and fix flaky test

* [ACS-5923] test fix

* [ACS-5639] fix exclude test  in viewer

* [ACS-5923] remove exclude test and fix test

* [ACS-6066] viewer special permissions playwright test

* [ACS-6066] viewer protractor test remove

* [ACS-6066] viewer failed test fix

* [ACS-5923] review changes added

* [ACS-5923] fix error in script
2023-10-05 12:19:57 +02: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
Akash Rathod
be761bae7d [ACS-5639] fix viewer exclude test from protractor and playwright (#3443)
* [ACS-5923] sidenav and singleclick test

* remove protractor test and fix flaky test

* test fix

* [ACS-5639] fix exclude test  in viewer

* remove exclude test and fix test
2023-09-25 17:39:16 +01:00
Akash Rathod
97f01386f8 [ACS-5923] playwright sidenav and single click test (#3442)
* [ACS-5923] sidenav and singleclick test

* remove protractor test and fix flaky test

* test fix

* Update error message for expect
2023-09-25 12:00:22 +01:00
DominikIwanek
2157e8e031 [ACS-5988] - Details tab not opening in custom file preview (#3429) 2023-09-21 09:16:34 +01: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
Aayush Rohila
c6e54e20d0 [APPS-2170] Replace moment.js to date-fns in file-folder-properties.test.ts (#3417)
* [APPS-2170] replace moment.js to date-fns in file-folder-preoperties.ts

* [APPS-2170] date change

* [APPS-2170] Commit to run e2e

* [APPS-2170] e2e fix
2023-09-20 04:43:11 -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
Adam Zakrzewski
8f0e4dfc87 [ACS-5992] refactor api wrappers (#3425)
* [ACS-5992] refactor api wrappers

* code review fixes

* review siteVisibility fix

* deleting configs from index

* updating breadcrumb preconditions
2023-09-11 04:55:44 -04: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
Akash Rathod
e2ddd81cbc [ACS-5923] navigation breadcrumb playwright test (#3410)
* ACS-5870-playwright test for application

* fix for failing test

* fix for failing test

* fix for login secario test

* fix for login test with newuser login

* [ACS-5923] playwright breadcrumb test

* Update breadcrumb.spec.ts

* test fix

* test fix admin

* test fix admin

* test fix user folder

* test fix user test remove
2023-09-01 15:36:13 +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
Akash Rathod
ad36ed891b ACS-5870-playwright test for application (#3398)
* ACS-5870-playwright test for application

* fix for failing test

* fix for failing test

* fix for login secario test

* fix for login test with newuser login

* Update test username general.spec.ts
2023-08-28 11:26:13 -04: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
Akash Rathod
f8a30f3706 [ACS-5866] authentication playwright tests (#3391)
* viewer action files e2e migration

* viewer action files e2e remove comment

* review code fix

* [ci:force]

* [ACS-5650]viewer test with new user

* remove commented code

* login and logout playwright test

* Update error message login.spec.ts
2023-08-18 12:49:46 -04:00
Akash Rathod
9f1b8a0ac6 [ACS-5650] viewer user actions test (#3373)
* viewer action files e2e migration

* viewer action files e2e remove comment

* review code fix

* [ci:force]

* [ACS-5650]viewer test with new user

* remove commented code
2023-08-18 09:09:04 -04:00
Mykyta Maliarchuk
ff8a9844d8 [ACS-5849] [ACS-5848] Incomplete string escaping fix (#3390)
* [ACS-5849] Incomplete string escaping fix

* [ACS-5849] Incomplete string escaping fix

* [ACS-5848] Incomplete string escaping fix
2023-08-18 09:07:14 -04: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
Akash Rathod
a1f0f0d38e [ACS-5786] info drawer comments test cleanup (#3378)
* cleamup changes

* remove cleanup tests
2023-08-09 09:13:31 -04:00