Change summary
crates/agent_ui/src/acp/thread_view.rs | 1 +
crates/agent_ui/src/agent_panel.rs | 9 +++++----
2 files changed, 6 insertions(+), 4 deletions(-)
Detailed changes
@@ -2453,6 +2453,7 @@ impl Render for AcpThreadView {
.on_action(cx.listener(Self::previous_history_message))
.on_action(cx.listener(Self::next_history_message))
.on_action(cx.listener(Self::open_agent_diff))
+ .bg(cx.theme().colors().panel_background)
.child(match &self.thread_state {
ThreadState::Unauthenticated { connection } => v_flex()
.p_2()
@@ -1880,10 +1880,10 @@ impl AgentPanel {
}),
);
- let zoom_in_label = if self.is_zoomed(window, cx) {
- "Zoom Out"
+ let full_screen_label = if self.is_zoomed(window, cx) {
+ "Disable Full Screen"
} else {
- "Zoom In"
+ "Enable Full Screen"
};
let active_thread = match &self.active_view {
@@ -2071,7 +2071,8 @@ impl AgentPanel {
menu = menu
.action("Rulesβ¦", Box::new(OpenRulesLibrary::default()))
.action("Settings", Box::new(OpenSettings))
- .action(zoom_in_label, Box::new(ToggleZoom));
+ .separator()
+ .action(full_screen_label, Box::new(ToggleZoom));
menu
}))
}