# git_panel: Toggle stage all when clicking changes label \(\#23548\) · gitcafe/zed

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

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

Visibility: public

Requested revision: fb332a0170ea65f40be9210b9053011c0c5b89e7

Requested commit: fb332a0170ea65f40be9210b9053011c0c5b89e7

Commit: fb332a0170ea65f40be9210b9053011c0c5b89e7

Tree: db7641e1c3e6b4af18804076d454142d810342b9

Author: Nate Butler

Committer: GitHub

## Message

```
git_panel: Toggle stage all when clicking changes label (#23548)

When clicking the checkbox label fire the toggle action.

At first I wasn't sure this is what we wanted, but after looking at a
few existing implementations of checkboxes with labels it seems like
this is reasonably standard.

Eventually this piece of UI will be updated to a CheckboxWithLabel, but
for now it is custom due to some specific style requirements.

Release Notes:

- N/A
```

## Parents

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

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