1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-10-09 11:14:29 +02:00
unleash.unleash/frontend/src/component/common
Thomas Heartman e72a7c1197
chore(1-3316): update request info boxes to new design (#9180)
Updates the existing number of requests and overage info boxes to the
new design.

The existing versions of the boxes had some issues on narrower screens,
so it was easier to just leave them as is and start from scratch.

The previous boxes on narrow screens:

![image](https://github.com/user-attachments/assets/f3efa00d-ac0d-41ed-82d8-11766e043cb5)


The current ones (from wide to narrower):
Wide

![image](https://github.com/user-attachments/assets/0a48c013-afcd-4652-9229-0fca19a83733)

Mid (the text should probably ideally wrap at the same time here, but
I'm not sure how at the moment)

![image](https://github.com/user-attachments/assets/2ea3a672-80a6-4445-ae90-736c91c6e88e)

Narrow

![image](https://github.com/user-attachments/assets/03e3de0e-23c1-436a-8f6c-4c78cd4fdae7)

Extra narrow:

![image](https://github.com/user-attachments/assets/652c0c3b-71b1-4b2e-9e86-217f0c827aa6)



There's still some work we **could** do, but we should have UX have a
look first. In particular, it's about how the text wraps in certain
places etc, but I think it's good enough for now.

I'll come back with tests for the calculations and some refactoring and
cleanup in a followup.
2025-01-31 14:05:36 +01:00
..
AnimateOnMount feat: upgrade from react v17 to v18 (#7265) 2024-06-11 13:59:52 +03:00
Announcer
ApiError
ApiTokenTable chore(unl-204): remove uses of toast text and confetti (#8941) 2024-12-10 13:38:04 +00:00
AutocompleteBox
AvatarGroup chore: group cards redesign (#9048) 2025-01-02 15:08:15 +00:00
AvatarGroupFromOwners fix: wrap the UserAvatar component in forwardRef (#8461) 2024-10-16 14:58:34 +02:00
Badge chore(1-3316): update request info boxes to new design (#9180) 2025-01-31 14:05:36 +01:00
BatchSelectionActionsBar feat: upgrade from react v17 to v18 (#7265) 2024-06-11 13:59:52 +03:00
BreadcrumbNav chore: remove create feature component (#7959) 2024-08-22 11:30:41 +03:00
Card chore: new release plan template card (#9096) 2025-01-14 13:49:50 +00:00
Chart fix: dynamic highlight width (#9166) 2025-01-29 12:03:31 +01:00
CheckmarkBadge chore(unl-204): make toasts smaller (#8935) 2024-12-10 13:10:04 +00:00
Codebox
ConditionallyRender
ConstraintAccordion fix: legal values styling in segments (#9044) 2024-12-31 08:45:17 +01:00
CreateButton
DateTimePicker
DialogFormTemplate fix: display feature naming patterns in dialog (#7837) 2024-08-12 13:56:07 +02:00
Dialogue feat: upgrade from react v17 to v18 (#7265) 2024-06-11 13:59:52 +03:00
DividerText
DropdownMenu
EnterpriseBadge
EnvironmentIcon
ExperimentalFeedback
FavoriteIconButton
FeatureArchiveDialog chore(unl-204): remove uses of toast text and confetti (#8941) 2024-12-10 13:38:04 +00:00
FeatureLifecycle feat: rename lifecycle stages (#9102) 2025-01-16 08:41:11 +00:00
FeatureStaleDialog chore(unl-204): remove uses of toast text and confetti (#8941) 2024-12-10 13:38:04 +00:00
FeatureStatusChip chore: rename toggle to flag #2 (#7097) 2024-05-22 08:20:11 +03:00
Feedback
FilterDateItem feat: date range selector (#8991) 2024-12-18 10:40:50 +01:00
FormSwitch
FormTemplate chore(unl-204): remove uses of toast text and confetti (#8941) 2024-12-10 13:38:04 +00:00
GeneralSelect Add environment types environment order (#8447) 2024-10-15 11:00:31 +02:00
Gradient feat: upgrade from react v17 to v18 (#7265) 2024-06-11 13:59:52 +03:00
GridCol feat: upgrade from react v17 to v18 (#7265) 2024-06-11 13:59:52 +03:00
GridRow feat: upgrade from react v17 to v18 (#7265) 2024-06-11 13:59:52 +03:00
GuidanceIndicator feat: upgrade from react v17 to v18 (#7265) 2024-06-11 13:59:52 +03:00
HelpIcon 1-3083: add remaining lifecycle header + tooltip (#8722) 2024-11-13 10:16:35 +01:00
Highlight chore: remove Unleash AI (#9010) 2024-12-20 11:02:49 +00:00
Highlighter fix: projects archive search (#7898) 2024-08-15 16:19:29 +02:00
HtmlTooltip fix: prevent project cell overflow on api keys table (#7472) 2024-07-02 12:10:02 +02:00
Input chore: update input field text sizes (#7107) 2024-05-22 13:26:22 +02:00
InputCaption
InputListField
InstanceStatus feat: now pay as you go billing banner has link (#8761) 2024-11-15 09:26:49 +02:00
ItemList
Limit fix: update the customer success email for limits (#7933) 2024-08-20 11:58:25 +02:00
Loader fix: make loader not exlpode to 100vh in unnecessary locations (#7589) 2024-07-15 14:41:45 +02:00
LoginRedirect
MainHeader
Markdown chore: implement event grouping in the event timeline (#8254) 2024-09-26 14:48:52 +01:00
MultiActionButton feat: upgrade from react v17 to v18 (#7265) 2024-06-11 13:59:52 +03:00
MultipleRoleSelect feat: grouping of project level roles in autocomplete (#9046) 2024-12-31 10:44:48 +01:00
NewConstraintAccordion chore: remove operator upgrade alert (#8053) 2024-09-03 12:18:19 +03:00
NoItems feat: upgrade from react v17 to v18 (#7265) 2024-06-11 13:59:52 +03:00
NotFound feat: upgrade from react v17 to v18 (#7265) 2024-06-11 13:59:52 +03:00
Notifications Refactor: Remove react-timeago (#7943) 2024-08-21 12:03:03 +02:00
PageContent feat: upgrade from react v17 to v18 (#7265) 2024-06-11 13:59:52 +03:00
PageHeader feat: upgrade from react v17 to v18 (#7265) 2024-06-11 13:59:52 +03:00
PasswordField
PercentageCircle
PermissionButton fix: permission button unintended full width behavior (#8920) 2024-12-05 09:23:06 +00:00
PermissionGuard
PermissionHOC
PermissionIconButton Feat: feature view created by field - frontend (#7382) 2024-06-13 13:00:57 +02:00
PermissionSwitch chore: use HTML (custom) tooltip for permission switches (#7355) 2024-06-11 14:03:35 +02:00
PremiumFeature chore: mark SSO as an Enterprise only feature (#9071) 2025-01-09 13:07:28 +00:00
PrettifyLargeNumber
Proclamation
ProjectIcon test(navigation): snapshot sidebar for different plans (#8507) 2024-10-22 09:13:59 +00:00
ProjectSelect fix: Project select should not expand when selecting multiple projects (#6811) 2024-04-10 12:34:11 +03:00
ProtectedRoute
PulsingAvatar feat: connection status bubble (#8099) 2024-09-05 13:56:25 +03:00
ReactJSONEditor
ResponsiveButton feat: new onboarding welcome screen logic (#8110) 2024-09-06 13:15:28 +03:00
RoleBadge chore: group cards redesign (#9048) 2025-01-02 15:08:15 +00:00
RoleDescription
RoleSelect
ScreenReaderOnly feat: filter by user when interacting with the avatar (#7347) 2024-06-11 12:15:35 +02:00
ScrollTop
Search feat: separate command bar and search hotkeys (#7651) 2024-07-24 12:46:03 +03:00
SegmentItem
SidebarModal
SidePanelList
SkipNavLink
StaleDataNotification
Sticky chore: remove all deprecated imports of act (#8398) 2024-10-15 13:53:26 +02:00
StrategyItemContainer fix: stretch strategies underlying root cause (#8520) 2024-10-23 16:24:15 +02:00
StrategySeparator
StrategyVariantsUpgradeAlert
StringTruncator chore: group cards redesign (#9048) 2025-01-02 15:08:15 +00:00
Table fix: text overflow on project users access page (#8853) 2025-01-10 09:51:42 +01:00
TabNav feat: upgrade from react v17 to v18 (#7265) 2024-06-11 13:59:52 +03:00
ThemeMode
TimeAgo chore: remove all deprecated imports of act (#8398) 2024-10-15 13:53:26 +02:00
ToastRenderer chore(unl-204): remove uses of toast text and confetti (#8941) 2024-12-10 13:38:04 +00:00
TooltipLink
TooltipResolver feat: command menu items can have description as tooltip now (#7455) 2024-06-26 12:39:53 +03:00
Truncator chore: group cards redesign (#9048) 2025-01-02 15:08:15 +00:00
UpdateButton
UserAvatar chore: new user avatar tooltip (#9050) 2025-01-03 10:26:02 +00:00
VariantInfoAlert chore: rename toggle to flag #2 (#7097) 2024-05-22 08:20:11 +03:00
VerticalTabs chore: flag overview page redesign - environments (#8683) 2024-11-08 09:56:46 +00:00
common.module.scss
flags.ts
index.jsx
select.tsx
util.test.ts fix: prevent strategy variant weight from going into negative numbers on Frontend (#7460) 2024-06-27 09:06:59 +00:00
util.ts fix: environments route should be hidden from menu for open-source (#8397) 2024-10-09 15:45:02 +03:00