thread view: Add ability to expand message editor and fix scroll (#34766)

Release Notes:

- N/A
This commit is contained in:
Danilo Leal 2025-07-21 09:26:31 -03:00 committed by GitHub
parent 88af35fe47
commit 56fd950d94
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 135 additions and 51 deletions

View file

@ -11,6 +11,7 @@ use serde::{Deserialize, Serialize};
use crate::NewExternalAgentThread;
use crate::agent_diff::AgentDiffThread;
use crate::message_editor::{MAX_EDITOR_LINES, MIN_EDITOR_LINES};
use crate::{
AddContextServer, AgentDiffPane, ContinueThread, ContinueWithBurnMode,
DeleteRecentlyOpenThread, ExpandMessageEditor, Follow, InlineAssistant, NewTextThread,
@ -960,6 +961,8 @@ impl AgentPanel {
workspace.clone(),
project,
message_history,
MIN_EDITOR_LINES,
Some(MAX_EDITOR_LINES),
window,
cx,
)