assistant2: Change suggested file context pill label (#22967)
Changing it from "Open File" to "Active Tab" instead. <img width="800" alt="Screenshot 2025-01-10 at 11 09 54 AM" src="https://github.com/user-attachments/assets/534e94a4-df61-41d4-ad50-514ab9a87e4e" /> Release Notes: - N/A
This commit is contained in:
parent
5310e33356
commit
cbc403d3f3
1 changed files with 10 additions and 8 deletions
|
@ -145,14 +145,16 @@ impl RenderOnce for ContextPill {
|
||||||
.color(Color::Muted),
|
.color(Color::Muted),
|
||||||
)
|
)
|
||||||
.child(
|
.child(
|
||||||
Label::new(match kind {
|
div().px_0p5().child(
|
||||||
ContextKind::File => "Open File",
|
Label::new(match kind {
|
||||||
ContextKind::Thread | ContextKind::Directory | ContextKind::FetchedUrl => {
|
ContextKind::File => "Active Tab",
|
||||||
"Active"
|
ContextKind::Thread
|
||||||
}
|
| ContextKind::Directory
|
||||||
})
|
| ContextKind::FetchedUrl => "Active",
|
||||||
.size(LabelSize::XSmall)
|
})
|
||||||
.color(Color::Muted),
|
.size(LabelSize::XSmall)
|
||||||
|
.color(Color::Muted),
|
||||||
|
),
|
||||||
)
|
)
|
||||||
.child(
|
.child(
|
||||||
Icon::new(IconName::Plus)
|
Icon::new(IconName::Plus)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue