notedeck

One damus client to rule them all
git clone git://jb55.com/notedeck
Log | Files | Refs | README | LICENSE

commit 5b6cf5ebe452c4538b5c338ca55b40bc27884648
parent 59f8ae7a2322eb1c7ead4565f4d1623cc0f2f2da
Author: William Casarin <jb55@jb55.com>
Date:   Mon, 26 Jan 2026 13:26:34 -0800

dave: change scene view to 50/50 split

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

Diffstat:
Mcrates/notedeck_dave/src/lib.rs | 6++----
Mcrates/notedeck_messages/src/ui/convo.rs | 9+++++++--
2 files changed, 9 insertions(+), 6 deletions(-)

diff --git a/crates/notedeck_dave/src/lib.rs b/crates/notedeck_dave/src/lib.rs @@ -307,8 +307,6 @@ You are an AI agent for the nostr protocol called Dave, created by Damus. nostr let mut dave_response = DaveResponse::default(); let mut scene_response: Option<SceneResponse> = None; - let panel_width = 400.0; - // Update all session statuses self.session_manager.update_all_statuses(); @@ -319,8 +317,8 @@ You are an AI agent for the nostr protocol called Dave, created by Damus. nostr } StripBuilder::new(ui) - .size(Size::remainder()) // Scene area takes remaining space - .size(Size::exact(panel_width)) // Chat panel fixed width + .size(Size::relative(0.5)) // Scene area: 50% + .size(Size::remainder()) // Chat panel: 50% .clip(true) // Clip content to cell bounds .horizontal(|mut strip| { // Scene area (main) diff --git a/crates/notedeck_messages/src/ui/convo.rs b/crates/notedeck_messages/src/ui/convo.rs @@ -423,7 +423,10 @@ fn self_chat_bubble( ui.with_layout(Layout::right_to_left(Align::Min), |ui| { chat_bubble(ui, msg_type, true, bubble_fill, |ui| { ui.with_layout(Layout::top_down(Align::Max), |ui| { - ui.label(RichText::new(message).color(ui.visuals().text_color())); + ui.add( + egui::Label::new(RichText::new(message).color(ui.visuals().text_color())) + .selectable(true), + ); if msg_type == MessageType::Standalone || msg_type == MessageType::LastInSeries { let timestamp_label = @@ -466,7 +469,9 @@ fn other_chat_bubble( ui.with_layout( Layout::left_to_right(Align::Max).with_main_wrap(true), |ui| { - ui.label(RichText::new(message).color(text_color)); + ui.add( + egui::Label::new(RichText::new(message).color(text_color)).selectable(true), + ); if msg_type == MessageType::Standalone || msg_type == MessageType::LastInSeries { ui.add_space(6.0);