1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-09-15 17:50:48 +02:00
unleash.unleash/frontend/src/component/common/ConstraintAccordion
Fredrik Strand Oseberg 049c5b9afa
feat: variant name change on create (#5742)
This PR refactores the StrategyVariants component to be passed in from
the outside to the new form component. This allows us to pass in the
StrategyVariants with an "editable" property in the create form which we
use to determine the editable state of the name input field. If the
editable field is not passed in we keep the old behavior.

Notable changes:
* StrategyVariants is now passed in from the outside, allowing us to
define different props at call time
* Added tests for the new behavior, and for keeping the old behavior
(such as in edit strategy)
* Added tracking
2024-01-02 13:53:04 +01:00
..
ConstraintAccordionEdit chore: use explicit images for inverted operator rather than a boolean not operator (#5565) 2023-12-07 13:03:19 +02:00
ConstraintAccordionHeaderActions feat: biome lint frontend (#4903) 2023-10-02 13:25:46 +01:00
ConstraintAccordionList feat: variant name change on create (#5742) 2024-01-02 13:53:04 +01:00
ConstraintAccordionView chore: use explicit images for inverted operator rather than a boolean not operator (#5565) 2023-12-07 13:03:19 +02:00
ConstraintOperator fix: grey out text and icons for disabled strategies in playground (#5113) 2023-10-23 15:12:15 +03:00
ConstraintValueSearch feat: biome lint frontend (#4903) 2023-10-02 13:25:46 +01:00
ConstraintAccordion.tsx Fix build 2022-07-22 09:53:42 +03:00
ConstraintIcon.tsx fix: grey out text and icons for disabled strategies in playground (#5113) 2023-10-23 15:12:15 +03:00
ConstraintOperatorSelect.tsx feat: biome lint frontend (#4903) 2023-10-02 13:25:46 +01:00