Handle drag and drop in new agent threads (#35879)
This is a bit simpler than for the original agent thread view, since we don't have to deal with opening buffers or a context store. Release Notes: - N/A
This commit is contained in:
parent
2cde6da5ff
commit
f3a58b50c4
3 changed files with 61 additions and 4 deletions
|
@ -3187,8 +3187,10 @@ impl AgentPanel {
|
|||
.detach();
|
||||
});
|
||||
}
|
||||
ActiveView::ExternalAgentThread { .. } => {
|
||||
unimplemented!()
|
||||
ActiveView::ExternalAgentThread { thread_view } => {
|
||||
thread_view.update(cx, |thread_view, cx| {
|
||||
thread_view.insert_dragged_files(paths, added_worktrees, window, cx);
|
||||
});
|
||||
}
|
||||
ActiveView::TextThread { context_editor, .. } => {
|
||||
context_editor.update(cx, |context_editor, cx| {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue