1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-10-13 11:17:26 +02:00
unleash.unleash/frontend/src/component/feature/FeatureStrategy/FeatureStrategyForm
Fredrik Strand Oseberg 2a723ea9e8
fix: remove empty variants when changing tabs (#5850)
This PR makes a change to how variants work in the new setup. Variants
will now:

* Be removed if you change tab or unmount the component and it has no
name
* Moved StrategyVariants into a separate component to isolate this
change
* Add error handling around onSubmit and only trigger feedback if it's
successful
2024-01-11 10:43:29 +01:00
..
FeatureStrategyChangeRequestAlert feat: biome lint frontend (#4903) 2023-10-02 13:25:46 +01:00
FeatureStrategyEnabled feat: biome lint frontend (#4903) 2023-10-02 13:25:46 +01:00
FeatureStrategyEnabledDisabled Feat/new strategy configuration general tab (#5628) 2023-12-13 12:34:43 +01:00
FeatureStrategyTitle feat: biome lint frontend (#4903) 2023-10-02 13:25:46 +01:00
FeatureStrategyForm.tsx feat: biome lint frontend (#4903) 2023-10-02 13:25:46 +01:00
NewFeatureStrategyForm.tsx fix: remove empty variants when changing tabs (#5850) 2024-01-11 10:43:29 +01:00