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),
|
||||
)
|
||||
.child(
|
||||
Label::new(match kind {
|
||||
ContextKind::File => "Open File",
|
||||
ContextKind::Thread | ContextKind::Directory | ContextKind::FetchedUrl => {
|
||||
"Active"
|
||||
}
|
||||
})
|
||||
.size(LabelSize::XSmall)
|
||||
.color(Color::Muted),
|
||||
div().px_0p5().child(
|
||||
Label::new(match kind {
|
||||
ContextKind::File => "Active Tab",
|
||||
ContextKind::Thread
|
||||
| ContextKind::Directory
|
||||
| ContextKind::FetchedUrl => "Active",
|
||||
})
|
||||
.size(LabelSize::XSmall)
|
||||
.color(Color::Muted),
|
||||
),
|
||||
)
|
||||
.child(
|
||||
Icon::new(IconName::Plus)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue