From 2dcab9e4d8aeb0266c0f7040cd991e815038a6fa Mon Sep 17 00:00:00 2001 From: Skruecken Date: Mon, 19 Oct 2026 13:52:20 +0200 Subject: [PATCH] Demo ticket editing in vim with rendered markdown on the card. Co-authored-by: Cursor --- demo.tape | 38 +++++++++++++++++++++++++++++++++----- 1 file changed, 33 insertions(+), 5 deletions(-) diff --git a/demo.tape b/demo.tape index cfd1baf..c0c04b5 100644 --- a/demo.tape +++ b/demo.tape @@ -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