-
Notifications
You must be signed in to change notification settings - Fork 247
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enable ad-hoc peer discovery for easier (and reverse) session initiation #422
Comments
Philosophically, I believe the end goal of VS Code is to be the One Stop Shop IDE. Likewise, I find the current setup of Live Share is very explicit, and easy to execute. For frequent collaboration it can be tedious though, especially in earlier states of the project as it's reliability is improving but necessitating many ended/restarted sessions and many shared links.
In it's current implementation, VS Live Share is required to butt heads with the core VS Code ideology of being the One Stop Shop due to the requirements of external link sharing and collaborator communication. Session discovery would be a perfect means of embracing that ideology by allowing users to access/find/discover Live Share sessions all within VS Code. Either locally on the same network; or remotely via repository access, custom groups, etc. There's some great implications for user management via the already implemented user authentication mechanisms required by Live Share (Microsoft or GitHub accounts, which could be expanded upon). It may need to be a bit more fleshed out with items like:
I'm curious what the discovery experience would look like. But all-in-all I think this idea would be a boon to VS Live Share. |
Closing this due to low activity and lack of significant customer interest. We can re-open it if/when we begin to hear more feedback 👍 |
Currently, in order to start a collaboration session, the "host" needs to share their project and then exchange a URI with each developer they'd like to work with. The benefit of this workflow is that it's extremely flexible, since it doesn't necessitate any specific network topology and/or communication tool in order to coordinate collaboration.
However, this URI exchange workflow may feel a little heavyweight over time, particularly for folks that are collaborating regularly, and may already be co-located (e.g. team room, hack-a-thon)
and/or on the same network/VPN. Since we want to enable lightweight/frequent collaboration, anything we can do to simplify the actual session initiation process, would likely go a long way to improving the overall experience.
We could explore allowing Live Share users to opt-in to some form of peer discovery model (this would not be on by default!), that is based on some kind of ad-hoc group, where anyone in the same group (e.g. the same subnet/VPN, using a shared group “moniker”) could see their presence, and automate the process of sharing/joining. Conceptually, this could be somewhat similar to Bounjour/AirDop/UPnP experiences for network-local collaboration, or Twitter hashtags for arbitrary co-ordination amongst interested parties across the Internet.
Additionally, this kind of proposal could allow "guests" to request that someone share with them (as opposed to being host-driven), which could potentially be compelling for classroom scenarios (e.g. a teacher wants to help out a specific student).
This proposal wouldn't remove the existing authentication requirement, and in fact, the need to sign-in would allow the peer discovery process to work based on known identities (e.g. "I can see that Sri is online"), as opposed to IP addresses/machine names. Under the covers, this experience could effectively just automate the share and join process, using the same URIs, but with a single-click, and without the need to switch contexts to and from a separate communication.
The text was updated successfully, but these errors were encountered: