1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-09-19 17:52:45 +02:00
unleash.unleash/frontend/src/component/feature/FeatureStrategy
Nuno Góis 73b4ae18c1
feat: responsive strategy icons (#4121)
https://linear.app/unleash/issue/2-1167/multiple-strategies-breaking-the-environment-card

https://linear.app/unleash/issue/2-1179/buttons-have-an-extra-space-if-the-icon-its-not-visible

This fixes the broken UI when we have too many strategies.

Before:
<img width="1500" alt="image"
src="https://github.com/Unleash/unleash/assets/14320932/ddf2f636-965c-4527-b879-dba5c16d9630">

After:
<img width="1303" alt="image"
src="https://github.com/Unleash/unleash/assets/14320932/852c20c9-c5f4-4aa5-b8c0-e5bc5286c572">

We also added the new strategy type to the tooltips:
<img width="519" alt="image"
src="https://github.com/Unleash/unleash/assets/14320932/117ee00f-f2a7-4ecb-8596-44486a2870a2">

<img width="422" alt="image"
src="https://github.com/Unleash/unleash/assets/14320932/4281a48c-4b6e-4100-86e2-29dfe9ce4cec">

This also fixes an extra margin we caught on our `PermissionButton` when
it had no endIcon set.

Co-authored by: @daveleek

---------

Co-authored-by: David Leek <david@getunleash.io>
2023-06-29 18:01:27 +01:00
..
FeatureStrategyConstraints added contraints checking in change request permissions (#2690) 2022-12-14 13:00:51 +01:00
FeatureStrategyCreate fix: default strategy groupId failure (#4120) 2023-06-29 16:40:14 +03:00
FeatureStrategyEdit chore: remove strategyImprovements flag (#4043) 2023-06-28 11:38:21 +03:00
FeatureStrategyEmpty Splitted strategy button (#4025) 2023-06-21 15:26:07 +02:00
FeatureStrategyForm chore: remove strategyImprovements flag (#4043) 2023-06-28 11:38:21 +03:00
FeatureStrategyIcon feat: responsive strategy icons (#4121) 2023-06-29 18:01:27 +01:00
FeatureStrategyIcons feat: responsive strategy icons (#4121) 2023-06-29 18:01:27 +01:00
FeatureStrategyMenu feat: responsive strategy icons (#4121) 2023-06-29 18:01:27 +01:00
FeatureStrategyProdGuard chore: update MUI to v5 (#923) 2022-05-02 15:52:41 +02:00
FeatureStrategySegment fix: ensure rel=noreferrer on target=_blank (#3755) 2023-05-12 09:51:33 +01:00
FeatureStrategyType fix: validate feature strategy parameters (#1192) 2022-08-04 13:34:30 +02:00
featureStrategy.utils.ts fix: equality check on feature strategy (#2145) 2022-10-06 14:39:56 +02:00