# agent: Add assistant panel width persistence \(\#28808\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/c918f6cde1732f4ae4c97f28f7402b0d9de1853d)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: c918f6cde1732f4ae4c97f28f7402b0d9de1853d

Requested commit: c918f6cde1732f4ae4c97f28f7402b0d9de1853d

Commit: c918f6cde1732f4ae4c97f28f7402b0d9de1853d

Tree: 4e427161457f39a810e2b65a6f0e49c7d8a59740

Author: Umesh Yadav

Committer: GitHub

## Message

```
agent: Add assistant panel width persistence (#28808)

Previously, the assistant panel width was not persisted across sessions.
This meant that upon restarting the Zed editor, the panel would revert
to its default size, disrupting the user's preferred layout.

This pull request introduces persistence for the assistant panel width.
The width is now saved to the key-value store when the editor is closed
and restored on startup, ensuring a consistent UI experience across
different sessions.

Release Notes:

- agent: Add assistant panel width persistence

---------

Signed-off-by: Umesh Yadav <umesh4257@gmail.com>
```

## Parents

- [da98e300cc624b170db1b2df603aa1d8ae993c1b](https://git.cafe/gitcafe/zed/commit/da98e300cc624b170db1b2df603aa1d8ae993c1b?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/c918f6cde1732f4ae4c97f28f7402b0d9de1853d?format=markdown)
