Port upstream UI polish and refresh dependencies
Bring over selected Warp UI improvements: selectable Thought text, message timestamps, animated theme backgrounds, editable New Window shortcuts, safer tab renaming and restoration, and text/font/discard crash fixes. Match upstream orchestration pill geometry and tooltips, and replace expanded subagent previews with compact links that retain live status and conversation navigation for launches and follow-up messages. Include the pending Cargo.lock dependency refresh. Adapted upstream PRs: #15948, #15884, #15691, #14618, #15772, #15705, #15605, #14895, #15996, #15771, #14893, and #14603.
This commit is contained in:
@@ -2167,6 +2167,26 @@ impl BlocklistAIHistoryModel {
|
||||
);
|
||||
}
|
||||
|
||||
/// Clears a closed surface without notifying a controller whose conversations moved elsewhere.
|
||||
pub(crate) fn clear_conversations_for_closed_terminal_surface(
|
||||
&mut self,
|
||||
terminal_surface_id: EntityId,
|
||||
ctx: &mut ModelContext<Self>,
|
||||
) {
|
||||
if self
|
||||
.live_conversation_ids_for_terminal_surface
|
||||
.get(&terminal_surface_id)
|
||||
.is_none_or(Vec::is_empty)
|
||||
{
|
||||
self.active_conversation_for_terminal_surface
|
||||
.remove(&terminal_surface_id);
|
||||
self.live_conversation_ids_for_terminal_surface
|
||||
.remove(&terminal_surface_id);
|
||||
return;
|
||||
}
|
||||
self.clear_conversations_for_terminal_surface(terminal_surface_id, ctx);
|
||||
}
|
||||
|
||||
/// Handle removing a conversation from the history model, blocklist and in-memory.
|
||||
pub fn remove_conversation(
|
||||
&mut self,
|
||||
|
||||
Reference in New Issue
Block a user