mirror of
https://github.com/zed-industries/zed.git
synced 2026-12-02 05:20:29 +01:00
ed7217ff46
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.