Skip to content

vsls-contrib/pairit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PairIt

PairIt is an extension to facilitate pair and mob programming sessions over Live Share.

In its current version, it simply assigns and dynamically updates the roles of users in a mob programming session.

Demo

Roles

There are three distinct roles:

  • Driver. Responsible for actually writing code.
  • Navigator. Makes decisions about what to do and directs the driver.
  • Mob. Passive observer.

There should be one driver, one navigator, and the remainder of the participants are part of the mob.

Role Updates

There are three situations that cause a participant's role to change:

  • On schedule. Every four minutes roles are rotated.
  • Leave. If the driver or the navigator leaves the session, another participant will assume their role.
  • Join. When someone first joins a session, they are assigned a role.

Extension Design

Like most Live Share extensions, the host is the source of truth. The host maintains a list of all participants in the session and their roles and keeps track of time. Anytime a participant needs to be assigned a new role (see Role Updates), the host will send a notification to all guests. This notification contains a map from client id to role. Guests will look up their role from this map and update their role. Anytime your role is changed, you'll receive a notification. Your role is displayed in the status bar at all times.

Development

yarn install

npm run compile

F5

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy