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
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
..
FeatureLog Fix/show tag events (#3064) 2023-02-08 19:57:21 +01:00
FeatureMetrics fix: add timestamp to feature toggle metrics (#4094) 2023-06-27 09:14:45 +02:00
FeatureNotFound
FeatureOverview feat: responsive strategy icons (#4121) 2023-06-29 18:01:27 +01:00
FeatureSettings fix: fix broken ImportOptions.tsx (#3657) 2023-05-02 10:17:05 +03:00
FeatureVariants fix: prevent variant name from containing extra whitespace (#3777) 2023-05-16 13:50:57 +02:00
FeatureView.tsx feat: implement demo guide steps (#3569) 2023-04-19 19:40:29 +01:00
FeatureViewLazyExport.tsx
LazyFeatureView.tsx