# Adds a way to dismiss workspace notifications \(\#30015\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 007fd0586a1f35d8ae2e0ac14800007558250c45

Requested commit: 007fd0586a1f35d8ae2e0ac14800007558250c45

Commit: 007fd0586a1f35d8ae2e0ac14800007558250c45

Tree: 2b69022c5c787eb8bc1743c814d515783d05c004

Author: Kirill Bulatov

Committer: GitHub

## Message

```
Adds a way to dismiss workspace notifications (#30015)

Closes https://github.com/zed-industries/zed/issues/10140

* On `menu::Cancel` action (`ESC`), close notifications, one by one, if
`Workspace` gets to handle this action.
More specific, focused items contexts (e.g. `Editor`) take priority.

* Allows to temporarily suppress notifications of this kind either by
clicking a corresponding button in the UI, or using
`workspace::SuppressNotification` action.

This might not work well out of the box for all notifications and might
require further improvement.


https://github.com/user-attachments/assets/0ea49ee6-cd21-464f-ba74-fc40f7a8dedf


Release Notes:

- Added a way to dismiss workspace notifications
```

## Parents

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

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