233 lines
3.8 KiB
VHS
233 lines
3.8 KiB
VHS
# task-master feature demo
|
|
# Run from repo root: make demo (or: vhs demo.tape)
|
|
|
|
Output demo.gif
|
|
Output demo.mp4
|
|
|
|
Require go
|
|
Require vim
|
|
|
|
Set Shell "bash"
|
|
Set FontSize 14
|
|
Set Width 1280
|
|
Set Height 820
|
|
Set Theme "Catppuccin Mocha"
|
|
Set TypingSpeed 35ms
|
|
Set PlaybackSpeed 1.0
|
|
Set Padding 12
|
|
Set Framerate 30
|
|
|
|
# Isolated config/data so the demo never touches your real ~/.config
|
|
Env TASK_MASTER_HOME "/tmp/task-master-vhs"
|
|
Env TERM "xterm-256color"
|
|
Env EDITOR "vim"
|
|
|
|
# --- setup (hidden) ----------------------------------------------------------
|
|
Hide
|
|
Type "rm -rf /tmp/task-master-vhs && mkdir -p /tmp/task-master-vhs"
|
|
Enter
|
|
Sleep 300ms
|
|
Type "make build"
|
|
Enter
|
|
Sleep 5s
|
|
Show
|
|
|
|
# --- launch ------------------------------------------------------------------
|
|
Type "./bin/tm"
|
|
Enter
|
|
Sleep 1s
|
|
|
|
# --- create tickets ----------------------------------------------------------
|
|
Type "n"
|
|
Sleep 400ms
|
|
Type "Design landing page"
|
|
Enter
|
|
Sleep 800ms
|
|
|
|
Type "n"
|
|
Sleep 400ms
|
|
Type "Wire up auth"
|
|
Enter
|
|
Sleep 800ms
|
|
|
|
Type "n"
|
|
Sleep 400ms
|
|
Type "Ship MVP checklist"
|
|
Enter
|
|
Sleep 1s
|
|
|
|
# --- navigate to first ticket ------------------------------------------------
|
|
Type "k"
|
|
Sleep 400ms
|
|
Type "k"
|
|
Sleep 800ms
|
|
|
|
# --- edit ticket in vim (markdown body) --------------------------------------
|
|
Type "e"
|
|
Sleep 1s
|
|
# File opens as "# Design landing page" — append a markdown description
|
|
Type "Go"
|
|
Sleep 300ms
|
|
Enter
|
|
Type "## Goals"
|
|
Enter
|
|
Type "- Hero section with brand"
|
|
Enter
|
|
Type "- Primary CTA above the fold"
|
|
Enter
|
|
Enter
|
|
Type "Keep the copy **short** and scannable."
|
|
Sleep 600ms
|
|
Escape
|
|
Sleep 400ms
|
|
Type ":wq"
|
|
Enter
|
|
Sleep 1.5s
|
|
# Expanded card shows glamour-rendered markdown
|
|
Sleep 2s
|
|
|
|
# --- status picker (letter jump) ---------------------------------------------
|
|
Type "s"
|
|
Sleep 800ms
|
|
Type "w"
|
|
Sleep 500ms
|
|
Enter
|
|
Sleep 1s
|
|
|
|
# peek another ticket, then back — markdown stays on the edited card
|
|
Type "j"
|
|
Sleep 700ms
|
|
Type "k"
|
|
Sleep 1s
|
|
|
|
# --- board filter (multiselect) ----------------------------------------------
|
|
Type "l"
|
|
Sleep 800ms
|
|
Type "b"
|
|
Sleep 300ms
|
|
Space
|
|
Sleep 400ms
|
|
Type "i"
|
|
Sleep 300ms
|
|
Space
|
|
Sleep 400ms
|
|
Enter
|
|
Sleep 1s
|
|
|
|
# show all again
|
|
Type "l"
|
|
Sleep 600ms
|
|
Type "a"
|
|
Sleep 300ms
|
|
Enter
|
|
Sleep 800ms
|
|
|
|
# --- search / filter ---------------------------------------------------------
|
|
Type "/"
|
|
Sleep 400ms
|
|
Type "auth"
|
|
Enter
|
|
Sleep 1s
|
|
Type "/"
|
|
Sleep 300ms
|
|
Enter
|
|
Sleep 800ms
|
|
|
|
# --- projects: create + switch -----------------------------------------------
|
|
Type "p"
|
|
Sleep 800ms
|
|
Type "n"
|
|
Sleep 400ms
|
|
Type "client-acme"
|
|
Enter
|
|
Sleep 1s
|
|
|
|
Type "n"
|
|
Sleep 400ms
|
|
Type "Kickoff call notes"
|
|
Enter
|
|
Sleep 1s
|
|
|
|
Type "p"
|
|
Sleep 800ms
|
|
Type "i"
|
|
Sleep 400ms
|
|
Enter
|
|
Sleep 1s
|
|
|
|
# --- timer -------------------------------------------------------------------
|
|
Type "j"
|
|
Sleep 300ms
|
|
Type "t"
|
|
Sleep 1.5s
|
|
Type "t"
|
|
Sleep 1s
|
|
|
|
# --- manual time log ---------------------------------------------------------
|
|
Type "T"
|
|
Sleep 500ms
|
|
Type "45m"
|
|
Enter
|
|
Sleep 1s
|
|
|
|
# --- manage time entries (edit duration) -------------------------------------
|
|
Type "m"
|
|
Sleep 1s
|
|
Type "e"
|
|
Sleep 500ms
|
|
Backspace 3
|
|
Type "1h15m"
|
|
Enter
|
|
Sleep 1s
|
|
Escape
|
|
Sleep 800ms
|
|
|
|
# --- report + group-by picker ------------------------------------------------
|
|
Type "r"
|
|
Sleep 1.2s
|
|
Type "g"
|
|
Sleep 800ms
|
|
Type "t"
|
|
Sleep 400ms
|
|
Enter
|
|
Sleep 1.2s
|
|
Type "g"
|
|
Sleep 600ms
|
|
Type "d"
|
|
Sleep 400ms
|
|
Enter
|
|
Sleep 1.2s
|
|
Escape
|
|
Sleep 800ms
|
|
|
|
# --- undo / redo -------------------------------------------------------------
|
|
Type "u"
|
|
Sleep 1s
|
|
Type "U"
|
|
Sleep 1s
|
|
|
|
# --- delete with confirm -----------------------------------------------------
|
|
Type "n"
|
|
Sleep 400ms
|
|
Type "throwaway ticket"
|
|
Enter
|
|
Sleep 800ms
|
|
Type "x"
|
|
Sleep 700ms
|
|
Type "y"
|
|
Sleep 1s
|
|
|
|
# --- force delete ------------------------------------------------------------
|
|
Type "n"
|
|
Sleep 400ms
|
|
Type "another draft"
|
|
Enter
|
|
Sleep 700ms
|
|
Type "X"
|
|
Sleep 1s
|
|
|
|
# --- done --------------------------------------------------------------------
|
|
Sleep 1.5s
|
|
Type "q"
|
|
Sleep 500ms
|