1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-01-20 00:08:02 +01:00
unleash.unleash/frontend/src/component/common/NewConstraintAccordion
Nuno Góis bddc508582
chore: actions filter constraints (#6389)
https://linear.app/unleash/issue/2-1952/adapt-actions-form-ui-to-unleash-constraint-operators

Implements the new action filters UI, now powered by constraint
operators.

This PR goes through some effort to not touch existing components too
much, especially since they are critical for activation strategies.
Instead, the new feature tries to adapt to the existing components and
styling them appropriately, while still re-using them. We can refactor
this at a later stage if needed.

This UI will face some more drastic changes in the near future due to
the feature rename, so I wanted to keep this PR mostly scoped to the
constraint operators before proceeding with more changes.


![image](https://github.com/Unleash/unleash/assets/14320932/f4bef4e0-33bd-463c-a252-e1cc0c22e843)


![image](https://github.com/Unleash/unleash/assets/14320932/192a3bd4-f11d-4619-b826-bbf5df80050c)


![image](https://github.com/Unleash/unleash/assets/14320932/fcfc0239-a28f-446d-a901-2e73f0add1a2)


As always, did some manual tests and it seems to be working great!
2024-02-29 12:56:48 +00:00
..
ConstraintAccordionEdit chore: actions filter constraints (#6389) 2024-02-29 12:56:48 +00:00
ConstraintAccordionHeaderActions fix: refactor autosave to use the id to resolve the constraint (#5917) 2024-01-17 08:51:54 +01:00
ConstraintAccordionView fix: don't use kebab-case for properties (#5979) 2024-01-22 12:26:25 +00:00
ConstraintOperator Feat/disabled strategies (#5930) 2024-01-17 13:20:39 +01:00
ConstraintValueSearch
NewConstraintAccordionList fix: refactor autosave to use the id to resolve the constraint (#5917) 2024-01-17 08:51:54 +01:00
ConstraintIcon.tsx
ConstraintOperatorSelect.tsx chore: add no unused imports biome rule (#5855) 2024-01-11 12:44:05 +00:00
NewConstraintAccordion.tsx