mirror of
https://github.com/Unleash/unleash.git
synced 2025-11-10 01:19:53 +01:00
Fixes a visual bug where envs without release plans would get too much spacing on the top of their first strategy. It does this flattening the list of strategies if there are no release plans. In doing so, I have extracted the strategy list rendering into a separate component (to make things more legible and re-usable) and have also removed the FeatureStrategyEmpty component and marked it as deprecated. In the new designs, you can't expand envs without strategies, so the component is no longer needed. Before (what looks like a shadow is actually the extra list being rendered with a bit of padding):  After:  |
||
|---|---|---|
| .. | ||
| FeatureStrategyConstraints | ||
| FeatureStrategyCreate | ||
| FeatureStrategyEdit | ||
| FeatureStrategyEmpty | ||
| FeatureStrategyForm | ||
| FeatureStrategyIcon | ||
| FeatureStrategyIcons | ||
| FeatureStrategyMenu | ||
| FeatureStrategyProdGuard | ||
| FeatureStrategySegment | ||
| FeatureStrategyType | ||
| featureStrategy.utils.ts | ||