Skip to content

Commit 0480257

Browse files
committed
docs
1 parent 4bf4185 commit 0480257

File tree

6 files changed

+116
-0
lines changed

6 files changed

+116
-0
lines changed

β€ŽREADME.mdβ€Ž

Lines changed: 116 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,122 @@ Located in the folder:
158158

159159
- `%LocalAppData%\Microsoft\PowerToys\PowerToys Run\Settings\Plugins\Community.PowerToys.Run.Plugin.Dice\`
160160

161+
## MobTimer
162+
163+
[<img src="docs/mobtimer.png" align="right" width="96">](https://en.m.wikipedia.org/wiki/Team_programming#Mob_programming)
164+
165+
> Timer for mob programming
166+
167+
ActionKeyword: `mob`
168+
169+
MobTimer is a tool for time tracking in mob programming sessions.
170+
Get notifications when to rotate driver and take breaks.
171+
172+
![MobTimer](docs/mobtimer.gif)
173+
174+
Terms:
175+
176+
- Session
177+
- A dedicated period when the entire team collaborates on a single coding task using a single computer. Sessions can last anywhere from a short focused period to a full workday.
178+
- Rotation
179+
- The structured process of changing roles among team members at regular intervals. A session is split into several rotations.
180+
- Driver
181+
- The person actively typing and implementing the team's decisions on the shared computer. Change the driver after each rotation.
182+
183+
### Installation<!-- omit in toc -->
184+
185+
1. Download the `.zip` file from the latest [release](https://github.com/hlaueriksson/Community.PowerToys.Run.Plugins/releases/latest) and extract it to:
186+
- `%LocalAppData%\Microsoft\PowerToys\PowerToys Run\Plugins`
187+
2. Restart PowerToys
188+
189+
### Usage<!-- omit in toc -->
190+
191+
1. Open PowerToys Run with `alt + space`
192+
2. Type `mob`
193+
- A list of actions and information will be displayed
194+
4. Use ⬆️ and ⬇️ keys to select an action
195+
196+
Actions:
197+
198+
- Start/pause/clear timer
199+
- Set/reset duration
200+
- Set/reset break
201+
- Add/move/remove participant
202+
- Set participant as driver (manually)
203+
- Export session
204+
- Import session
205+
206+
Set duration:
207+
208+
1. Type `mob <minutes>`
209+
2. Select the _Set duration_ action
210+
3. Press `Enter` to set the duration of rotations
211+
212+
Example:
213+
214+
- `mob 25`
215+
216+
Set break:
217+
218+
1. Type `mob <rotations>`
219+
2. Select the _Set break_ action
220+
3. Press `Enter` to set breaks after completing the number of rotations
221+
222+
Example:
223+
224+
- `mob 3`
225+
226+
Add participant:
227+
228+
1. Type `mob <name>`
229+
2. Press `Enter` to add the participant to the session
230+
231+
Example:
232+
233+
- `mob Dave`
234+
235+
Export session:
236+
237+
1. Type `mob export`
238+
2. Press `Enter` to export the session to a JSON string and and copy it to the clipboard
239+
240+
Example result:
241+
242+
```
243+
mob import {"Duration":{"Value":20},"Breaks":{"Value":2},"Participants":[{"Name":"Alice","Rotations":[]},{"Name":"Bob","Rotations":[]},{"Name":"Charlie","Rotations":[]}],"Driver":null,"Rotations":[]}
244+
```
245+
246+
Import session:
247+
248+
1. Type `mob import <json>`
249+
2. Press `Enter` to import a session from a JSON string
250+
251+
Notifications:
252+
253+
![MobTimer - Started](docs/mobtimer-started.png)
254+
255+
![MobTimer - Elapsed](docs/mobtimer-elapsed.png)
256+
257+
![MobTimer - Break](docs/mobtimer-break.png)
258+
259+
### Settings<!-- omit in toc -->
260+
261+
Change:
262+
263+
- how the next driver should be assigned
264+
- if and what sound should be played after end of rotation
265+
- kudos to the current driver
266+
267+
![MobTimer Settings](docs/mobtimer-settings.png)
268+
269+
The session is stored in the file:
270+
271+
`MobTimerSession.json`
272+
273+
Located in the folder:
274+
275+
- `%LocalAppData%\Microsoft\PowerToys\PowerToys Run\Settings\Plugins\Community.PowerToys.Run.Plugin.MobTimer\`
276+
161277
## Need
162278

163279
[<img src="docs/need.png" align="right" width="96">](https://en.wikipedia.org/wiki/Key%E2%80%93value_database)

β€Ždocs/mobtimer-break.pngβ€Ž

27.5 KB
Loading

β€Ždocs/mobtimer-elapsed.pngβ€Ž

32.4 KB
Loading

β€Ždocs/mobtimer-settings.pngβ€Ž

15.5 KB
Loading

β€Ždocs/mobtimer-started.pngβ€Ž

27.1 KB
Loading

β€Ždocs/mobtimer.gifβ€Ž

214 KB
Loading

0 commit comments

Comments
Β (0)