8 Commits

Author SHA1 Message Date
Nikita Maliarchuk
60ba8eb6ce
[ACS-3895] ACA - Folder Rules: inherit rule sets toggle (#2808)
* ACS-3895 - initial layout

* ACS-3895 - finished functionality

* ACS-3895 - unit tests

* ACS-3895 - deleted comments

* ACS-3895 - small fixes

* ACS-3895 - renamed ruleSettings to ruleSettingsMock

* ACS-3895 - rebase
2022-11-24 19:07:21 +01:00
Thomas Hunter
d9d2441b3a
[ACS-3513] [ACS-3515] Create, edit and delete rule set link (#2810) 2022-11-24 15:37:01 +00:00
Thomas Hunter
c75091bf59
[ACS-3887] Rule set listing, including linked & inherited rules (#2780)
* [ACS-3887] Rule set listing to include linked & inherited rules

* Handled rules & rule sets reloading after a create/update/delete operation

* Linting

* Start rewrite of folder rules service unit tests

* Rules service and rule sets service unit tests

* Readd rules services create, update & delete unit tests

* rule set list ui component unit tests

* Manage rules component unit tests

* Remove & modify comments
2022-11-16 16:29:26 +00:00
Thomas Hunter
e354ec3891
[ACS-3744] Folder rules styling fixes (#2753)
* Folder rules styling fixes

* Fix not showing isInheritable in read only
2022-11-02 12:51:40 +00:00
Thomas Hunter
59c7d68299
[ACA-3258] Edit rule dialog actions section (#2692)
* Add actions service

* Create components

* Rebasing

* Add card view component

* Moved actions definition call outside of actions list component

* Localisation of parameter and action labels + read only mode for components

* Remove action option

* Default to one item in array

* Handle change of cardview

* Linting

* Add unit tests

* Fix broken unit tests

* Fix unknown word

* Add private to property
2022-10-06 14:07:47 +01:00
Nikita Maliarchuk
db47d862e3
[ACS-3219] Delete Rule (#2609)
* [ACS-3219] Delete Rule

* rebased + added unsubscribe()

* small fix

* a couple more fixes

* manage-rules css formatting fix
2022-08-30 10:18:10 +01:00
Thomas Hunter
9cd616ff8c
[ACS-3256] Add trigger / "when" section to rule details & edit rule dialog (#2603)
* Add triggers section with checkboxes

* Add some unit tests

* Changed Input property of rule details so that it takes a changeable value rather than just an initial value

* Made separate component with control value accessor for triggers

* Linting

* Change trigger values to lowercase to be in sync with the API

* Minor styling changes and add new rule button to manage rules screen

* Add option for unknown field to be selected

* Add read only to nested composite and simple conditions

* Added unknown field tests for simple condition

* Linting

* Change how the triggers component displays when disabled
2022-08-23 09:54:08 +01:00
Nikita Maliarchuk
5f009e89fa
[ACS-3339] Manage Rules screen / listing - Manage rules screen template & minimal listing (#2596)
* First commit: rules listing

* [ACS-3339] Manage Rules screen / listing - Manage rules screen template & minimal listing

* some changes for rule model

* some changes requested for PR

* a couple more fixes

* removed initial value from aca-rule-details

* spelling error fixed
2022-08-19 18:27:21 +02:00