1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-01-06 00:07:44 +01:00
unleash.unleash/frontend/src/component/feature
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
..
CopyFeature feat: disallow clone toggle on change request enabled (#3383) 2023-03-27 13:21:50 +02:00
CreateFeature refactor: move docs into new structure / fix links for SEO (#2416) 2022-11-22 09:05:30 +00:00
CreateFeatureButton Orval generator POC (#2724) 2023-01-05 11:57:53 +01:00
EditFeature refactor: move docs into new structure / fix links for SEO (#2416) 2022-11-22 09:05:30 +00:00
FeatureForm feat: dark theme v1 (#3298) 2023-03-22 16:37:40 +02:00
FeatureStrategy feat: responsive strategy icons (#4121) 2023-06-29 18:01:27 +01:00
FeatureToggleList test: bulk enable display (#3803) 2023-05-18 14:51:49 +02:00
FeatureView feat: responsive strategy icons (#4121) 2023-06-29 18:01:27 +01:00
hooks
RedirectFeatureView
StrategyTypes Fix/default strategy group (#4110) 2023-06-28 13:18:44 +03:00