Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Showing 2 changed files with 15 additions and 4 deletions.
| @@ -1690,9 +1690,13 @@ impl SettingsView { | ||
| 1690 | 1690 | .child( |
| 1691 | 1691 | h_flex() |
| 1692 | 1692 | .gap(px(8.)) |
| 1693 | - .child(text_field(&self.connect_name, 150., window, cx)) | |
| 1694 | - .child(text_field(&self.connect_address, 220., window, cx)) | |
| 1695 | - .child(text_field(&self.connect_key, 150., window, cx)) | |
| 1693 | + .child(text_field(&self.connect_name, 200., window, cx).flex_1()) | |
| 1694 | + .child(text_field(&self.connect_address, 300., window, cx).flex_1()), | |
| 1695 | + ) | |
| 1696 | + .child( | |
| 1697 | + h_flex() | |
| 1698 | + .gap(px(8.)) | |
| 1699 | + .child(text_field(&self.connect_key, 300., window, cx).flex_1()) | |
| 1696 | 1700 | .child( |
| 1697 | 1701 | MetalButton::new("connect-remote") |
| 1698 | 1702 | .primary() |
| @@ -1349,7 +1349,14 @@ impl Workspace { | ||
| 1349 | 1349 | let projects: Vec<(usize, SharedString)> = self |
| 1350 | 1350 | .ordered_projects(cx) |
| 1351 | 1351 | .into_iter() |
| 1352 | - .map(|ix| (ix, self.projects[ix].name.clone())) | |
| 1352 | + .map(|ix| { | |
| 1353 | + let project = &self.projects[ix]; | |
| 1354 | + let name = match &project.environment { | |
| 1355 | + Some(env) => format!("{} · {}", project.name, self.environment_name(env)).into(), | |
| 1356 | + None => project.name.clone(), | |
| 1357 | + }; | |
| 1358 | + (ix, name) | |
| 1359 | + }) | |
| 1353 | 1360 | .collect(); |
| 1354 | 1361 | let workspace = cx.entity().downgrade(); |
| 1355 | 1362 | |