Commit Graph

971 Commits

Author SHA1 Message Date
Rubén Barroso
b13a5cc282 [AAE-8856] Enable left label for form widgets in several widgets (#7640) 2022-05-18 18:43:59 +02:00
Bartosz Sekuła
95fc295688 [AAE-7817] Add columns selector for processes and tasks tasks (#7612)
* [AAE-7817] Add columns selector for processes and tasks tasks

* cr

* Update

* fix unit tests

* preserve order while sorting

* add input toggle to show main actions

* fix test
2022-05-17 08:41:14 +02:00
Rubén Barroso
1762ba5af1 [AAE-8764] Enable left labels in text, number and dropdown cloud widget (#7628) 2022-05-16 10:14:45 +02:00
Maurizio Vitale
9ff1f65841 [AAE-8061] Fix the group restriction for people widget (#7601)
* FIx the restrinction

* Fix unit test about restricted groups

* Add a small sleep to make it green

* Add sleep to other checks

* Remove sleeps, improve assertions

Co-authored-by: MichalFidor <michal.fidor@hyland.com>
2022-04-26 15:29:06 +01:00
Eugenio Romano
3f7316f393 use all the filter fields to count the elements (#7595) 2022-04-22 18:42:23 +01:00
arditdomi
6fcac9f5f9 [AAE-8554] - Fix linked dropdown values are displayed but not submitted (#7590)
* [AAE-8554] - Fix dropdown values are displayed but not submitted

* Make eslint allow ternary
2022-04-21 17:25:38 +01:00
Tomasz Gnyp
694d71a103 [AAE-8061] Add groups restriction to people widget (#7586)
* [AAE-8061] add groups restriction to people widget

* Trigger travis

* [AAE-8061] fix lint

* [AAE-8061] fix unit tests
2022-04-20 14:51:32 +01:00
Tomasz Gnyp
7141230649 [AAE-7313] User can claim a task only if he is an candidate and relea… (#7558)
* [AAE-7313] User can claim a task only if he is an candidate and release if he is assigned

* [AAE-7313] unit test improvements

* revert change on  angular.json

* [AAE-7313] removed focus from unit test describe

* Trigger travis

* Trigger travis

* [AAE-7313] exclude C593997 e2e
2022-04-19 11:05:24 +02:00
Bartosz Sekuła
2db6d9e506 Provide preference services on for tasks/processes on component module level (#7579) 2022-04-14 12:00:14 +02:00
Pablo Martinez Garcia
a02a8a4ad9 [AAE-8086] Propagate form events (#7572)
* [AAE-8086] Propagate events

* [AAE-8086] Add form rules manager to the form renderer

* [AAE-8086] Extensibility improvements

* [AAE-8086] Fix wrong import

* [AAE-8087] Add form actions

* [AAE-8086] Initialize form rules manager on form renderer component changes

* [AAE-8087] Fix form actions

* [AAE-8087] Fix unit tests for field visibility

* trigger travis
2022-04-14 11:59:12 +02:00
Bartosz Sekuła
48c3fac018 [AAE-7819] Change column order - enable drag and drop for datatable - [1/3] (#7567)
* [AAE-7819] Enable drag and drop for datatable [1/3]

* [AAE-7819] Change column order - load and save columns order preferences for PROCESSES - [2/3] (#7568)

* [AAE-7819] Load and save column order preferences for processes

* [AAE-7819] Load and save column order preferences for tasks [3/3] (#7569)

* fix css

* fix icon module import

* Fix unit tests

* Fix test

* Fix e2e

* Fix C279927
2022-04-11 08:01:02 +02:00
Gloria Camino
18c9e1d28c LOC-359 - Full fix - UI files localized in 16 languages for ADF 4.9 (#7551) 2022-03-14 19:48:02 +00:00
Tomasz Gnyp
9fdefb578d [AAE-7376] Added process instance link in task details (#7544)
* [AAE-7376] Added process instance link in task details

* [AAE-7376] removed redirect logic from ADF

* Trigger travis

* [AAE-7376] added unit test
2022-03-09 14:42:29 +05:30
siva kumar
6ce7bb7769 [AAE-7801] Export TaskListCloudServiceInterface and BaseCloudService (#7546) 2022-03-08 12:17:16 +00:00
Bartosz Sekuła
736ec5d92f [ADF-5472] Missing placeholder for inplace input (#7541) 2022-03-08 10:17:38 +01:00
Tomasz Gnyp
3dc9f7cdfd [AAE-7765] Improved display mandatory form fields (#7531)
* [MNT-22765] Improved display mandatory form fields

* [MNT-22765] added unit tests

* [MNT-22765] fixed test with error icon on rest fail

* Trigger travis

* [MNT-22765] removed underscore from var name

* [AAE-7765] removed underscore from unit test

* [AAE-7765] fixed css lint

* [AAE-7765] fixed e2e error message css class

* [AAE-7765] fixed storybook e2e
2022-03-07 18:29:12 +00:00
Tomasz Gnyp
e877cd822b [AAE-7338] Changed endpoint for process task list (#7522)
* [AAE-7338] Changed approach to use token injection

* [AAE-7338] moved model files up

* [AAE-7338] fixed imports

* [AAE-7338] changed class to interface

* [AAE-7338] fixed model imports

* * Fixed failing unit tests due recent changes

* [AAE-7338] fixed unit test

Co-authored-by: sivakumar414ram <sivakumar414ram@gmail.com>
2022-03-07 16:48:15 +00:00
Bartosz Sekuła
14a777c5d4 [AAE-6345] New start process page APA (#7521)
* [AAE-6345] New start process page APA

* [AAE-6345] Added test

* [AAE-6345] Update

* CR

* Revrite wrapper to component

* Quick fix to e2e

* Show errors as ng-content

* Add Inplace word

* Fix unit tests

* Fix e2e
2022-03-03 20:02:36 +01:00
Eugenio Romano
7c171eaf87 [MNT-22865] fix get all task variables (#7508)
* fix get all task variables

* Update lib/process-services-cloud/src/lib/form/services/form-cloud.service.ts

Co-authored-by: Andrea Ligios <11974750+andrea-ligios@users.noreply.github.com>

* Update lib/process-services-cloud/src/lib/form/services/form-cloud.service.ts

Co-authored-by: Andrea Ligios <11974750+andrea-ligios@users.noreply.github.com>

* Update form-cloud.service.ts

Co-authored-by: Andrea Ligios <11974750+andrea-ligios@users.noreply.github.com>
2022-02-18 10:12:11 +00:00
Denys Vuika
5b7f255eec [AAE-7244] fix process services cloud eslint warnings (#7503)
* fix process services cloud eslint warnings

* fix export of private consts

* improve constant export

* fix unit tests
2022-02-17 14:08:41 +00:00
Bartosz Sekuła
670d2befdc [AAE-6823] Customize font (#7493)
* [AAE-6823] Customize font

* [AAE-6823] Update css variables names

* [AAE-6823] Cleaning

* [AAE-6823] Update css variables names

* [AAE-6823] Fix lint error
2022-02-08 14:15:57 +01:00
Denys Vuika
8dc736e8f0 [AAE-7100] migrate ADF projects to eslint (#7483)
* migrate content services to eslint

* migrate insights to eslint

* migrate extensions to eslint

* migrate testing lib to eslint

* migrate CLI to eslint

* migrate process-services to eslint

* migrate process-services-cloud to eslint

* remove cli analytics [ci:force]
2022-02-03 11:01:54 +00:00
siva kumar
6ef4838688 [AAE-5835] Add unit test to check is selected Process/Task filter highlighting (#7474)
* [AAE-5835] Automate the manual test: Process default filters

* My empty commit to start travis job
2022-02-02 16:02:50 +05:30
Vito
8a9a9a6fdc [AAE-7072] - added utc time for date time widget to avoid changing ti… (#7469)
* [AAE-7072] - added utc time for date time widget to avoid changing time on different timezones

* [AAE-7072] - fixed parsing when override is not added
2022-01-26 15:24:53 +00:00
arditdomi
e98fd2db0c [AAE-7010] - Fix nested linked dropdowns are not reset (#7463)
* [AAE-7010] - Fix nested linked dropdowns are not reset

* Rebase

* Reset rest in case value is not part of the options

* Update failing unit test due to form field changes
2022-01-24 14:57:22 +01:00
Bartosz Sekuła
bf77663d6a [AAE-6310] Fix for attaching files (#7457)
* [AAE-6310] Fix for attaching files

* [AAE-6310] Update

* [AAE-6310] Revert indentions changes

* [AAE-6310] Fix tests
2022-01-24 12:36:35 +01: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
siva kumar
4ffa338585 [AAE-6660] FE - [ADF] Linked dropdown still contains old options when the rest api does not return results (#7454)
* [AAE-6660] FE - [ADF] Linked dropdown still contains old options when the rest api does not return results

* * Added unit tests to the recent changes done on dropdown.

* * Improved error message

* My empty commit to kick start travis

* * Fixed lint errors

* * Fixed css lint error

* * Fixed failing unit test
2022-01-24 14:47:44 +05:30
Andrea Ligios
214cb321e9 AAE-6861 - Add runtimeBundleVersion property to the Model (#7443)
* AAE-6861 - Add runtimeBundleVersion property to the Model

* AAE-6861 - Excluded test C260385 due to regression bug ADF-5467
2022-01-13 11:48:26 +01:00
Eugenio Romano
7c7b1eadf3 remove depend on from the general render (#7442) 2022-01-10 13:58:10 +01:00
Ketevani Kvirikashvili
131963f4ab [AAE-6310] Add a category in process definition model (#7439) 2022-01-07 17:18:41 +01:00
dependabot[bot]
28bdab1146 Bump stylelint from 13.13.1 to 14.2.0 (#7431)
* Bump stylelint from 13.13.1 to 14.2.0

Bumps [stylelint](https://github.com/stylelint/stylelint) from 13.13.1 to 14.2.0.
- [Release notes](https://github.com/stylelint/stylelint/releases)
- [Changelog](https://github.com/stylelint/stylelint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/stylelint/stylelint/compare/13.13.1...14.2.0)

---
updated-dependencies:
- dependency-name: stylelint
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* upgrade to newest stylelint

* fix style issues

* fix color function rules to match old Angular

* rollback modern color func

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Denys Vuika <denys.vuika@gmail.com>
2022-01-05 09:21:09 +00:00
Tomasz Gnyp
ccf16afc76 [AAE-5964] added primary story with mocks (#7401) 2021-12-07 12:00:03 +01:00
Tomasz Gnyp
ee4efeb290 [AAE-5965] added primary story (#7400) 2021-11-30 16:35:23 +00:00
Ketevani Kvirikashvili
dbb7aeff8e [AAE-6307] Setting a default process name (#7389)
* [AAE-6307] Setting a process name on init if process definition name is present

* delete space and adding semicolon

* fixed lint
2021-11-29 10:26:09 +00:00
Tomasz Gnyp
9f31fb8dfa [AAE 5966] Storybook stories for AppListCloud component (#7390)
* [AAE-5966] added sprimary story

* [AAE-5966] improved syntax

* [AAE-5966] fixed module import
2021-11-29 09:41:19 +00:00
Dharan
2d032f50fb [AAE-6417] [FE] [FORM] preselect the logged user (#7377)
* [AAE-6417] [FE] [FORM] preselect the logged user

* [ci:force] force e2e
2021-11-25 10:34:05 +05:30
Dharan
6fdc6c101d [AAE-6572] Search capability for dropdowns (#7387) 2021-11-24 14:27:16 +00:00
tomgny
a40de80658 [AAE-6389] Remove duplicated identity user service mock (#7373)
* [AAE-6389] removed duplicate services and refactored existing

* [AAE-6389] improved and moved mocks to proper files

* [AAE-6389] fixed circular dependency
2021-11-24 10:18:20 +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
tomgny
18d57e4850 [AAE-5958] Storybook stories for ProcessHeaderCloud component (#7374)
* [AAE-5958] added stories and mocks

* [AAE-5958] arefactored mocks

* [AAE-5958] added interface for mock and live process cloud service

* [AAE-5958] added story and mock for header placeholders
2021-11-17 09:40:14 +01:00
tomgny
3e16ae313e [AAE-5962] Storybook stories for FormDefinitionSelectorCloud component (#7332)
* [AAE-5962] added stories and mock

* [AAE-5961] afixed standalone task form mock

* [AAE-5962] added interface for real and mock form definition selector service

* [AAE-5962] renamed mock data
2021-11-16 17:18:35 +00:00
Sushmitha V
6bb60f9e51 [AAE-6357] Resolved - Process filters colour is different than task filters (#7364) 2021-11-12 11:28:33 +05:30
tomgny
0b24e896fa [AAE 6360] Storybook brand with Alfresco (#7363)
* [AAE-6360] added config and logo files to process cloud and stories lib

* [AAE-6360] fixed build by adding unimplemented methods in form cloud mock service

* [AAE-6360] added config files for core and content services

* [AAE-6360] fixed bimport to correct build content-services storybook
2021-11-11 15:56:32 +00:00
Dharan
e441ad72ef [AAE-6354] [FE] radio button rest preselct from mapping (#7359)
* [AAE-6354] [FE] radio button rest preselct from mapping

* * revert

* * minor changes

* [ci:force] force test
2021-11-10 18:53:08 +00:00
Vito
ac6bdffa68 [AAE-6224] - fixed form field values when rest dropdown has loaded value (#7355)
* [AAE-6224] - fixed form field values when rest dropdown has loaded value

* [AAE-6224] - improved update form field value

* [AAE-6224] - fixed mock in unit test
2021-11-10 17:49:56 +00:00
arditdomi
79d54ea4e4 [AAE-6025] - Resolve linked dropdowns during runtime (#7289)
* Resolve linked dropdown during runtime, Draft commit

* Remove app from appconfig

* Make the link work for Saved and Completed tasks

* Call the new API to fetch dropdown options in case of rest type

* When widgetId is missing from restUrl

* Update unit tests

* Declare default option

* Rebase, remove appName example

* Maurizify the PR

* Fix lint error

Co-authored-by: Ardit Domi <arditdomi@apl-c02g64vpmd6t.home>
2021-11-01 00:30:55 +00:00
Sushmitha V
f14d333281 [AAE-6165] Add capability in the Attach File of displaying metadata fields in addition to file name (#7324)
* [AAE-6165] Add capability in the Attach File of displaying metadata fields in addition to file name

* Minor css styling adjustments

* [AAE-6165] Changes done for date datatype and table css

* [AAE-6165] Changes done as per the comments

* [AAE-6165] Changes done as per comments on PR

* Resolved failing lints

* Updated CSS for attach file widget

* Updated css

* Updated UT

* Resolved e2e failures

* Resolved e2e errors

Co-authored-by: amohammedalfresco <abdul.mohammed@alfresco.com>
2021-10-31 23:40:57 +05:30
Vito
7481001461 [AAE-6093] - fixed rest option for cloud widget (#7304)
* [AAE-6093] - fixed rest option for cloud widget

* [AAE-6093] - reverted app config change

* [AAE-6093] - fixed naming

* [AAE-6093] - fixed radio button complete task and added support for rest url with the new feature

* [AAE-6093] - removed test value

* [AAE-6093] - fixed lint

* [AAE-6093] - fixed lint

* [AAE-6093] - merged fix for dropdown
2021-10-29 14:55:51 +01:00
Dharan
08b9cd144f [AAE-6150] User info disappears in every click (#7328)
* [AAE-6150] userinfo remove debounce for every reload

* [ci:force] force e2e
2021-10-28 14:22:17 +01:00