Marshall Bowers
74f8ef0364
Clean up Indicator
( #11275 )
...
This PR cleans up the `Indicator` component:
- Renamed `IndicatorStyle` to `IndicatorKind` and made it private.
- Fixed `Indicator::bar()` to construct an indicator using the right
`IndicatorKind`.
- Removed the `IndicatorIcon`, since we didn't actually end up using it.
Release Notes:
- N/A
2024-05-01 18:10:35 -04:00
Marshall Bowers
4739797e5d
Add the ability to render icons as indicators ( #11273 )
...
This PR adds the ability to render `Icon`s as an `Indicator`.
Release Notes:
- N/A
Co-authored-by: Nate Butler <nate@zed.dev>
2024-05-01 17:52:26 -04:00
Andrew Lygin
57a1b9b2cd
tab_switcher: Add tab close buttons ( #9968 )
...
Support for closing tabs from Tab Switcher:
- Close button color matches the indicator color to preserve the
information that the buffer is dirty (as in SublimeText).
- `ctrl-backspace` closes the currently selected item.
https://github.com/zed-industries/zed/assets/2101250/8ea33911-2f62-4199-826d-c17556db8e9a
Release Notes:
- N/A
2024-04-03 17:28:51 +02:00
Max Brunsfeld
4305c5fdbe
Remove 2 suffix for ui, storybook, text
...
Co-authored-by: Mikayla <mikayla@zed.dev>
2024-01-03 12:33:51 -08:00