gpui-component/docs/docs
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
..
components dock: Refactor Panel trait to has &mut self and &mut Context<Self>. (#1716) 2025-12-01 17:57:18 +08:00
assets.md assets: Move assets files into crates/assets folder for crate publish. (#1609) 2025-11-14 19:00:29 +08:00
context.md docs: Add Context & ElementId doc. (#1460) 2025-10-29 23:37:26 +08:00
element_id.md docs: Add Context & ElementId doc. (#1460) 2025-10-29 23:37:26 +08:00
getting-started.md docs: Improve docs to use variable version from toml. (#1603) 2025-11-14 16:10:48 +08:00
index.md docs: Improve docs to use variable version from toml. (#1603) 2025-11-14 16:10:48 +08:00
installation.md docs: Improve docs to use variable version from toml. (#1603) 2025-11-14 16:10:48 +08:00
root.md example: Follow up #1594 missed changes. (#1595) 2025-11-14 11:22:55 +08:00
theme.md docs: Fix theme_name type (#1614) 2025-11-17 09:56:24 +08:00