# workspace: Add new "close active dock" action for closing any focused dock \(\#30369\) · gitcafe/zed

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

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

Visibility: public

Requested revision: f248da5921da0355377c11f674227ae62b8b6a39

Requested commit: f248da5921da0355377c11f674227ae62b8b6a39

Commit: f248da5921da0355377c11f674227ae62b8b6a39

Tree: ef28e79c996ea1dd6f43d1e8ddc488135e51e126

Author: Ben Brandt

Committer: GitHub

## Message

```
workspace: Add new "close active dock" action for closing any focused dock (#30369)

This is a more generic implementation of
https://github.com/zed-industries/zed/pull/30360

This also removes the need for a separate close action for the git
panel.

The downside is maybe it is harder to find since it is less specific.

Release Notes:

- workspace: Added new `workspace: close active dock` action to close
the currently focused dock
```

## Parents

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

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