Demo ticket editing in vim with rendered markdown on the card.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Skruecken
2026-10-19 13:52:20 +02:00
co-authored by Cursor
parent 21a0d2ad51
commit 2dcab9e4d8
+33 -5
View File
@@ -1,12 +1,11 @@
# task-master feature demo
# Run from repo root: make demo (or: vhs demo.tape)
#
# Skips external $EDITOR flows (e / ctrl+e) — those need an interactive editor.
Output demo.gif
Output demo.mp4
Require go
Require vim
Set Shell "bash"
Set FontSize 14
@@ -21,6 +20,7 @@ Set Framerate 30
# Isolated config/data so the demo never touches your real ~/.config
Env HOME "/tmp/task-master-vhs"
Env TERM "xterm-256color"
Env EDITOR "vim"
# --- setup (hidden) ----------------------------------------------------------
Hide
@@ -56,14 +56,36 @@ Type "Ship MVP checklist"
Enter
Sleep 1s
# --- navigate ----------------------------------------------------------------
# --- navigate to first ticket ------------------------------------------------
Type "k"
Sleep 400ms
Type "k"
Sleep 600ms
Type "j"
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
@@ -72,6 +94,12 @@ 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