Improve UI/UX related to Call Interceptor Service Policy by supporting an `Enum Array` input type
ashera96 opened this issue · 0 comments
ashera96 commented
Describe your problem(s)
Currently, the Call Interceptor Service
policy has an attribute named Includes to Payload
. This policy attribute is of type String (refer to [1]). Instead of expecting the user to type in the expected input as a comma-separated list, give an option to select the values from a dropdown menu.
Describe your solution
To achieve this we need to introduce a new policy attribute type named Enum Array
(right now we only support String, Integer, Boolean, and Enum). With this improvement, the user should be able to select from a list of checkboxes rather than typing in a comma-separated list of values. You can re-use a UI component like so to improve the policy related UI/UX.