1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-09-15 17:50:48 +02:00
unleash.unleash/frontend/src/component/common
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
..
AnimateOnMount
Announcer
ApiError
ApiTokenTable Feat/more granular permissions check in create apitoken (#4072) 2023-06-23 10:57:08 +02:00
AutocompleteBox
Badge
BatchSelectionActionsBar fix: make area behind bulk actions clickable (#3838) 2023-05-23 10:41:01 +02:00
BreadcrumbNav
CheckmarkBadge
Codebox
ConditionallyRender
ConstraintAccordion
CreateButton
DateTimePicker
Dialogue
DividerText
DropdownMenu
EnvironmentIcon
EnvironmentStrategiesDialog
FavoriteIconButton
FeatureArchiveDialog
FeatureStaleDialog
FeatureStatusChip
Feedback
FormTemplate
GeneralSelect
Gradient
GridCol
GridRow
GuidanceIndicator
HelpIcon
Highlighter
HtmlTooltip feat: custom root roles (#3975) 2023-06-14 14:40:40 +01:00
Input
InputCaption
InputListField
InstanceStatus refactor: misc cleanups (#4022) 2023-06-21 15:08:52 +01:00
ItemList
Loader
LoginRedirect
MainHeader
Mermaid
MessageBanner feat: message banner (variants) (#3788) 2023-05-18 09:38:59 +01:00
NoItems
NotFound
Notifications
OperatorUpgradeAlert
PageContent
PageHeader
PasswordField
PercentageCircle
PermissionButton feat: responsive strategy icons (#4121) 2023-06-29 18:01:27 +01:00
PermissionGuard feat: upgrade AdminAlert to PermissionGuard (#4074) 2023-06-23 13:25:35 +01:00
PermissionHOC
PermissionIconButton
PermissionSwitch
PremiumFeature
PrettifyLargeNumber
Proclamation
ProjectSelect
ProtectedRoute
ResponsiveButton Feat/more granular permissions check in create apitoken (#4072) 2023-06-23 10:57:08 +02:00
RoleBadge refactor: roles - make better plan assumptions (#4113) 2023-06-28 16:00:14 +01:00
RoleDescription feat: roles unification (#3999) 2023-06-19 09:41:40 +01:00
RoleSelect refactor: roles - make better plan assumptions (#4113) 2023-06-28 16:00:14 +01:00
ScrollTop
Search E2E test - batch updates (#3392) 2023-03-29 14:47:12 +03:00
SegmentItem
SidebarModal
SkipNavLink
StaleDataNotification
StrategyItemContainer chore: remove strategyImprovements flag (#4043) 2023-06-28 11:38:21 +03:00
StrategySeparator
StringTruncator
Table refactor: roles - make better plan assumptions (#4113) 2023-06-28 16:00:14 +01:00
TabNav
ThemeMode
ToastRenderer
TooltipLink
TooltipResolver
UpdateButton
UserAvatar
VerticalTabs
common.module.scss
flags.ts
index.jsx
select.tsx
util.ts