gpui-component/crates/story/examples
Jason Lee 4ded78ed30
dock: Refactor Panel trait to has &mut self and &mut Context<Self>. (#1716)
Continue #1712, #1713

## Description

Also change the `Panel` trait to has `&mut self` and `&mut
Context<Self>`.

## Break Changes

The methods `title`, `title_prefix`, `set_zoomed`, `set_active`,
`dropdown_menu`, `toolbar_buttons`, `on_added_to`, `on_removed` has
changed `&self` to `&mut self`, and `cx: &App` to `cx: &mut
Context<Self>`.

```diff
- fn title(&self, window: &Window, cx: &App) -> AnyElement
+ fn title(&mut self, window: &Window, cx: &mut Context<Self>) -> AnyElement
```
2025-12-01 17:57:18 +08:00
..
fixtures editor: Add document_colors LSP. (#1329) 2025-10-06 18:08:12 +08:00
brush.rs setting: Add Settings component. (#1632) 2025-11-20 13:51:44 +00:00
dock.rs story: Use uniform_list for scroll example. (#1709) 2025-12-01 11:07:29 +08:00
editor.rs theme: Use font_family for all elements. (#1618) 2025-11-17 03:18:17 +00:00
html.rs theme: Use font_family for all elements. (#1618) 2025-11-17 03:18:17 +00:00
large-text.rs input: Add to support CodeEditor as single line mode. (#1696) 2025-11-28 19:51:40 +08:00
markdown.rs theme: Use font_family for all elements. (#1618) 2025-11-17 03:18:17 +00:00
tiles.rs dock: Refactor Panel trait to has &mut self and &mut Context<Self>. (#1716) 2025-12-01 17:57:18 +08:00
webview.rs assets: Add gpui-component-assets crate. (#1601) 2025-11-14 15:03:26 +08:00