Sessions Integration Feature

Nucleic-Session: FC94353F-9F0D-4BCC-AD7C-0FB14E38C2E5
Co-authored-by: Nucleic <[email protected]>
This commit is contained in:
2026-07-05 01:56:51 -07:00
co-authored by Nucleic
parent 440a6f1cdf
commit 698717beae
@@ -151,7 +151,13 @@ struct SessionRow: View {
systemImage: "arrow.down.forward")
.font(.caption).foregroundStyle(.secondary).lineLimit(1)
} else if showProjectName {
Text(summary.projectName).font(.caption).foregroundStyle(.secondary)
// With more than one Mac connected, tag the owning Mac so the merged list stays
// distinguishable (mesh P3); a single-Mac view just shows the project.
if store.connectedHostCount > 1, let host = store.hostName(forSession: summary.sessionID) {
Text("\(summary.projectName) · \(host)").font(.caption).foregroundStyle(.secondary)
} else {
Text(summary.projectName).font(.caption).foregroundStyle(.secondary)
}
}
}
Spacer()