Skip to content

Commit e7c1acb

Browse files
committed
docs(threading): add VHS demo for #509
threading_demo.tape captures: flat (5 emails) -> threaded (3 rows with '(3)' count on the root) -> expanded thread (5 rows with indented '↪' markers on the children) -> collapsed -> back to flat. Rendered to public/assets/threading_demo.gif.
1 parent 2ffa955 commit e7c1acb

2 files changed

Lines changed: 28 additions & 11 deletions

File tree

public/assets/threading_demo.gif

111 KB
Loading

screenshots/threading_demo.tape

Lines changed: 28 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,44 @@
1-
# Screenshot: Threaded Conversation View
2-
# Shows flat inbox, threaded collapsed root, then expanded thread tree
1+
# VHS demo for threaded conversation view (#509)
2+
# Shows: flat inbox (5 messages) -> threaded view (3 rows, thread root with count) -> expanded thread tree
33

4-
Output screenshots/threading_demo.gif
4+
Output threading_demo.gif
55

66
Set FontSize 14
77
Set FontFamily "JetBrainsMono Nerd Font"
88
Set Width 1400
9-
Set Height 800
9+
Set Height 900
1010
Set Theme "Catppuccin Mocha"
1111
Set Padding 20
12+
Set Framerate 30
13+
Set PlaybackSpeed 0.7
14+
1215
Set WindowBar Colorful
1316
Set WindowBarSize 40
1417
Set BorderRadius 10
1518

16-
Hide
17-
Type "go run ./screenshots/cmd/threading_demo"
19+
Sleep 500ms
20+
Type "./bin/threading_demo"
21+
Sleep 300ms
1822
Enter
19-
Show
2023

21-
Sleep 1s
24+
# Boot - flat view, 5 emails listed
25+
Sleep 4s
26+
27+
# Toggle to threaded - now 3 rows (thread root collapses 3 messages)
2228
Type "T"
23-
Sleep 1s
29+
Sleep 2500ms
30+
31+
# Cursor is on row 1 which is the thread root
32+
# Enter expands it
2433
Enter
25-
Sleep 1s
34+
Sleep 3000ms
35+
36+
# Enter again to collapse
37+
Enter
38+
Sleep 2000ms
39+
40+
# Toggle back to flat
41+
Type "T"
42+
Sleep 2000ms
2643

27-
Screenshot screenshots/threading_demo.png
44+
Ctrl+c

0 commit comments

Comments
 (0)