# Always open agent panel when selecting a thread or draft \(\#53664\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 93e36aa55ef9b43efc59ebe7a3f036149f88db47

Requested commit: 93e36aa55ef9b43efc59ebe7a3f036149f88db47

Commit: 93e36aa55ef9b43efc59ebe7a3f036149f88db47

Tree: 42d69b1b4626a1f054cb50185f0ff5870baef60a

Author: Nathan Sobo

Committer: GitHub

## Message

```
Always open agent panel when selecting a thread or draft (#53664)

When clicking a draft placeholder ("New Agent Thread" tab) or confirming
one via keyboard, the agent panel now always opens. Previously it only
focused the panel if it was already visible.

Regular threads and drafts with IDs already opened the panel through
`activate_draft` and `load_agent_thread_in_workspace`. The project
header click continues to activate the workspace without forcing the
panel open.

cc @danilo-leal

Release Notes:

- N/A
```

## Parents

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

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