zed/crates/storybook/src
Marshall Bowers c1f1c5e75f
ui: Refine TitleBar component (#9415)
This PR continues the refinements to the `TitleBar` component.

Here are the notable changes:

- `KeyBindingDisplay` and `PlatformStyle` have been unified into a
single `PlatformStyle`.
- This provides us a consistent way for adapting UI to different
platform styles.
- `PlatformTitlebar` has been renamed to `TitleBar`.
  - The `Platform` prefix was irrelevant.
- The Windows window controls have been factored out into a separate
module and have been componentized.

<img width="1283" alt="Screenshot 2024-03-15 at 3 34 38 PM"
src="https://github.com/zed-industries/zed/assets/1486634/07da391f-828b-48bf-8849-58863f4ccce7">

> I'm missing the Segoe Fluent Icons font, so that's why the aren't
rendering properly.

Release Notes:

- N/A
2024-03-15 15:48:07 -04:00
..
stories Fix flickering (#9012) 2024-03-11 10:45:57 +01:00
actions.rs Add an app_menu to Storybook which enables quitting with cmd-q (#8166) 2024-02-22 12:51:40 -05:00
app_menus.rs Add an app_menu to Storybook which enables quitting with cmd-q (#8166) 2024-02-22 12:51:40 -05:00
assets.rs Load embedded fonts directly from .rdata instead of cloning (#6932) 2024-01-29 10:06:57 +01:00
stories.rs Fix flickering (#9012) 2024-03-11 10:45:57 +01:00
story_selector.rs ui: Refine TitleBar component (#9415) 2024-03-15 15:48:07 -04:00
storybook.rs Open new windows with a default size and position (#9204) 2024-03-12 21:19:51 -07:00