157 Commits

Author SHA1 Message Date
Denys Vuika
1d6c431e43
ACS-8320, ACS-8321: move content/process user info to demo shell (#9918) 2024-07-09 07:59:20 -04:00
Denys Vuika
f201efd56a
[ACS-5761] Demo Shell Cleanup (part 2) (#8807)
cleanup demo shell
2023-08-10 22:18:21 +01:00
Denys Vuika
4f2b3bce3c
[ACS-5761] Demo Shell pages cleanup (#8802)
remove the content that is not covered by e2e testing, preparation steps for the demo shell decommissioning
2023-08-08 14:09:41 +01:00
Denys Vuika
9497abcb43
[ACS-5743] Cleanup Content tests (Demo Shell) (#8799)
* remove unused demo shell api

* remove recent files and cleanup unused api

* cleanup upload dialog page

* [ci:force] dummy commit

* [ci:force] cleanup the toolbar and tooltips

* [ci:force] remove dead code

* [ci:force] remove logger and custom action

* [ci:force] remove custom permission e2e test as already tested by unit

* [ci:force] remove "Start process" from the Content demo as not related to document list

* [ci:force] remove useless divs for selection

* [ci:force] dummy change to trigger CI/CD

* Revert "[ci:force] remove useless divs for selection"

This reverts commit fb3ae0b4396f44fc5aa055fcc5edf2df3e870fee.

* [ci:force] remove e2e for artificial scenario

* [ci:force] cleanup unused navigation bar protractor api

* [ci:force] cleanup unused datatable protractor api

* [ci:force] cleanup unused login protractor api

* [ci:force] fix process cloud demo page selector
2023-08-01 18:48:19 +01:00
AleksanderSklorz
1078e27cba
[ACS-5199] upgrade 3rd party depedencies to support angular 14 and later (#8669)
* ACS-5199 Upgraded ng2-charts and chart.js

* ACS-5199 Removed reports tab from demoshell

* ACS-5199 Versions correction after upgrading charts

* ACS-5199 Replaced ngx-monaco-editor with ngx-monaco-editor-v2
2023-06-27 08:09:59 +02:00
Gloria Camino
8ccd8ea56c
LOC-436 - Additional UI strings to be updated after last committ. Also fixes to issues in PL and ES (#8510) 2023-04-25 06:09:10 -04:00
Gloria Camino
419453da78
LOC-411 - PRODDEL-6965 - Updated UI files in 16 languages for ADF 6.0 release (#8490) 2023-04-19 11:58:40 +02:00
Gloria Camino
ad150bf610
LOC-411 - Also related to PRODDEL-6965 - updated strings for ADF 6.0 in 16 languages (#8339) 2023-03-06 10:21:52 +00:00
Denys Vuika
280684c3ab
[AAE-10774] move host settings to demo shell (#8051)
* move host settings to demo shell

* [ci:force] empty commit
2022-12-16 08:46:23 +00:00
Gloria Camino
f11bf262f8
LOC-402 - Updated localized UI in 16 languages for ADF 6.0 (#8023) 2022-12-01 16:23:01 +00:00
MichalKinas
b12d1b4a44
[ACS-3600] Add missing label translations (#7890) 2022-10-19 11:52:02 +02:00
Gloria Camino
fff475e592
LOC-386 - Updated UI in 16 languages for ADF 5.0 release (#7804) 2022-09-12 17:01:22 +02:00
Amedeo Lepore
d8f1eda132
[AAE-6919] add a display text form control (#7718)
* [AAE-9373] Create adf-rich-text-editor into core library, install editorjs and import it into the component, add a basic editorjs configuration

* [AAE-9374] create a rich text editor demo page

* [AAE-9376] Install header to provide headings blocks

* [AAE-9376] Install editorjs List plugin to add ordered and unordered list

* [AAE-9376] Install text color plugin to change text color and highlight text

* [AAE-9376] Install paragraph plugin to set text alignment to right, left, center and justify

* [AAE-9376] Install font size plugin to increase/decrease font size

* [AAE-9376] Install @editorjs/underline plugin to underline text

* [AAE-9376] Install @editorjs/inline-code to marking code-fragments

* [AAE-9376] Set shortcut to underline text

* [AAE-9376] Install @editorjs/code to add code examples

* [AAE-9376] Enable custom picker to color text changer, add colors codes

* [AAE-9376] Add input to fill rich text editor data

* [AAE-9376] Demo rich text editor, add sample data to display editor content

* [AAE-9376] Demo rich text editor, add sample data to display editor content

* [AAE-9376] Install @editorjs/marker plugin to highlight the text, because color plugin doesn't save marker style

* [AAE-9373] Send editor text output data onReady and onChange

* [AAE-9374] Update editor demo page to show the output on the right side of the page

* [AAE-9373] Allow to enable editorjs readOnly mode

* [AAE-9373] Return rich text editor save data as promise

* [AAE-9480] Add new display-rich-text widget to allow the user add Rich Text into a form

* [AAE-9371] Add readonly class if readOnly property is true to remove the editor 300px padding bottom in readonly mode, set a dynamic id to editorjs

* [AAE-9371] Destroy editorInstance on component destroy to FIX an error faced when there are multiple editorjs instance in the same page --> Uncaught TypeError: Cannot read property 'updateCurrentInput' of undefined

* [AAE-9480] Install editorjs-html utility to parse editorjs clean data to HTML

* [AAE-9480] parse editorjs data to HTML to avoid to create a new EditorJS instance for every single widget and improve performance

* [AAE-9480] Set pre styles to show show Code block styles correctly

* [AAE-9480] Remove space between rules

* [AAE-9480] Set editorjs and plugins fixed versions

* [AAE-9480] Removed unused editorjs dependency

* [AAE-9371] Set is ready property when editor instance is ready, check if is ready to destroy the instance on component destroy

* [AAE-9480] Add parse editorjs data to html Test

* [AAE-9371] Send rich-text-editor component data only if readOnly mode is false

* [AAE-9480] Test if display-rich-text widget is resolved

* [AAE-9480] Rename DisplayRichTextComponent into DisplayRichTextWidgetComponent to be compliant with other widget component names

* [AAE-9480] update Readme files with DisplayRichTextWidgetComponent

* [AAE-9371] Update header text

* [AAE-9371] Add Rich text editor component usage documentation

* [AAE-9480] Add padding to the widget container

* [AAE-9371] Remove plugin that align pragraph text since editorjs-html parser doesn't handle paragraph alignment

* [AAE-9371] Set editor autofocus to true

* [AAE-9480] Add a display-rich-text widget example to demo cloud form

* [AAE-9371] Fix lint issue

* [AAE-9371] Remove duplicated import to fix import module issue in a lib build job
2022-07-26 12:36:08 +02:00
Maurizio Vitale
e27833d770
[AAE-9019] - People/Group cloud with HxP (#7658)
* Cover the use cases by mocking them

* Replace the mock with real stream and remove useless code

* Provide new service to fetch groups

* Fix group tests

* Use the interface and token injection

* [AAE-8870] add unit test and mock for new service

* Improve roles condifion

* initialize the stream as part of NgOnInit to be sure it relies on the correct FormControl instance(input)

* Rollback tmp change for roles

* [AAE-8641] people abstraction mock

* [AAE-8641] revert angular.json changes

* [AAE-8641] few conditions and code improvements

* [AAE-8641] revert change input controls name

* [AAE-8641] initialize the stream as part of ngOnInit

* [AAE-8641] people abstraction improvements

* [AAE-8870] cherry pick people abstraction

* [AAE-8641] fix people-group e2es

* fix lint

* remove hardcoded identityHost

* Use the identityhost api in case of cloud

* Solve issue with returnType array string

* Rebase and use GroupModel from cloud

* Rebase and use GroupModel from cloud

* Use the bpmHost instead of identityFor

* Add identity ingress for user access service

* Rename test

* Fix linting issues

* Fix playwright storybook e2e for people and group

* Trigger travis

* Fix people group e2e

* improved formatting

* Remove not needed travis var override

* Remove unused import after rebase

* Make roles in filter optional + remove comments

Co-authored-by: Tomasz <tomasz.gnyp@hyland.com>
Co-authored-by: arditdomi <ardit.domi@hyland.com>
2022-06-28 16:21:59 +01:00
Bartosz Sekuła
d26204cd9b
[AAE-7819] Fix for custom header (#7585) 2022-04-20 16:44:37 +02:00
Gloria Camino
4de725e559
LOC-350 - fix All UI files localized in 16 languages for ADF 4.8 release (#7459) 2022-01-24 10:56:24 +00:00
Eugenio Romano
c8688bf0bf
[ACA-4382 ] About Page refactoring to use it across all the platform (#7365)
* about page refactor for global usage

* Development About

* add storybook

* fix build

* fix

* fix

* fix imports

* fix

* fix lint

* fix

* fix

* fix

* fix
2021-11-23 10:30:10 +00:00
Gloria Camino
9feeca47f5
LOC-342 - PRODDEL-5341 - Updated UI strings in 16 languages (#7349) 2021-11-05 11:09:28 +00:00
Bartosz Sekuła
b3140b626c
[AAE-6057] Customize text color in the header (#7325)
* [AAE-6057] Customize text color in the header

* [AAE-6057] Updates documents

* [AAE-6057] Use css variables to update header colors

* Revert "[AAE-6057] Updates documents"

This reverts commit 1915535c01b77c58d9a6d87bb242e04715bcbc6f.

* [AAE-6057] Fix for css name change

* [AAE-6057] Removing has-mat-color

* [AAE-6057] Removing redundant tests
2021-10-29 08:49:05 +02:00
Gloria Camino
93a31f6306
LOC-314 -Updated UI files in 16 languages for ADF 4.5 release (#7141) 2021-07-05 12:57:30 +02:00
Dharan
26d180e661
[ACA-4486] support search widget chips layout (#7122)
* [ACA-4486] support search widget chips layout

* * revert to old config

* * resolved rebase conflicts

* [ci:force] force e2e

* [ci:force] docs update and remove directive added

* [ci:force] config updated

* [ci:force] add missing app config schema to prod build
2021-06-25 10:54:12 +02:00
Dharan
ba03c60adb
[ADF-5417] Support multiple search configuration in app config json (#7096)
* [ACS-1642] Support multiple search configuration in app config json

* [ci:force] unit test added

* adf component added

* [ci:force] check compatibility

* [ci:force] * run all e2e

* * revert initvalue

* [ci:force] revert app config

* [ci:force] docs update
2021-06-15 14:52:46 +02:00
Gloria Camino
2335143546
LOC-300 Second commit of updated UI files in 16 languages (#7036) 2021-05-17 16:44:16 +01:00
Gloria Camino
e74705d66d
LOC-300 Updated UI files in 16 languages (#7014) 2021-05-11 15:28:59 +01:00
Gloria Camino
9301947c63
[MNT-22236] UI strings fully updated in 16 languages (#6856)
* [ACA-4053] Changed the APP_VERSION value

* FIX for MNT-22236 - All updated UI files in 16 languages as per Sushmitha and Denys requests

Co-authored-by: Sushmitha100796 <sushmitha.v@muraai.com>
2021-03-25 15:15:36 +00:00
Gloria Camino
099ba21cea
LOC-285 Localised UI for ADF 4.3 in 16 languages plus amends to typo and 2 string changes requested by @Denys Vuika (#6765) 2021-03-03 10:18:57 +00:00
davidcanonieto
e96491fe25
[ACA-4299] Add e2e tests for task counters and notifications (#6726)
* [ACA-4299] Add ete tests for task counters and notifications

* Fix unit test

* Fix update for indirect counter changes
2021-02-26 08:57:27 +01:00
Vito
e62c752f1f
[ADF-5305] - Added aspect list component (#6549)
* [ADF-5305] - Creation of aspect list and aspect list dialog components

* [ADF-5305] - unit test for aspect list

* [ADF-5305] - added filtering for aspects

* [ADF-5305] - enabling tests

* [ADF-5305] - added filtering and unit test

* [ADF-5305] - added context action to demo shell

* [ADF-5305] - added button on metadata card for opening aspects

* [ADF-5305] - fixed unit test for filtering aspects

* [ADF-5305] - added documentation

* [ADF-5305] - fixed lint

* [ADF-5305] - Updated the js-api calls

* [ADF-5305] - Removed circle dependency

* [ADF-5305] - Simplified code

* [ADF-5305] - revert changes on package.json

* [ADF-5305] - removed extra cspell word

* [ADF-5305] - added filtering on aspect list service

* [ADF-5305] - fix unit test for aspect service

* [ADF-5305] - reverted changes to package-loc

* [ADF-5305] - removed unused changes

* [ADF-5305] - attempt to fix PR #§

* [ADF-5305] - attempt to fix PR #2

* [ADF-5305] - attempt to fix PR #3

* [ADF-5305] - attempt to fix PR #4

* [ADF-5305] - attempt to fix PR #5

Co-authored-by: Vito Albano <vitoalbano@vitoalbano-mbp-0120.local>
2021-02-17 11:13:35 +00:00
davidcanonieto
cf0c95b3d1
[ACA-4259] Task filter counter notifications (#6607)
* [ACA-4259] Task Filter Counter Notifications

* Improve Apollo connection for multiple apps

* Improve Notification Cloud Service

* Rebase branch

* Rebase branch

* Add peer dependencies

* Rebase

* Remove apollo-angular-link-http

* Fix linting

* Rebase branch

* Fix package lock

* Push package lock
2021-02-16 14:27:38 +00:00
Denys Vuika
19748c3aea
Clean-up demo shell Error component (#6403)
* cleanup error component and fix i18n

* remove fake component
2020-12-02 00:00:28 +00:00
Gloria Camino
fe7ad99aa9
LOC-268 - Fixed. All localised UI files updated in 16 languages (#6383) 2020-11-27 11:27:15 +00:00
Gloria Camino
74dfe4ef49
LOC-258_Localised UI files for ADF 4.1 in 16 languages (#6191) 2020-09-30 14:12:11 +01:00
davidcanonieto
e497b31e3e
[AAE-3469] New Service Task Cloud Component (#6161)
* [AAE-3469] New Service Task Lisst Component

* Fix unit tests

* Add documentation

* Add public methods to Data Table Schema

* [AAE-3469] New Service Task Cloud Component

* Fix comments

* Fix comments

* Fix unit tests
2020-09-28 09:47:18 +01:00
davidcanonieto
a888689caa
Revert "[AAE-3469] New Service Task List in Task List Cloud Component (#6131)" (#6154)
This reverts commit 472e112b71ab928c454818c706ccc2c6debc91c4.
2020-09-23 10:48:52 +02:00
davidcanonieto
472e112b71
[AAE-3469] New Service Task List in Task List Cloud Component (#6131)
* [AAE-3469] New Service Task Lisst Component

* Fix unit tests

* Add documentation

* Add public methods to Data Table Schema
2020-09-22 20:41:53 +01:00
davidcanonieto
0e8b28dc49
[ACA-3542] Fix Filter sorting initialization (#6018) 2020-08-17 15:02:47 +01:00
Gloria Broadbent
edd172dc9b
LOC-244 - All localised files in 16 languages for ADF 4.0 release (#5980) 2020-08-12 17:17:55 +01:00
Gloria Broadbent
c0d1ef2216
ALL 16 LANGUAGES: Fix for LOC-231 - updated localised UI files for ADF 3.9 (#5811) 2020-06-24 14:06:15 +01:00
Vito
29d953e2d1
ACA-3426 - Search Headers for Document List (#5800)
* [ACA-3426] Move filter-menu inside search and renamed as search-header

* [ACA-3426] adf-search-header removed from document-list and implemented in app-files

* [ACA-3426] Allow custom header filters inside document-list

* [ACA-3426] Decouple search from the document-list

* [ACA-3409] NodePaging ouputed to the DL

* [ACA-3426] - fixed injection for service

* Dev baptiste aca 3430 (#5773)

* [ACA-3430] Add style to filter and hide action buttons from facet widgets

* [ACA-3430] Update eventEmitter created in the DL and create  unit tests for the search-header

Co-authored-by: BaptisteMahe <mahe.baptiste.19@gmail.com>

* [ACA-3426] - added parent for service

* [ACA-3426] - added parent for service - fixed method

* [ACA-3426] Revert update EventEmitter inside DL

* [ACA-3436] Use of the node input instead of nodeUpdate mehtod

* [ACA-3426] Add clear behaviour to search-header

* [ACA-3426] Remove useless update exposition

* [ACA-3426] Update filter button styles and padding inside the filter menu

* [ACA-3443] Propagate filters states through DL and datatable to avoid hiding the header

* [ACA-3426] Refactor showHeader logic and use it for the filters

* [ACA-3426] - fixed pagination for filter result

* [ACA-3426] - fixed messed files after rebase

* [ACA-3426] - added simplified config version

* [ACA-3426] - enabling created by filter

* [ACA-3426] Fix search-date-range apply method

* [ACA-3426] Fix loading style and default showHeaderMode

* [ACA-3426] Changed showHedaer default to always

* [ACA-3426] - stabilised the feature and added injection token

* [ACA-3426] Add unit test for showHeader new behaviour

* [ACA-3426] Add documentation to search-header

* [ACA-3426] - added parent filtering for special folders

* [ACA-3426] - added unit test for search header

* [ACA-3426] - fixed search fitler behavour

* [ACA-3426] - fixed search result inject service

* [ACA-3426] - fixed search result inject service for search sorting

* [ACA-3426] - fixed title for matching selector

* [ACA-3426] - fixed app config with missing search widget

* Update search-header.component.md

Co-authored-by: BaptisteMahe <mahe.baptiste.19@gmail.com>
Co-authored-by: Eugenio Romano <eromano@users.noreply.github.com>
2020-06-22 09:24:57 +01:00
Urse Daniel
f0df6b3a5f
[ACA-3266] Improve version upload component (#5750)
* added new component to compare current and new file version of a node.

* update doc

* added more tests

* updated docs

* small fixes

* changed with typography

* Update version-comparison.component.md

* handle hiding the comparison component on demo shell if cancelled/uploaded a new file version

* small fixes

Co-authored-by: Eugenio Romano <eromano@users.noreply.github.com>
2020-06-04 13:01:11 +01:00
Urse Daniel
4cb3a876d9
[ACA-45] Drag and Drop a New Version (#5710)
* added a new input: file

* unit test - having singleFile option and a file as input, the type of the input for uploading should be button instead of file

* added a click event for the upload button and also handle if having a file as input, the type of the input should be 'button' instead of 'file'

* handling allowed for upload also for 'update' permissions over a dropped file. also emitting a new event for updating file version if i'm dropping a single file over another file.

* unit tests for handling dropping a file over another

* added a new input (file type)

* passing a file to adf-version-upload component

* new input as file and toggle new version if having that as input + unit test

* added new input as file for new version

* added new input to allow dropping a file over another to update it's version

* added a new variable for handling dropping a file over another one and also handle a new event when we update the file version

* pass a new dropped file to the dialog

* new message

* new method to allow isDropTarget for a file instead only to folders.

* new emitter for updating a file's version

* allows updating a file's version by dropping another file over it.

* refactor allowDropFiles

* update docs for drag&drop file into another file

* update for drag&drop a file over another file functionality

* made the allowDropFiles checking optional for isDropTarget property, only checking if the value is passed to the share-data-row

Co-authored-by: Eugenio Romano <eugenio.romano@alfresco.com>
2020-05-20 11:57:17 +01:00
Gloria Broadbent
db7fedcf5e
ALL 16 LANGUAGES - fix for LOC-212 - updated localised files for ADF 3.8 (#5662) 2020-05-01 11:23:08 +01:00
siva kumar
63063699fd
[ACA-3000][ACA-2999] FE - Provide way to show ContextMenu on Task/Process list (#5596)
* [ACA-3000] FE - Provide way to show ContextMenu on Task list

* * Updated docs

* * Added unit tests to the recent changes
2020-04-14 09:52:57 +01:00
Gloria Broadbent
80ae09d06a
ALL LANGUAGES: Fully localised updated files for ADF 3.7 to fix LOC-187 (#5428) 2020-01-30 11:57:36 +00:00
Mark Hulbert
1bfead2cd3 [ADF-5048] Review UI strings (#5406) 2020-01-27 13:12:55 +01:00
arditdomi
3c3aa7599a [AAE-1372] Refactor People/Group cloud component (#5355)
* [AAE-1372] Fix read-only preselected users can be deleted

* [AAE-1372] Fix people/group cloud component readonly mode

* [AAE-1372] Refactor People/Group Cloud components

* [AAE-1372] Refactor People/Group Cloud components

* [AAE-1372] Clear invalid user in single mode after replacing with a valid user

* [AAE-1372] Add progress bar while validation loading. When user gets removed remove from validation

* [AAE-1372] Fix lint errors

* [AAE-1372] Fix single selection e2e

* [AAE-1372] Fix unit tests - people/group cloud components

* [AAE-1372] Fix e2e, set People/Group formControls invalid when has preselect errors

* [AAE-1372] Fix invalid form control bug
2020-01-21 13:37:57 +00:00
siva kumar
68df1ad440 [AAE-1351] [GroupCloudComponent] Validate pre-selected groups (#5353)
* * Added an input flag to validate preselected groups.
* Modified demo shell groups page.

* * Added unit tests to the recent changes.

* * Fixed comments
2020-01-03 10:29:29 +00:00
Eugenio Romano
7d52449cad
[LOC-168] Localization file 3.6.0 (#5281)
* Localization file 3.6.0

* remove not usefull test
2019-11-22 20:16:17 +00:00
arditdomi
3c1097fb84 [ADF-4979] Add onChanges detection for Task Header Cloud component (#5208)
* [ADF-4979] Add onChanges detection for Task Header Cloud component

* [ADF-4979] Revert licenses.txt changes

* [ADF-4979] Documentation added for the taskError Event
2019-11-06 11:07:48 +00:00
Eugenio Romano
4709cda51e
localization 3.5.0 (#5112) 2019-09-30 12:00:59 +01:00