thread_view: Adjust empty state and error displays (#36774)

Also changes the message editor placeholder depending on the agent.

Release Notes:

- N/A

---------

Co-authored-by: Conrad Irwin <conrad.irwin@gmail.com>
This commit is contained in:
Danilo Leal 2025-08-22 17:40:52 -03:00 committed by GitHub
parent 896a35f7be
commit 639417c2bc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 254 additions and 267 deletions

View file

@ -23,11 +23,11 @@ impl NativeAgentServer {
impl AgentServer for NativeAgentServer {
fn name(&self) -> &'static str {
"Native Agent"
"Zed Agent"
}
fn empty_state_headline(&self) -> &'static str {
"Welcome to the Agent Panel"
self.name()
}
fn empty_state_message(&self) -> &'static str {