# git_panel: Persist dock size \(\#32111\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 0cb7dd297224cf28c191ddf4dff4add079c506b2

Requested commit: 0cb7dd297224cf28c191ddf4dff4add079c506b2

Commit: 0cb7dd297224cf28c191ddf4dff4add079c506b2

Tree: bf16fabaeda0651e115724b535e0b8c811720f0e

Author: vipex

Committer: GitHub

## Message

```
git_panel: Persist dock size (#32111)

Closes #32054

The dock size for the git panel wasn't being persisted across Zed
restarts. This was because the git panel lacked the serialization
pattern used by other panels.

Please let me know if you have any sort of feedback or anything, as i'm
still trying to learn :]

Release Notes:

- Fixed Git Panel dock size not being remembered across Zed restarts

## TODO
- [x] Update/fix tests that may be broken by the GitPanel constructor
changes
```

## Parents

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

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