zed/crates/zed
Max Brunsfeld f011a3df52
Allow following participants who aren't in the same project (#2993)
The goal of this PR is to make Following more intuitive.

### Old Behavior

Previously, following was scoped to a project. In order to follow
someone in a given window, the window needed to contain a shared
project, and the leader needed to be present in the project. Otherwise,
following failed.

### New Behavior

* You can always follow **any** participant in the current call, in any
pane of any window.
* When following someone in a project that you're both collaborating in,
it works the same as before.
* When following someone in an unshared project, or a project that they
don't have open, you'll only get updates about the leader's views that
don't belong to a project, such as channel notes views. When the leader
focuses a file in a different project, you'll get the "follow $LEADER to
their active project" indicator

### Todo

* [x] Change db schema and RPC protocol so a project id isn't required
for following
* [x] Change client to allow following into non-project items regardless
of the leader's project
* [x] Assign colors to users in a way that doesn't require users to be
in a shared project.
2023-09-29 15:18:05 -07:00
..
resources Remove potential osascript hijacking 2023-08-18 17:40:08 -07:00
src Allow following participants who aren't in the same project (#2993) 2023-09-29 15:18:05 -07:00
build.rs Eliminate assets crate 2023-06-06 11:46:46 -07:00
Cargo.toml v0.107.x dev 2023-09-27 12:26:48 -04:00
RELEASE_CHANNEL Store current release channel name in a file in the zed crate 2022-10-26 16:19:19 -07:00