zed/crates
Nate Butler a205b2dbf3
Update call controls & Add tinted buttons (#3886)
This PR introduces Tinted button styles and the `selected_style` field
on buttons to allow replicating the previous design of titlebar call
controls. It also updates the styles of the titlebar controls.

### Creating a tinted button:

```
Button::new("accept-cta", "Accept")
    .style(ButtonStyle::Tinted(TintColor::Accent))
    .on_click(...)
```

Ths button will always be tinted blue.

### Creating a button that becomes tinted when selected::

```rust
IconButton::new("screen-share", Icon::Screen)
    .style(ButtonStyle::Subtle)
    .selected(is_screen_sharing)
    .selected_style(ButtonStyle::Tinted(TintColor::Accent))
    .on_click(...),
```

This button will be flat/subtle by default, but be tinted blue when it
is `selected`.

Note: There appears to be some issue where `is_deafened` isn't
activating correctly, making the speaker icon not toggle when selected.

Release Notes:

- Restore call control styles to a similar look to Zed 1.
2024-01-05 11:28:18 -05:00
..
activity_indicator Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
ai Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
assistant Respect the setting to show/hide the assistant and chat panels (#3909) 2024-01-05 11:17:29 -05:00
audio Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
auto_update Fix version comparison in auto update 2024-01-04 09:53:57 -08:00
breadcrumbs Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
call Move telemetry settings check into telemetry module 2024-01-04 01:13:21 -05:00
channel Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
cli
client Move telemetry settings check into telemetry module 2024-01-04 01:13:21 -05:00
clock
collab Fixy fix 2024-01-04 19:43:12 -07:00
collab_ui Update call controls & Add tinted buttons (#3886) 2024-01-05 11:28:18 -05:00
collections Use FxHashMap and FxHashSet in hot code paths 2023-12-12 13:35:22 +01:00
command_palette Fix some bugs in keymap handling (#3895) 2024-01-04 16:04:17 -05:00
copilot Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
copilot_button Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
db Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
diagnostics Fix label color for inactive tabs (#3899) 2024-01-04 17:25:11 -05:00
editor Return back git status colors for tab labels 2024-01-05 12:38:42 +02:00
feature_flags Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
feedback Touchups to registrar API 2024-01-05 00:10:23 +01:00
file_finder Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
fs Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
fsevent
fuzzy Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
git Remove 2 suffix for ui, storybook, text 2024-01-03 12:33:51 -08:00
go_to_line Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
gpui Return back git status colors for tab labels (#3906) 2024-01-05 13:52:51 +02:00
gpui_macros Remove 2 suffix from gpui_macros, fix compile errors in tests 2024-01-03 13:12:21 -08:00
install_cli Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
journal Restore timestamp insertion for journal: new journal entry (#3870) 2024-01-03 18:09:55 -05:00
language lsp: Do not cache initialization options 2024-01-04 19:54:58 +01:00
language_selector Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
language_tools Fix label color for inactive tabs (#3899) 2024-01-04 17:25:11 -05:00
live_kit_client Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
live_kit_server
lsp Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
media Start fixing up gpui2 2024-01-02 00:04:51 +01:00
menu Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
multi_buffer Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
node_runtime Upgrade async-compression dep 2023-12-06 14:29:09 -08:00
notifications Rename notification_store 2024-01-03 20:02:23 -05:00
outline Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
picker Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
plugin
plugin_macros
plugin_runtime Bump Rust to 1.75 (#3815) 2023-12-28 19:22:43 +01:00
prettier Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
project lsp: Do not cache initialization options 2024-01-04 19:54:58 +01:00
project_panel Render an empty placeholder when not showing file icons in the project panel (#3897) 2024-01-04 17:10:08 -05:00
project_symbols Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
quick_action_bar Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
recent_projects Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
refineable Another batch of fixups 2024-01-02 00:24:11 +01:00
rich_text Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
rope Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
rpc Remove 2 suffix from gpui_macros, fix compile errors in tests 2024-01-03 13:12:21 -08:00
search Return back old project search behavior as default. (#3892) 2024-01-05 11:35:28 +02:00
semantic_index Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
settings Fix some bugs in keymap handling (#3895) 2024-01-04 16:04:17 -05:00
snippet
sqlez sqlez 2024-01-01 23:56:04 +01:00
sqlez_macros
story Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
storybook Remove 2 suffix from gpui_macros, fix compile errors in tests 2024-01-03 13:12:21 -08:00
sum_tree chore: fix clippy lints for rope2, sum_tree, text2 and util 2024-01-01 23:50:14 +01:00
terminal Moar terminal bugs de2ified (#3894) 2024-01-04 18:40:55 -05:00
terminal_view Avoid leaking TerminalPanel, which would in turn leak Project 2024-01-05 15:54:23 +01:00
text Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
theme Update border variant color 2024-01-03 23:13:26 -05:00
theme_importer Update border variant color 2024-01-03 23:13:26 -05:00
theme_selector Move telemetry settings check into telemetry module 2024-01-04 01:13:21 -05:00
ui Implement Tinted buttons and selected_style for buttons 2024-01-05 11:19:58 -05:00
util Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
vcs_menu Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
vim Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
welcome Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
workspace Remove extra dbg!'s 2024-01-05 17:48:07 +02:00
zed Fix accidental load of default keymap *after* loading user keymap 2024-01-04 15:31:00 -08:00
zed_actions Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00