show host in titlebar (#3072)
Release Notes: - show host in the titlebar of shared projects - clicking on faces in the titlebar will now always follow the person (it used to toggle) - clicking on someone in the channel panel will follow that person - highlight the currently open project in the channel panel - fixes a bug where sometimes following between workspaces would not work
This commit is contained in:
commit
d9813a5bec
17 changed files with 1713 additions and 1256 deletions
|
@ -975,6 +975,10 @@ impl Project {
|
|||
&self.collaborators
|
||||
}
|
||||
|
||||
pub fn host(&self) -> Option<&Collaborator> {
|
||||
self.collaborators.values().find(|c| c.replica_id == 0)
|
||||
}
|
||||
|
||||
/// Collect all worktrees, including ones that don't appear in the project panel
|
||||
pub fn worktrees<'a>(
|
||||
&'a self,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue