# Improve diagnostic header UI \(\#9888\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 9bce5e8b823a184e7702c51f94cf2541faf0e6ea

Requested commit: 9bce5e8b823a184e7702c51f94cf2541faf0e6ea

Commit: 9bce5e8b823a184e7702c51f94cf2541faf0e6ea

Tree: 4e313e7dcc7539277324d5d92f8d9b8bf070b6ad

Author: Mikayla Maki

Committer: GitHub

## Message

```
Improve diagnostic header UI (#9888)

This PR rearranges the diagnostics to put the headers to the left of the
diagnostic messages and adds an additional button to close the
diagnostics.

<img width="394" alt="Screenshot 2024-03-27 at 2 01 19 PM"
src="https://github.com/zed-industries/zed/assets/2280405/83be4051-6441-47c6-9b48-77c75ce9c8eb">

<img width="326" alt="Screenshot 2024-03-27 at 2 01 56 PM"
src="https://github.com/zed-industries/zed/assets/2280405/d849ca34-91e9-4de6-9d9c-503b75e97d60">

As a drive by, I also quieted a useless but loud log message.

Release Notes:

- Added a close button to the `f8` diagnostics.
```

## Parents

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

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