ZIm/crates/ui/src/components
Finn Evers 7f1a5c6ad7
ui: Make toggle button group responsive (#36100)
This PR improves the toggle button group to be more responsive across
different layouts. This is accomplished by ensuring each button takes up
the same amount of space in the parent containers layout.

Ideally, this should be done with grids instead of a flexbox container,
as this would be much better suited for this purpose. Yet, since we lack
support for this, we go with this route for now.

| Before | After |
| --- | --- |
| <img width="1608" height="1094" alt="Bildschirmfoto 2025-08-13 um 11
24 26"
src="https://github.com/user-attachments/assets/2a4b5a59-6483-4f79-8fcb-e26e22071795"
/> | <img width="1608" height="1094" alt="Bildschirmfoto 2025-08-13 um
11 29 36"
src="https://github.com/user-attachments/assets/e6402729-6a8f-4a44-b79e-a569406edfff"
/> |


Release Notes:

- N/A
2025-08-13 14:02:20 +02:00
..
button ui: Make toggle button group responsive (#36100) 2025-08-13 14:02:20 +02:00
icon ui: Remove usage of DerivePathStr macro (#30861) 2025-05-17 09:05:58 +00:00
label Move the LoadingLabel component to the UI crate (#33893) 2025-07-04 04:49:11 +00:00
list onboarding: Adjust the AI upsell card depending on user's state (#35658) 2025-08-05 19:22:48 -03:00
notification component: Component crate cleanup (#29967) 2025-05-06 03:41:52 +00:00
progress Refine status bar design (#34324) 2025-07-12 11:48:19 -03:00
stories Redesign and clean up all icons across Zed (#35856) 2025-08-08 15:34:36 -03:00
avatar.rs Refine component preview & add serialization (#28545) 2025-04-11 11:43:57 -04:00
badge.rs onboarding: Add explainer tooltips for the editing and AI section (#35619) 2025-08-04 20:52:22 -03:00
banner.rs Redesign and clean up all icons across Zed (#35856) 2025-08-08 15:34:36 -03:00
button.rs debugger: First slight pass at UI (#27034) 2025-03-19 00:15:48 +00:00
callout.rs Redesign and clean up all icons across Zed (#35856) 2025-08-08 15:34:36 -03:00
chip.rs ui: Add Chip component (#34521) 2025-07-16 01:15:45 -03:00
content_group.rs Merge Component and ComponentPreview trait (#28365) 2025-04-08 16:09:06 -06:00
context_menu.rs Redesign and clean up all icons across Zed (#35856) 2025-08-08 15:34:36 -03:00
disclosure.rs thread view: Add UI refinements (#35754) 2025-08-06 20:31:11 -03:00
divider.rs Merge Component and ComponentPreview trait (#28365) 2025-04-08 16:09:06 -06:00
dropdown_menu.rs onboarding: Use a picker for the font dropdowns (#35638) 2025-08-05 11:38:08 -03:00
facepile.rs Merge Component and ComponentPreview trait (#28365) 2025-04-08 16:09:06 -06:00
group.rs chore: Bump Rust edition to 2024 (#27800) 2025-03-31 20:55:27 +02:00
icon.rs Add progress bar component (#28518) 2025-04-10 12:11:58 -06:00
image.rs onboarding: Add fast-follow adjustments (#35814) 2025-08-07 19:01:52 -03:00
indent_guides.rs project panel: Add indent guides for sticky items (#34092) 2025-07-09 05:28:25 +05:30
indicator.rs Redesign and clean up all icons across Zed (#35856) 2025-08-08 15:34:36 -03:00
keybinding.rs Redesign and clean up all icons across Zed (#35856) 2025-08-08 15:34:36 -03:00
keybinding_hint.rs ui: Add Chip component (#34521) 2025-07-16 01:15:45 -03:00
label.rs Move the LoadingLabel component to the UI crate (#33893) 2025-07-04 04:49:11 +00:00
list.rs onboarding: Adjust the AI upsell card depending on user's state (#35658) 2025-08-05 19:22:48 -03:00
modal.rs onboarding: Add the AI page (#35351) 2025-08-01 10:43:59 -04:00
navigable.rs agent: Refresh the profile selector and modal design (#29816) 2025-05-02 20:34:36 -03:00
notification.rs Add StatusToast & the ToastLayer (#26232) 2025-03-06 20:37:54 +00:00
numeric_stepper.rs onboarding: Wire up tab index (#35659) 2025-08-05 19:48:15 +00:00
popover.rs editor: Ensure code actions menu doesn't grow beyond its max size (#35211) 2025-07-28 21:07:58 +02:00
popover_menu.rs Another lsp tool UI migration (#34009) 2025-07-07 14:28:18 +00:00
progress.rs Add progress bar component (#28518) 2025-04-10 12:11:58 -06:00
radio.rs ui: More component previews, UI component cleanup (#25302) 2025-02-21 09:20:53 -05:00
right_click_menu.rs keymap_ui: Add context menu for table rows (#33747) 2025-07-02 03:06:45 +00:00
scrollbar.rs Thread view scrollbar (#35655) 2025-08-06 14:01:34 +00:00
settings_container.rs Merge Component and ComponentPreview trait (#28365) 2025-04-08 16:09:06 -06:00
settings_group.rs Merge Component and ComponentPreview trait (#28365) 2025-04-08 16:09:06 -06:00
stack.rs chore: Bump Rust edition to 2024 (#27800) 2025-03-31 20:55:27 +02:00
sticky_items.rs project_panel: Fix sticky items horizontal scroll and hover propagation (#34367) 2025-07-13 06:14:30 +05:30
stories.rs Merge Component and ComponentPreview trait (#28365) 2025-04-08 16:09:06 -06:00
tab.rs Make close tab and pin tab buttons slightly larger for better usability (#34428) 2025-08-08 21:04:32 +00:00
tab_bar.rs Merge Component and ComponentPreview trait (#28365) 2025-04-08 16:09:06 -06:00
toggle.rs Make SwitchField component clickable from the keyboard when focused (#35830) 2025-08-11 16:33:21 +00:00
tooltip.rs ui: Add Chip component (#34521) 2025-07-16 01:15:45 -03:00