# agent_ui: Add some general UI fixes \(\#53696\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 6213f06e1b01f48ee73ccfee9e3c6cddcd959317

Requested commit: 6213f06e1b01f48ee73ccfee9e3c6cddcd959317

Commit: 6213f06e1b01f48ee73ccfee9e3c6cddcd959317

Tree: b61be404d3f1f587a568ce0707720ac51f0aa744

Author: Danilo Leal

Committer: GitHub

## Message

```
agent_ui: Add some general UI fixes (#53696)

A note-worthy thing I'm adding in this PR to fix an agent panel problem
is a trait method allowing to set a min-width in panels. I think some of
them—if not all—could benefit from it, because there is a certain width
these panels can get in that we just can't ensure they will work; things
will break. So we either accept that and let the user's common sense
understand that, or we don't allow them to reach that state... Surely, a
small enough _window_ size can still break things, but then it's out of
the realms of solution...

Release Notes:

- Agent: Fixed multi-line queued messages getting cut-off when the agent
panel is in full screen.
- Agent: Fixed agent panel getting auto-closed after submitting a queued
message when the panel is in full screen.
- Agent: Added a min-width to the agent panel, preventing it from
reaching a small enough width where it would be essentially unusable.
```

## Parents

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

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