parent
790b56f52c
commit
d63658cee2
6 changed files with 5 additions and 7 deletions
|
@ -1 +0,0 @@
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-message-circle-more"><path d="M7.9 20A9 9 0 1 0 4 16.1L2 22Z"/><path d="M8 12h.01"/><path d="M12 12h.01"/><path d="M16 12h.01"/></svg>
|
|
Before Width: | Height: | Size: 337 B |
|
@ -50,7 +50,7 @@ impl ContextKind {
|
||||||
ContextKind::Directory => IconName::Folder,
|
ContextKind::Directory => IconName::Folder,
|
||||||
ContextKind::Symbol => IconName::Code,
|
ContextKind::Symbol => IconName::Code,
|
||||||
ContextKind::FetchedUrl => IconName::Globe,
|
ContextKind::FetchedUrl => IconName::Globe,
|
||||||
ContextKind::Thread => IconName::MessageCircle,
|
ContextKind::Thread => IconName::MessageBubbles,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -84,7 +84,7 @@ impl ContextPickerMode {
|
||||||
Self::File => IconName::File,
|
Self::File => IconName::File,
|
||||||
Self::Symbol => IconName::Code,
|
Self::Symbol => IconName::Code,
|
||||||
Self::Fetch => IconName::Globe,
|
Self::Fetch => IconName::Globe,
|
||||||
Self::Thread => IconName::MessageCircle,
|
Self::Thread => IconName::MessageBubbles,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -152,7 +152,7 @@ impl ContextPickerCompletionProvider {
|
||||||
let icon_for_completion = if recent {
|
let icon_for_completion = if recent {
|
||||||
IconName::HistoryRerun
|
IconName::HistoryRerun
|
||||||
} else {
|
} else {
|
||||||
IconName::MessageCircle
|
IconName::MessageBubbles
|
||||||
};
|
};
|
||||||
let new_text = format!("@thread {}", thread_entry.summary);
|
let new_text = format!("@thread {}", thread_entry.summary);
|
||||||
let new_text_len = new_text.len();
|
let new_text_len = new_text.len();
|
||||||
|
@ -164,7 +164,7 @@ impl ContextPickerCompletionProvider {
|
||||||
source: project::CompletionSource::Custom,
|
source: project::CompletionSource::Custom,
|
||||||
icon_path: Some(icon_for_completion.path().into()),
|
icon_path: Some(icon_for_completion.path().into()),
|
||||||
confirm: Some(confirm_completion_callback(
|
confirm: Some(confirm_completion_callback(
|
||||||
IconName::MessageCircle.path().into(),
|
IconName::MessageBubbles.path().into(),
|
||||||
thread_entry.summary.clone(),
|
thread_entry.summary.clone(),
|
||||||
excerpt_id,
|
excerpt_id,
|
||||||
source_range.start,
|
source_range.start,
|
||||||
|
|
|
@ -197,7 +197,7 @@ pub fn render_thread_context_entry(
|
||||||
.gap_1p5()
|
.gap_1p5()
|
||||||
.max_w_72()
|
.max_w_72()
|
||||||
.child(
|
.child(
|
||||||
Icon::new(IconName::MessageCircle)
|
Icon::new(IconName::MessageBubbles)
|
||||||
.size(IconSize::XSmall)
|
.size(IconSize::XSmall)
|
||||||
.color(Color::Muted),
|
.color(Color::Muted),
|
||||||
)
|
)
|
||||||
|
|
|
@ -146,7 +146,6 @@ pub enum IconName {
|
||||||
Maximize,
|
Maximize,
|
||||||
Menu,
|
Menu,
|
||||||
MessageBubbles,
|
MessageBubbles,
|
||||||
MessageCircle,
|
|
||||||
Cloud,
|
Cloud,
|
||||||
Mic,
|
Mic,
|
||||||
MicMute,
|
MicMute,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue