# context menu: Adjust item disabled state when there is docs aside \(\#25860\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 61d584db450dda88f43c3c8a384c99e367d2a8e1

Requested commit: 61d584db450dda88f43c3c8a384c99e367d2a8e1

Commit: 61d584db450dda88f43c3c8a384c99e367d2a8e1

Tree: 85a3596014bc425028870a64a74929b7b2610223

Author: Danilo Leal

Committer: GitHub

## Message

```
context menu: Adjust item disabled state when there is docs aside (#25860)

When a context menu item has a documentation aside element attached to
it, we're now hiding the keybinding (which wouldn't trigger anything
anyway) to make room for displaying an info icon, with the purpose of
indicating the existence of the docs aside, which will typically explain
the reason why the item’s disabled in the first place.

Also, changed the label color to use the `Disabled` token; more
appropriate for this, and just slightly darker, which is great!

<img
src="https://github.com/user-attachments/assets/a7f9f022-16d1-41d5-b1b5-3cbcc9630cc8"
width="500px"/>

Release Notes:

- N/A
```

## Parents

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

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