# agent_ui: Show placeholder title in agent panel empty-state toolbar \(\#59126\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 638b33ca2bf6ac5d85bb5e0b1e701bcf65e5b5b0

Requested commit: 638b33ca2bf6ac5d85bb5e0b1e701bcf65e5b5b0

Commit: 638b33ca2bf6ac5d85bb5e0b1e701bcf65e5b5b0

Tree: c49aa77c1f60aa6e847304bca37fd9e54a1dd6ea

Author: Danilo Leal

Committer: GitHub

## Message

```
agent_ui: Show placeholder title in agent panel empty-state toolbar (#59126)

When the agent panel's thread is empty, the toolbar no longer shows the
labeled agent dropdown on the far left. Instead, it uses the same layout
as an active thread: a stable plus icon button on the far right, and the
left slot displays a muted "New {agent} Thread" placeholder title —
matching the sidebar's draft thread item. As soon as you type into the
message editor, the title shows your prompt text instead, reusing the
sidebar's draft label truncation logic.

Release Notes:

- Improved the agent panel's empty-state toolbar to show a "New {agent}
Thread" placeholder title (or your draft prompt as you type), with a
stable new-thread button on the right.
```

## Parents

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

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