feat: moved a2ui surface to a separate panel
This commit is contained in:
@@ -293,21 +293,8 @@ impl App {
|
||||
let transcript = scrollable(messages)
|
||||
.id(chat_scroll_id())
|
||||
.height(Length::Fill);
|
||||
let workspace: Element<'_, Message> =
|
||||
if let Some(surface) = self.displayed_a2ui_surface() {
|
||||
column![
|
||||
container(surface).height(Length::FillPortion(1)),
|
||||
rule::horizontal(1),
|
||||
container(transcript).height(Length::FillPortion(1)),
|
||||
]
|
||||
.height(Length::Fill)
|
||||
.spacing(8)
|
||||
.into()
|
||||
} else {
|
||||
transcript.into()
|
||||
};
|
||||
let conversation = column![
|
||||
workspace,
|
||||
transcript,
|
||||
container(composer_content,)
|
||||
.padding(16)
|
||||
.width(Length::Fill)
|
||||
|
||||
Reference in New Issue
Block a user