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
Unified · Split
| @@ -145,14 +145,16 @@ impl RenderOnce for ContextPill { · 144 unmodified lines | |||
| 145 | .color(Color::Muted), | 145 | .color(Color::Muted), |
| 146 | ) | 146 | ) |
| 147 | .child( | 147 | .child( |
| 148 | Label::new(match kind { | 148 | div().px_0p5().child( |
| 149 | ContextKind::File => "Open File", | 149 | Label::new(match kind { |
| 150 | ContextKind::Thread | ContextKind::Directory | ContextKind::FetchedUrl => { | 150 | ContextKind::File => "Active Tab", |
| 151 | "Active" | 151 | ContextKind::Thread |
| 152 | } | 152 | | ContextKind::Directory |
| 153 | }) | 153 | | ContextKind::FetchedUrl => "Active", |
| 154 | .size(LabelSize::XSmall) | 154 | }) |
| 155 | .color(Color::Muted), | 155 | .size(LabelSize::XSmall) |
| 156 | .color(Color::Muted), | ||
| 157 | ), | ||
| 156 | ) | 158 | ) |
| 157 | .child( | 159 | .child( |
| 158 | Icon::new(IconName::Plus) | 160 | Icon::new(IconName::Plus) |