Files
oak-gpui/crates
Danilo Leal ed7217ff46 ui prompt: Adjust UI and focus visibility (#39106)
Closes https://github.com/zed-industries/zed/issues/38643

This PR adds some UI improvements to the Zed replacement of the system
dialog/prompt, including better visibility of which button is currently
focused.

One little design note, though: because of a current (and somewhat
annoying) constraint of button component, where we're only drawing a
border when its style is outlined, if I kept them horizontally stacked,
there'd be a little layout shift now that I'm toggling styles for better
focus visibility. So, for this reason, I changed them to be vertically
stacked, which matches the macOS design and avoids this problem. Maybe
in the future, we'll revert it back to being `flex_row` because that
ultimately consumes less space.


https://github.com/user-attachments/assets/500c840b-6b56-4c0c-b56a-535939398a7b

Release Notes:

- Improve focus visibility of the actions within Zed's UI system prompt.
2025-09-29 10:09:31 -03:00
..
2025-09-18 16:47:23 +00:00
2025-08-13 13:25:52 -06:00
2025-09-08 21:53:17 -06:00
2025-09-25 14:42:32 -07:00
2025-09-25 14:42:32 -07:00
2025-09-03 22:10:14 +00:00
2025-09-26 11:41:26 -04:00
2025-09-25 14:42:32 -07:00
2025-09-25 14:42:32 -07:00
2025-09-18 16:47:23 +00:00
2025-09-17 10:47:09 +00:00
2025-09-26 11:41:26 -04:00
2025-09-24 02:19:52 -06:00
2025-09-18 16:47:23 +00:00
2025-09-18 16:47:23 +00:00
2025-09-25 14:42:32 -07:00
2025-09-25 14:42:32 -07:00
2025-09-08 21:53:17 -06:00
2025-09-22 14:36:10 -07:00
2025-09-18 16:47:23 +00:00
2025-09-18 16:47:23 +00:00
2025-09-24 16:03:08 +00:00
2025-09-26 11:41:26 -04:00