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/FeatureOverview
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
..
FeatureOverviewEnvironments feat: responsive strategy icons (#4121) 2023-06-29 18:01:27 +01:00
FeatureOverviewMetaData fix: break toggle description niceley (#4093) 2023-06-27 09:15:16 +02:00
FeatureOverviewSegment
FeatureOverviewSidePanel Fix/cr should activate disabled lag free (#3826) 2023-05-23 10:16:09 +03:00
ManageTagsDialog fix: only show simple tag type if there are no tag types in the server (#3919) 2023-06-09 09:59:27 +03:00
FeatureOverview.tsx refactor: remove variants per environment feature flag (#3102) 2023-02-14 14:02:02 +00:00