From dabc4d8ff5ff53467d32add030076346d23b2db6 Mon Sep 17 00:00:00 2001 From: Danilo Leal <67129314+danilo-leal@users.noreply.github.com> Date: Tue, 8 Apr 2025 21:08:56 -0300 Subject: [PATCH] agent: Remove type of item in the panel history view (#28382) This PR removes the labels displaying whether a certain item in the Agent Panel's history is a thread or prompt editor. Release Notes: - N/A --- crates/agent/src/thread_history.rs | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/crates/agent/src/thread_history.rs b/crates/agent/src/thread_history.rs index a4102f28d65bf0847c810f5adb0c7322b4cac28f..bb0d8ca3fd2ecd23ed3fcb8958615b5a92f8a733 100644 --- a/crates/agent/src/thread_history.rs +++ b/crates/agent/src/thread_history.rs @@ -431,17 +431,6 @@ impl RenderOnce for PastThread { .end_slot( h_flex() .gap_1p5() - .child( - Label::new("Thread") - .color(Color::Muted) - .size(LabelSize::XSmall), - ) - .child( - div() - .size(px(3.)) - .rounded_full() - .bg(cx.theme().colors().text_disabled), - ) .child( Label::new(thread_timestamp) .color(Color::Muted) @@ -533,17 +522,6 @@ impl RenderOnce for PastContext { .end_slot( h_flex() .gap_1p5() - .child( - Label::new("Prompt Editor") - .color(Color::Muted) - .size(LabelSize::XSmall), - ) - .child( - div() - .size(px(3.)) - .rounded_full() - .bg(cx.theme().colors().text_disabled), - ) .child( Label::new(context_timestamp) .color(Color::Muted)