1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-09-28 17:55:15 +02:00
unleash.unleash/frontend/src/component/feature/FeatureView/FeatureVariants/FeatureEnvironmentVariants
Nuno Góis cef35387c5
feat: new variants per env form (#3004)
https://linear.app/unleash/issue/2-647/adapt-current-variants-ui-to-better-align-with-cr

## About the changes
Big refactor to the variants per environment UI/UX logic, making the
variants management happen on a side modal. This makes it so variants
per environment play a lot nicer with change requests.


![image](https://user-images.githubusercontent.com/14320932/214972213-32b9aba9-1390-47b3-a00a-8c4ada359953.png)


<!-- (For internal contributors): Does it relate to an issue on public
roadmap? -->
Relates to [roadmap](https://github.com/orgs/Unleash/projects/10) item:
[#2254](https://github.com/Unleash/unleash/issues/2254)

### Important files
A big chunk of the changes is mostly moving things around or straight up
removing them.

- EnvironmentVariantModal - The modal itself that controls all of the
variants that you're editing;
 - VariantForm - The extracted form for editing each of the variants;
2023-01-27 13:56:13 +01:00
..
EnvironmentVariantsCard feat: new variants per env form (#3004) 2023-01-27 13:56:13 +01:00
EnvironmentVariantsCopyFrom fix: improve UI, simplify code (#2505) 2022-11-23 09:17:03 +02:00
EnvironmentVariantsModal feat: new variants per env form (#3004) 2023-01-27 13:56:13 +01:00
PushVariantsButton fix: small fixes on variants push to env UI (#2991) 2023-01-25 14:49:01 +00:00
FeatureEnvironmentVariants.tsx feat: new variants per env form (#3004) 2023-01-27 13:56:13 +01:00