# Make toggle dock actions appear in the command palette \(\#2525\) · gitcafe/zed

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

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

Visibility: public

Requested revision: a1a66b8da4e7c4ec79b962837db37c6b06102609

Requested commit: a1a66b8da4e7c4ec79b962837db37c6b06102609

Commit: a1a66b8da4e7c4ec79b962837db37c6b06102609

Tree: 7aa8ede976ced2880ef62802bcbad716e507bcdb

Author: Max Brunsfeld

Committer: GitHub

## Message

```
Make toggle dock actions appear in the command palette (#2525)

This makes the `Toggle{Left,Right,Bottom}Dock` actions deserializable
from empty JSON, so that they can be constructed for the command
palette. It also fixes a bug in GPUI's `available_actions` method, in
which we'd include key bindings for actions of the same type but
different values.

Note that, for now, the command palette will perform the *focusing*
version of the actions. I'm not totally sure this is the right behavior,
but it seems more useful to me.

Release Notes:

N/A
```

## Parents

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

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

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