termcast 1.4.1 → 1.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/build.d.ts.map +1 -1
- package/dist/build.js +30 -12
- package/dist/build.js.map +1 -1
- package/dist/cli.js +0 -40
- package/dist/cli.js.map +1 -1
- package/dist/compile.d.ts.map +1 -1
- package/dist/compile.js +7 -1
- package/dist/compile.js.map +1 -1
- package/dist/components/bar-graph.d.ts +23 -8
- package/dist/components/bar-graph.d.ts.map +1 -1
- package/dist/components/bar-graph.js +84 -40
- package/dist/components/bar-graph.js.map +1 -1
- package/dist/components/dotted-line-graph.d.ts +86 -0
- package/dist/components/dotted-line-graph.d.ts.map +1 -0
- package/dist/components/dotted-line-graph.js +260 -0
- package/dist/components/dotted-line-graph.js.map +1 -0
- package/dist/components/extension-preferences.d.ts.map +1 -1
- package/dist/components/extension-preferences.js +1 -10
- package/dist/components/extension-preferences.js.map +1 -1
- package/dist/components/graph.d.ts.map +1 -1
- package/dist/components/graph.js +7 -1
- package/dist/components/graph.js.map +1 -1
- package/dist/components/histogram.d.ts +42 -0
- package/dist/components/histogram.d.ts.map +1 -0
- package/dist/components/histogram.js +115 -0
- package/dist/components/histogram.js.map +1 -0
- package/dist/components/horizontal-bar-graph.d.ts +47 -0
- package/dist/components/horizontal-bar-graph.d.ts.map +1 -0
- package/dist/components/horizontal-bar-graph.js +137 -0
- package/dist/components/horizontal-bar-graph.js.map +1 -0
- package/dist/components/list.d.ts +9 -0
- package/dist/components/list.d.ts.map +1 -1
- package/dist/components/list.js +84 -21
- package/dist/components/list.js.map +1 -1
- package/dist/examples/bar-graph-weekly.js +2 -2
- package/dist/examples/bar-graph-weekly.js.map +1 -1
- package/dist/examples/charts-showcase-barchart.d.ts +2 -0
- package/dist/examples/charts-showcase-barchart.d.ts.map +1 -0
- package/dist/examples/charts-showcase-barchart.js +10 -0
- package/dist/examples/charts-showcase-barchart.js.map +1 -0
- package/dist/examples/charts-showcase-bargraph.d.ts +2 -0
- package/dist/examples/charts-showcase-bargraph.d.ts.map +1 -0
- package/dist/examples/charts-showcase-bargraph.js +60 -0
- package/dist/examples/charts-showcase-bargraph.js.map +1 -0
- package/dist/examples/charts-showcase-candle.d.ts +2 -0
- package/dist/examples/charts-showcase-candle.d.ts.map +1 -0
- package/dist/examples/charts-showcase-candle.js +30 -0
- package/dist/examples/charts-showcase-candle.js.map +1 -0
- package/dist/examples/charts-showcase-graph.d.ts +2 -0
- package/dist/examples/charts-showcase-graph.d.ts.map +1 -0
- package/dist/examples/charts-showcase-graph.js +33 -0
- package/dist/examples/charts-showcase-graph.js.map +1 -0
- package/dist/examples/charts-showcase-heatmap.d.ts +2 -0
- package/dist/examples/charts-showcase-heatmap.d.ts.map +1 -0
- package/dist/examples/charts-showcase-heatmap.js +36 -0
- package/dist/examples/charts-showcase-heatmap.js.map +1 -0
- package/dist/examples/charts-showcase-mixed.d.ts +2 -0
- package/dist/examples/charts-showcase-mixed.d.ts.map +1 -0
- package/dist/examples/charts-showcase-mixed.js +30 -0
- package/dist/examples/charts-showcase-mixed.js.map +1 -0
- package/dist/examples/charts-showcase-progress.d.ts +2 -0
- package/dist/examples/charts-showcase-progress.d.ts.map +1 -0
- package/dist/examples/charts-showcase-progress.js +10 -0
- package/dist/examples/charts-showcase-progress.js.map +1 -0
- package/dist/examples/graph-multi-series.js +1 -1
- package/dist/examples/graph-multi-series.js.map +1 -1
- package/dist/examples/horizontal-bar-graph-weekly.d.ts +2 -0
- package/dist/examples/horizontal-bar-graph-weekly.d.ts.map +1 -0
- package/dist/examples/horizontal-bar-graph-weekly.js +67 -0
- package/dist/examples/horizontal-bar-graph-weekly.js.map +1 -0
- package/dist/examples/list-detail-height-ratchet.d.ts +2 -0
- package/dist/examples/list-detail-height-ratchet.d.ts.map +1 -0
- package/dist/examples/list-detail-height-ratchet.js +26 -0
- package/dist/examples/list-detail-height-ratchet.js.map +1 -0
- package/dist/examples/simple-dotted-line-graph.d.ts +2 -0
- package/dist/examples/simple-dotted-line-graph.d.ts.map +1 -0
- package/dist/examples/simple-dotted-line-graph.js +39 -0
- package/dist/examples/simple-dotted-line-graph.js.map +1 -0
- package/dist/examples/simple-histogram.d.ts +2 -0
- package/dist/examples/simple-histogram.d.ts.map +1 -0
- package/dist/examples/simple-histogram.js +47 -0
- package/dist/examples/simple-histogram.js.map +1 -0
- package/dist/extensions/dev.d.ts.map +1 -1
- package/dist/extensions/dev.js +1 -0
- package/dist/extensions/dev.js.map +1 -1
- package/dist/globals.js +8 -0
- package/dist/globals.js.map +1 -1
- package/dist/index.d.ts +6 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +6 -0
- package/dist/index.js.map +1 -1
- package/dist/package-json.d.ts +2 -0
- package/dist/package-json.d.ts.map +1 -1
- package/dist/package-json.js +20 -17
- package/dist/package-json.js.map +1 -1
- package/dist/platform/node/sqlite.d.ts +6 -5
- package/dist/platform/node/sqlite.d.ts.map +1 -1
- package/dist/platform/node/sqlite.js +30 -14
- package/dist/platform/node/sqlite.js.map +1 -1
- package/dist/profiler.d.ts +2 -0
- package/dist/profiler.d.ts.map +1 -0
- package/dist/profiler.js +390 -0
- package/dist/profiler.js.map +1 -0
- package/dist/theme.d.ts.map +1 -1
- package/dist/theme.js +11 -9
- package/dist/theme.js.map +1 -1
- package/dist/utils/run-command.d.ts.map +1 -1
- package/dist/utils/run-command.js +8 -19
- package/dist/utils/run-command.js.map +1 -1
- package/dist/utils.d.ts +1 -19
- package/dist/utils.d.ts.map +1 -1
- package/dist/utils.js +1 -100
- package/dist/utils.js.map +1 -1
- package/package.json +18 -21
- package/src/build.tsx +38 -15
- package/src/cli.tsx +3 -40
- package/src/compile.tsx +9 -1
- package/src/compile.vitest.tsx +8 -8
- package/src/components/bar-graph.tsx +217 -111
- package/src/components/dotted-line-graph.tsx +407 -0
- package/src/components/extension-preferences.tsx +2 -12
- package/src/components/graph.tsx +5 -1
- package/src/components/histogram.tsx +228 -0
- package/src/components/horizontal-bar-graph.tsx +279 -0
- package/src/components/list.tsx +112 -26
- package/src/examples/action-shortcut.vitest.tsx +20 -20
- package/src/examples/actions-context.vitest.tsx +2 -2
- package/src/examples/bar-graph-weekly.tsx +2 -2
- package/src/examples/bar-graph-weekly.vitest.tsx +103 -102
- package/src/examples/charts-showcase-bargraph.tsx +103 -0
- package/src/examples/detail-metadata-showcase.vitest.tsx +12 -12
- package/src/examples/form-basic.vitest.tsx +11 -11
- package/src/examples/form-dropdown.vitest.tsx +11 -11
- package/src/examples/form-scroll.vitest.tsx +1 -1
- package/src/examples/form-tagpicker.vitest.tsx +11 -11
- package/src/examples/github.vitest.tsx +22 -31
- package/src/examples/graph-bar-chart.vitest.tsx +36 -36
- package/src/examples/graph-multi-series.tsx +1 -1
- package/src/examples/graph-polymarket.vitest.tsx +24 -24
- package/src/examples/graph-row.vitest.tsx +14 -14
- package/src/examples/graph-styles.vitest.tsx +77 -77
- package/src/examples/horizontal-bar-graph-weekly.tsx +138 -0
- package/src/examples/horizontal-bar-graph-weekly.vitest.tsx +164 -0
- package/src/examples/list-detail-height-ratchet.tsx +48 -0
- package/src/examples/list-detail-height-ratchet.vitest.tsx +161 -0
- package/src/examples/list-detail-metadata.vitest.tsx +51 -51
- package/src/examples/list-dropdown-default.vitest.tsx +27 -27
- package/src/examples/list-fetch-data.vitest.tsx +3 -3
- package/src/examples/list-loading-empty-view.vitest.tsx +1 -1
- package/src/examples/list-no-actions.vitest.tsx +3 -3
- package/src/examples/list-scrollbox.vitest.tsx +6 -6
- package/src/examples/list-spacing-mode.vitest.tsx +1 -1
- package/src/examples/list-with-detail.vitest.tsx +55 -55
- package/src/examples/list-with-dropdown.vitest.tsx +6 -6
- package/src/examples/list-with-sections.vitest.tsx +20 -20
- package/src/examples/list-with-toast.vitest.tsx +4 -4
- package/src/examples/simple-candle-chart.vitest.tsx +61 -59
- package/src/examples/simple-dotted-line-graph.tsx +53 -0
- package/src/examples/simple-dotted-line-graph.vitest.tsx +62 -0
- package/src/examples/simple-grid.vitest.tsx +4 -4
- package/src/examples/simple-heatmap.vitest.tsx +9 -9
- package/src/examples/simple-histogram.tsx +90 -0
- package/src/examples/simple-navigation.vitest.tsx +25 -25
- package/src/examples/simple-progress-bar.vitest.tsx +7 -7
- package/src/examples/swift-extension.vitest.tsx +5 -5
- package/src/examples/toast-action.vitest.tsx +4 -4
- package/src/extensions/dev.tsx +2 -1
- package/src/extensions/dev.vitest.tsx +17 -17
- package/src/globals.ts +9 -0
- package/src/index.tsx +21 -0
- package/src/package-json.tsx +24 -23
- package/src/platform/node/sqlite.ts +29 -13
- package/src/profiler.tsx +487 -0
- package/src/theme.tsx +11 -10
- package/src/utils/run-command.tsx +10 -19
- package/src/utils.tsx +0 -163
- package/src/examples/store.tsx +0 -4
- package/src/examples/store.vitest.tsx +0 -78
- package/src/extensions/home.tsx +0 -227
- package/src/extensions/store.tsx +0 -375
|
@@ -48,8 +48,8 @@ test('list shows initial items after fetch', async () => {
|
|
|
48
48
|
|
|
49
49
|
|
|
50
50
|
|
|
51
|
-
↑↓ navigate ^k actions :vim
|
|
52
51
|
|
|
52
|
+
↑↓ navigate ^k actions :vim
|
|
53
53
|
|
|
54
54
|
|
|
55
55
|
|
|
@@ -81,8 +81,8 @@ test('list shows initial items after fetch', async () => {
|
|
|
81
81
|
|
|
82
82
|
|
|
83
83
|
|
|
84
|
-
↑↓ navigate ^k actions :vim
|
|
85
84
|
|
|
85
|
+
↑↓ navigate ^k actions :vim
|
|
86
86
|
|
|
87
87
|
|
|
88
88
|
|
|
@@ -113,8 +113,8 @@ test('list shows initial items after fetch', async () => {
|
|
|
113
113
|
|
|
114
114
|
|
|
115
115
|
|
|
116
|
-
↑↓ navigate ^k actions :vim
|
|
117
116
|
|
|
117
|
+
↑↓ navigate ^k actions :vim
|
|
118
118
|
|
|
119
119
|
|
|
120
120
|
|
|
@@ -46,11 +46,11 @@ test('footer does not show stale action title from built-in actions', async () =
|
|
|
46
46
|
|
|
47
47
|
|
|
48
48
|
|
|
49
|
-
↑↓ navigate ^k actions :vim
|
|
50
49
|
|
|
51
50
|
|
|
52
51
|
|
|
53
52
|
|
|
53
|
+
↑↓ navigate ^k actions :vim
|
|
54
54
|
"
|
|
55
55
|
`)
|
|
56
56
|
}, 30000)
|
|
@@ -74,6 +74,7 @@ test('ctrl+k opens built-in actions when item has no actions', async () => {
|
|
|
74
74
|
expect(actionsPanel).toMatchInlineSnapshot(`
|
|
75
75
|
"
|
|
76
76
|
|
|
77
|
+
|
|
77
78
|
╭────────────────────────────────────────────────────────────────╮
|
|
78
79
|
│ │
|
|
79
80
|
│ Actions esc │
|
|
@@ -91,7 +92,6 @@ test('ctrl+k opens built-in actions when item has no actions', async () => {
|
|
|
91
92
|
│ │
|
|
92
93
|
│ │
|
|
93
94
|
│ │
|
|
94
|
-
│ ↵ select ↑↓ navigate │
|
|
95
|
-
│ │"
|
|
95
|
+
│ ↵ select ↑↓ navigate │"
|
|
96
96
|
`)
|
|
97
97
|
}, 30000)
|
|
@@ -90,12 +90,12 @@ test('list scrollbox auto-scrolls when navigating down', async () => {
|
|
|
90
90
|
|
|
91
91
|
> Search items...
|
|
92
92
|
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
Item
|
|
97
|
-
|
|
98
|
-
|
|
93
|
+
○ Item 1 Description for item 1
|
|
94
|
+
★ Item 2 Description for item 2
|
|
95
|
+
◆ Item 3 Description for item 3
|
|
96
|
+
↯ Item 4 Description for item 4
|
|
97
|
+
▷ Item 5 Description for item 5
|
|
98
|
+
▦ Item 6 Description for item 6"
|
|
99
99
|
`)
|
|
100
100
|
|
|
101
101
|
await session.press('up')
|
|
@@ -80,13 +80,11 @@ test('list with detail view display and navigation', async () => {
|
|
|
80
80
|
> Search Pokemon...
|
|
81
81
|
|
|
82
82
|
bulbasaur #001 │ ivysaur ▲
|
|
83
|
-
›ivysaur #002 │
|
|
84
|
-
charmander #004 │
|
|
85
|
-
charmeleon #005 │
|
|
86
|
-
squirtle #007 │
|
|
87
|
-
wartortle #008 │
|
|
88
|
-
│ Grass / Poison
|
|
89
|
-
│ Characteristics
|
|
83
|
+
›ivysaur #002 │ Illustration █
|
|
84
|
+
charmander #004 │ Types
|
|
85
|
+
charmeleon #005 │
|
|
86
|
+
squirtle #007 │ Grass / Poison
|
|
87
|
+
wartortle #008 │ Characteristics
|
|
90
88
|
│
|
|
91
89
|
│ - Height: 1m
|
|
92
90
|
│ - Weight: 13kg
|
|
@@ -103,7 +101,9 @@ test('list with detail view display and navigation', async () => {
|
|
|
103
101
|
│
|
|
104
102
|
│ Poison
|
|
105
103
|
│
|
|
106
|
-
|
|
104
|
+
│ ─────────────────────────────────
|
|
105
|
+
│
|
|
106
|
+
↵ toggle detail ↑↓ navigate ^k a │ Characteristics ▼
|
|
107
107
|
|
|
108
108
|
"
|
|
109
109
|
`)
|
|
@@ -120,13 +120,11 @@ test('list with detail view display and navigation', async () => {
|
|
|
120
120
|
> Search Pokemon...
|
|
121
121
|
|
|
122
122
|
bulbasaur #001 │ charmander ▲
|
|
123
|
-
ivysaur #002 │
|
|
124
|
-
›charmander #004 │
|
|
125
|
-
charmeleon #005 │
|
|
126
|
-
squirtle #007 │
|
|
127
|
-
wartortle #008 │
|
|
128
|
-
│ Fire
|
|
129
|
-
│ Characteristics
|
|
123
|
+
ivysaur #002 │ Illustration █
|
|
124
|
+
›charmander #004 │ Types ▀
|
|
125
|
+
charmeleon #005 │
|
|
126
|
+
squirtle #007 │ Fire
|
|
127
|
+
wartortle #008 │ Characteristics
|
|
130
128
|
│
|
|
131
129
|
│ - Height: 0.6m
|
|
132
130
|
│ - Weight: 8.5kg
|
|
@@ -143,7 +141,9 @@ test('list with detail view display and navigation', async () => {
|
|
|
143
141
|
│
|
|
144
142
|
│ Characteristics
|
|
145
143
|
│
|
|
146
|
-
|
|
144
|
+
│ Height: 0.6m
|
|
145
|
+
│
|
|
146
|
+
↵ toggle detail ↑↓ navigate ^k a │ ───────────────────────────────── ▼
|
|
147
147
|
|
|
148
148
|
"
|
|
149
149
|
`)
|
|
@@ -163,8 +163,8 @@ test('list with detail view display and navigation', async () => {
|
|
|
163
163
|
> Search Pokemon...
|
|
164
164
|
|
|
165
165
|
bulbasaur #001 │ charmander ▲
|
|
166
|
-
ivysaur #002 │
|
|
167
|
-
›charmander #004 │
|
|
166
|
+
ivysaur #002 │ Illustration █
|
|
167
|
+
›charmander #004 │ Types ▀
|
|
168
168
|
╭──────────────────────────────────────────────────────────────────────────╮
|
|
169
169
|
│ │
|
|
170
170
|
│ Actions esc │
|
|
@@ -186,7 +186,7 @@ test('list with detail view display and navigation', async () => {
|
|
|
186
186
|
│ │
|
|
187
187
|
╰──────────────────────────────────────────────────────────────────────────╯
|
|
188
188
|
│
|
|
189
|
-
↵ toggle detail ↑↓ navigate ^k a │
|
|
189
|
+
↵ toggle detail ↑↓ navigate ^k a │ ───────────────────────────────── ▼
|
|
190
190
|
|
|
191
191
|
"
|
|
192
192
|
`)
|
|
@@ -214,11 +214,11 @@ test('list with detail view display and navigation', async () => {
|
|
|
214
214
|
wartortle #008 Water
|
|
215
215
|
|
|
216
216
|
|
|
217
|
-
↵ toggle detail ↑↓ navigate ^k actions :vim powered by termcast.app
|
|
218
217
|
|
|
219
218
|
|
|
220
219
|
|
|
221
220
|
|
|
221
|
+
↵ toggle detail ↑↓ navigate ^k actions :vim powered by termcast.app
|
|
222
222
|
|
|
223
223
|
|
|
224
224
|
|
|
@@ -304,10 +304,8 @@ test('list detail view search functionality', async () => {
|
|
|
304
304
|
> char
|
|
305
305
|
|
|
306
306
|
›charmander #004 │ charmander ▲
|
|
307
|
-
charmeleon #005 │
|
|
308
|
-
│
|
|
309
|
-
│ Illustration
|
|
310
|
-
│ Types
|
|
307
|
+
charmeleon #005 │ Illustration █
|
|
308
|
+
│ Types ▀
|
|
311
309
|
│
|
|
312
310
|
│ Fire
|
|
313
311
|
│ Characteristics
|
|
@@ -327,7 +325,9 @@ test('list detail view search functionality', async () => {
|
|
|
327
325
|
│
|
|
328
326
|
│ Characteristics
|
|
329
327
|
│
|
|
330
|
-
|
|
328
|
+
│ Height: 0.6m
|
|
329
|
+
│
|
|
330
|
+
↵ toggle detail ↑↓ navigate ^k a │ ───────────────────────────────── ▼
|
|
331
331
|
|
|
332
332
|
"
|
|
333
333
|
`)
|
|
@@ -353,10 +353,8 @@ test('list detail view search functionality', async () => {
|
|
|
353
353
|
> water
|
|
354
354
|
|
|
355
355
|
│ wartortle ▲
|
|
356
|
-
│
|
|
357
|
-
No items found │
|
|
358
|
-
│ Illustration
|
|
359
|
-
│ Types
|
|
356
|
+
│ Illustration █
|
|
357
|
+
No items found │ Types ▀
|
|
360
358
|
│
|
|
361
359
|
│ Water
|
|
362
360
|
│ Characteristics
|
|
@@ -376,7 +374,9 @@ test('list detail view search functionality', async () => {
|
|
|
376
374
|
│
|
|
377
375
|
│ Characteristics
|
|
378
376
|
│
|
|
379
|
-
|
|
377
|
+
│ Height: 1m
|
|
378
|
+
│
|
|
379
|
+
↵ toggle detail ↑↓ navigate ^k a │ ───────────────────────────────── ▼
|
|
380
380
|
|
|
381
381
|
"
|
|
382
382
|
`)
|
|
@@ -393,10 +393,8 @@ test('list detail view search functionality', async () => {
|
|
|
393
393
|
> water
|
|
394
394
|
|
|
395
395
|
│ wartortle ▲
|
|
396
|
-
│
|
|
397
|
-
No items found │
|
|
398
|
-
│ Illustration
|
|
399
|
-
│ Types
|
|
396
|
+
│ Illustration █
|
|
397
|
+
No items found │ Types ▀
|
|
400
398
|
│
|
|
401
399
|
│ Water
|
|
402
400
|
│ Characteristics
|
|
@@ -416,7 +414,9 @@ test('list detail view search functionality', async () => {
|
|
|
416
414
|
│
|
|
417
415
|
│ Characteristics
|
|
418
416
|
│
|
|
419
|
-
|
|
417
|
+
│ Height: 1m
|
|
418
|
+
│
|
|
419
|
+
↵ toggle detail ↑↓ navigate ^k a │ ───────────────────────────────── ▼
|
|
420
420
|
|
|
421
421
|
"
|
|
422
422
|
`)
|
|
@@ -492,13 +492,11 @@ test('list detail metadata rendering', async () => {
|
|
|
492
492
|
> Search Pokemon...
|
|
493
493
|
|
|
494
494
|
bulbasaur #001 │ squirtle ▲
|
|
495
|
-
ivysaur #002 │
|
|
496
|
-
charmander #004 │
|
|
497
|
-
charmeleon #005 │
|
|
498
|
-
›squirtle #007 │
|
|
499
|
-
wartortle #008 │
|
|
500
|
-
│ Water
|
|
501
|
-
│ Characteristics
|
|
495
|
+
ivysaur #002 │ Illustration █
|
|
496
|
+
charmander #004 │ Types ▀
|
|
497
|
+
charmeleon #005 │
|
|
498
|
+
›squirtle #007 │ Water
|
|
499
|
+
wartortle #008 │ Characteristics
|
|
502
500
|
│
|
|
503
501
|
│ - Height: 0.5m
|
|
504
502
|
│ - Weight: 9kg
|
|
@@ -515,7 +513,9 @@ test('list detail metadata rendering', async () => {
|
|
|
515
513
|
│
|
|
516
514
|
│ Characteristics
|
|
517
515
|
│
|
|
518
|
-
|
|
516
|
+
│ Height: 0.5m
|
|
517
|
+
│
|
|
518
|
+
↵ toggle detail ↑↓ navigate ^k a │ ───────────────────────────────── ▼
|
|
519
519
|
|
|
520
520
|
"
|
|
521
521
|
`)
|
|
@@ -573,16 +573,16 @@ test('list with detail layout consistency - short vs long detail content', async
|
|
|
573
573
|
│
|
|
574
574
|
│
|
|
575
575
|
│
|
|
576
|
+
│
|
|
577
|
+
│
|
|
578
|
+
│
|
|
579
|
+
│
|
|
580
|
+
│
|
|
581
|
+
│
|
|
582
|
+
│
|
|
583
|
+
│
|
|
576
584
|
↑↓ navigate ^k actions :vim │
|
|
577
585
|
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
586
|
"
|
|
587
587
|
`)
|
|
588
588
|
expect(longDetailSnapshot).toMatchInlineSnapshot(`
|
|
@@ -595,9 +595,7 @@ test('list with detail layout consistency - short vs long detail content', async
|
|
|
595
595
|
|
|
596
596
|
Short Detail │ This item has extensive detail ▲
|
|
597
597
|
›Long Detail │ content ▀
|
|
598
|
-
Another Item │
|
|
599
|
-
│
|
|
600
|
-
│ Section 1
|
|
598
|
+
Another Item │ Section 1
|
|
601
599
|
│
|
|
602
600
|
│ This is a very long description
|
|
603
601
|
│ that contains multiple paragraphs
|
|
@@ -609,7 +607,9 @@ test('list with detail layout consistency - short vs long detail content', async
|
|
|
609
607
|
│ More content here to ensure we
|
|
610
608
|
│ have enough text to cause
|
|
611
609
|
│ vertical overflow in the detail
|
|
612
|
-
|
|
610
|
+
│ panel scrollbox.
|
|
611
|
+
│ Section 3
|
|
612
|
+
↑↓ navigate ^k actions :vim │ ▼
|
|
613
613
|
|
|
614
614
|
"
|
|
615
615
|
`)
|
|
@@ -215,11 +215,11 @@ test('list with dropdown navigation', async () => {
|
|
|
215
215
|
|
|
216
216
|
|
|
217
217
|
|
|
218
|
-
↑↓ navigate ^k actions ^p select drink type :vim
|
|
219
218
|
|
|
220
219
|
|
|
221
220
|
|
|
222
221
|
|
|
222
|
+
↑↓ navigate ^k actions ^p select drink type :vim
|
|
223
223
|
|
|
224
224
|
|
|
225
225
|
|
|
@@ -263,9 +263,9 @@ test('small screen: dropdown accessory wastes vertical space', async () => {
|
|
|
263
263
|
Sierra Nevada IPA Beer
|
|
264
264
|
Chateau Margaux Wine
|
|
265
265
|
Pinot Noir Wine
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
266
|
+
Coca Cola Soda
|
|
267
|
+
Sprite Soda
|
|
268
|
+
Orange Juice Juice"
|
|
269
269
|
`)
|
|
270
270
|
} finally {
|
|
271
271
|
smallSession.close()
|
|
@@ -382,11 +382,11 @@ test('list with dropdown search and filter', async () => {
|
|
|
382
382
|
|
|
383
383
|
|
|
384
384
|
|
|
385
|
-
↑↓ navigate ^k actions ^p select drink type :vim
|
|
386
385
|
|
|
387
386
|
|
|
388
387
|
|
|
389
388
|
|
|
389
|
+
↑↓ navigate ^k actions ^p select drink type :vim
|
|
390
390
|
|
|
391
391
|
|
|
392
392
|
|
|
@@ -418,11 +418,11 @@ test('list with dropdown search and filter', async () => {
|
|
|
418
418
|
|
|
419
419
|
|
|
420
420
|
|
|
421
|
-
↑↓ navigate ^k actions ^p select drink type :vim
|
|
422
421
|
|
|
423
422
|
|
|
424
423
|
|
|
425
424
|
|
|
425
|
+
↑↓ navigate ^k actions ^p select drink type :vim
|
|
426
426
|
|
|
427
427
|
|
|
428
428
|
|
|
@@ -57,10 +57,10 @@ test('list with sections navigation', async () => {
|
|
|
57
57
|
Pineapple Sweet and tangy
|
|
58
58
|
Strawberry Red and sweet Popular
|
|
59
59
|
|
|
60
|
+
Vegetables
|
|
60
61
|
|
|
61
62
|
|
|
62
63
|
↵ view details ↑↓ navigate ^k actions :vim
|
|
63
|
-
|
|
64
64
|
"
|
|
65
65
|
`)
|
|
66
66
|
|
|
@@ -90,10 +90,10 @@ test('list with sections navigation', async () => {
|
|
|
90
90
|
Pineapple Sweet and tangy
|
|
91
91
|
Strawberry Red and sweet Popular
|
|
92
92
|
|
|
93
|
+
Vegetables
|
|
93
94
|
|
|
94
95
|
|
|
95
96
|
↵ view details ↑↓ navigate ^k actions :vim
|
|
96
|
-
|
|
97
97
|
"
|
|
98
98
|
`)
|
|
99
99
|
|
|
@@ -117,10 +117,10 @@ test('list with sections navigation', async () => {
|
|
|
117
117
|
Pineapple Sweet and tangy
|
|
118
118
|
Strawberry Red and sweet Popular
|
|
119
119
|
|
|
120
|
+
Vegetables
|
|
120
121
|
|
|
121
122
|
|
|
122
123
|
↑↓ navigate ^k actions :vim
|
|
123
|
-
|
|
124
124
|
"
|
|
125
125
|
`)
|
|
126
126
|
|
|
@@ -148,10 +148,10 @@ test('list with sections navigation', async () => {
|
|
|
148
148
|
Pineapple Sweet and tangy
|
|
149
149
|
Strawberry Red and sweet Popular
|
|
150
150
|
|
|
151
|
+
Vegetables
|
|
151
152
|
|
|
152
153
|
|
|
153
154
|
↑↓ navigate ^k actions :vim
|
|
154
|
-
|
|
155
155
|
"
|
|
156
156
|
`)
|
|
157
157
|
|
|
@@ -191,11 +191,11 @@ test('list with sections search functionality', async () => {
|
|
|
191
191
|
|
|
192
192
|
|
|
193
193
|
|
|
194
|
-
↵ view details ↑↓ navigate ^k actions :vim
|
|
195
194
|
|
|
196
195
|
|
|
197
196
|
|
|
198
197
|
|
|
198
|
+
↵ view details ↑↓ navigate ^k actions :vim
|
|
199
199
|
"
|
|
200
200
|
`)
|
|
201
201
|
|
|
@@ -227,11 +227,11 @@ test('list with sections search functionality', async () => {
|
|
|
227
227
|
|
|
228
228
|
|
|
229
229
|
|
|
230
|
-
↵ view details ↑↓ navigate ^k actions :vim
|
|
231
230
|
|
|
232
231
|
|
|
233
232
|
|
|
234
233
|
|
|
234
|
+
↵ view details ↑↓ navigate ^k actions :vim
|
|
235
235
|
"
|
|
236
236
|
`)
|
|
237
237
|
|
|
@@ -258,10 +258,10 @@ test('list with sections search functionality', async () => {
|
|
|
258
258
|
Pineapple Sweet and tangy
|
|
259
259
|
Strawberry Red and sweet Popular
|
|
260
260
|
|
|
261
|
+
Vegetables
|
|
261
262
|
|
|
262
263
|
|
|
263
264
|
↵ view details ↑↓ navigate ^k actions :vim
|
|
264
|
-
|
|
265
265
|
"
|
|
266
266
|
`)
|
|
267
267
|
|
|
@@ -290,11 +290,11 @@ test('list with sections search functionality', async () => {
|
|
|
290
290
|
|
|
291
291
|
|
|
292
292
|
|
|
293
|
-
↵ view details ↑↓ navigate ^k actions :vim
|
|
294
293
|
|
|
295
294
|
|
|
296
295
|
|
|
297
296
|
|
|
297
|
+
↵ view details ↑↓ navigate ^k actions :vim
|
|
298
298
|
"
|
|
299
299
|
`)
|
|
300
300
|
|
|
@@ -423,10 +423,10 @@ test('list click functionality', async () => {
|
|
|
423
423
|
Pineapple Sweet and tangy
|
|
424
424
|
Strawberry Red and sweet Popular
|
|
425
425
|
|
|
426
|
+
Vegetables
|
|
426
427
|
|
|
427
428
|
|
|
428
429
|
↑↓ navigate ^k actions :vim
|
|
429
|
-
|
|
430
430
|
"
|
|
431
431
|
`)
|
|
432
432
|
expect(afterClickGrape).toContain('Grape')
|
|
@@ -527,10 +527,10 @@ test('list actions panel with ctrl+k', async () => {
|
|
|
527
527
|
Pineapple Sweet and tangy
|
|
528
528
|
Strawberry Red and sweet Popular
|
|
529
529
|
|
|
530
|
+
Vegetables
|
|
530
531
|
|
|
531
532
|
|
|
532
533
|
✓ Added to Cart Apple has been added to your cart
|
|
533
|
-
|
|
534
534
|
"
|
|
535
535
|
`)
|
|
536
536
|
}, 10000)
|
|
@@ -579,11 +579,11 @@ test('filtering selects first visible item and navigation works', async () => {
|
|
|
579
579
|
|
|
580
580
|
|
|
581
581
|
|
|
582
|
-
↑↓ navigate ^k actions :vim
|
|
583
582
|
|
|
584
583
|
|
|
585
584
|
|
|
586
585
|
|
|
586
|
+
↑↓ navigate ^k actions :vim
|
|
587
587
|
"
|
|
588
588
|
`)
|
|
589
589
|
|
|
@@ -607,11 +607,11 @@ test('filtering selects first visible item and navigation works', async () => {
|
|
|
607
607
|
|
|
608
608
|
|
|
609
609
|
|
|
610
|
-
↵ view details ↑↓ navigate ^k actions :vim
|
|
611
610
|
|
|
612
611
|
|
|
613
612
|
|
|
614
613
|
|
|
614
|
+
↵ view details ↑↓ navigate ^k actions :vim
|
|
615
615
|
"
|
|
616
616
|
`)
|
|
617
617
|
|
|
@@ -635,11 +635,11 @@ test('filtering selects first visible item and navigation works', async () => {
|
|
|
635
635
|
|
|
636
636
|
|
|
637
637
|
|
|
638
|
-
↵ view details ↑↓ navigate ^k actions :vim
|
|
639
638
|
|
|
640
639
|
|
|
641
640
|
|
|
642
641
|
|
|
642
|
+
↵ view details ↑↓ navigate ^k actions :vim
|
|
643
643
|
"
|
|
644
644
|
`)
|
|
645
645
|
|
|
@@ -663,11 +663,11 @@ test('filtering selects first visible item and navigation works', async () => {
|
|
|
663
663
|
|
|
664
664
|
|
|
665
665
|
|
|
666
|
-
↵ view details ↑↓ navigate ^k actions :vim
|
|
667
666
|
|
|
668
667
|
|
|
669
668
|
|
|
670
669
|
|
|
670
|
+
↵ view details ↑↓ navigate ^k actions :vim
|
|
671
671
|
"
|
|
672
672
|
`)
|
|
673
673
|
// Verify Carrot is still selected (not wrapped to Orange)
|
|
@@ -700,10 +700,10 @@ test('list scrollbox scrolling with sections', async () => {
|
|
|
700
700
|
Pineapple Sweet and tangy
|
|
701
701
|
Strawberry Red and sweet Popular
|
|
702
702
|
|
|
703
|
+
Vegetables
|
|
703
704
|
|
|
704
705
|
|
|
705
706
|
↵ view details ↑↓ navigate ^k actions :vim
|
|
706
|
-
|
|
707
707
|
"
|
|
708
708
|
`)
|
|
709
709
|
|
|
@@ -733,10 +733,10 @@ test('list scrollbox scrolling with sections', async () => {
|
|
|
733
733
|
Pineapple Sweet and tangy
|
|
734
734
|
›Strawberry Red and sweet Popular
|
|
735
735
|
|
|
736
|
+
Vegetables
|
|
736
737
|
|
|
737
738
|
|
|
738
739
|
↑↓ navigate ^k actions :vim
|
|
739
|
-
|
|
740
740
|
"
|
|
741
741
|
`)
|
|
742
742
|
|
|
@@ -754,6 +754,7 @@ test('list scrollbox scrolling with sections', async () => {
|
|
|
754
754
|
|
|
755
755
|
> Search items...
|
|
756
756
|
|
|
757
|
+
Vegetables
|
|
757
758
|
Carrot Orange and crunchy Healthy
|
|
758
759
|
Lettuce Green and fresh
|
|
759
760
|
›Broccoli Green florets Healthy
|
|
@@ -766,7 +767,6 @@ test('list scrollbox scrolling with sections', async () => {
|
|
|
766
767
|
|
|
767
768
|
|
|
768
769
|
↑↓ navigate ^k actions :vim
|
|
769
|
-
|
|
770
770
|
"
|
|
771
771
|
`)
|
|
772
772
|
|
|
@@ -786,6 +786,7 @@ test('list scrollbox scrolling with sections', async () => {
|
|
|
786
786
|
|
|
787
787
|
> Search items...
|
|
788
788
|
|
|
789
|
+
Vegetables
|
|
789
790
|
Carrot Orange and crunchy Healthy
|
|
790
791
|
Lettuce Green and fresh
|
|
791
792
|
Broccoli Green florets Healthy
|
|
@@ -798,7 +799,6 @@ test('list scrollbox scrolling with sections', async () => {
|
|
|
798
799
|
|
|
799
800
|
|
|
800
801
|
↵ view details ↑↓ navigate ^k actions :vim
|
|
801
|
-
|
|
802
802
|
"
|
|
803
803
|
`)
|
|
804
804
|
|
|
@@ -825,10 +825,10 @@ test('list scrollbox scrolling with sections', async () => {
|
|
|
825
825
|
Pineapple Sweet and tangy
|
|
826
826
|
Strawberry Red and sweet Popular
|
|
827
827
|
|
|
828
|
+
Vegetables
|
|
828
829
|
|
|
829
830
|
|
|
830
831
|
↵ view details ↑↓ navigate ^k actions :vim
|
|
831
|
-
|
|
832
832
|
"
|
|
833
833
|
`)
|
|
834
834
|
}, 15000)
|
|
@@ -899,10 +899,10 @@ test('list does not wrap at top boundary', async () => {
|
|
|
899
899
|
Pineapple Sweet and tangy
|
|
900
900
|
Strawberry Red and sweet Popular
|
|
901
901
|
|
|
902
|
+
Vegetables
|
|
902
903
|
|
|
903
904
|
|
|
904
905
|
↵ view details ↑↓ navigate ^k actions :vim
|
|
905
|
-
|
|
906
906
|
"
|
|
907
907
|
`)
|
|
908
908
|
expect(afterUpSnapshot).toContain('›Apple')
|
|
@@ -40,11 +40,11 @@ test('list navigation works while toast is shown', async () => {
|
|
|
40
40
|
|
|
41
41
|
|
|
42
42
|
|
|
43
|
-
✓ Selected First Item
|
|
44
43
|
|
|
45
44
|
|
|
46
45
|
|
|
47
46
|
|
|
47
|
+
✓ Selected First Item
|
|
48
48
|
"
|
|
49
49
|
`)
|
|
50
50
|
|
|
@@ -68,11 +68,11 @@ test('list navigation works while toast is shown', async () => {
|
|
|
68
68
|
|
|
69
69
|
|
|
70
70
|
|
|
71
|
-
✓ Selected Second Item
|
|
72
71
|
|
|
73
72
|
|
|
74
73
|
|
|
75
74
|
|
|
75
|
+
✓ Selected Second Item
|
|
76
76
|
"
|
|
77
77
|
`)
|
|
78
78
|
|
|
@@ -96,11 +96,11 @@ test('list navigation works while toast is shown', async () => {
|
|
|
96
96
|
|
|
97
97
|
|
|
98
98
|
|
|
99
|
-
✓ Selected Third Item
|
|
100
99
|
|
|
101
100
|
|
|
102
101
|
|
|
103
102
|
|
|
103
|
+
✓ Selected Third Item
|
|
104
104
|
"
|
|
105
105
|
`)
|
|
106
106
|
|
|
@@ -124,11 +124,11 @@ test('list navigation works while toast is shown', async () => {
|
|
|
124
124
|
|
|
125
125
|
|
|
126
126
|
|
|
127
|
-
✓ Selected Second Item
|
|
128
127
|
|
|
129
128
|
|
|
130
129
|
|
|
131
130
|
|
|
131
|
+
✓ Selected Second Item
|
|
132
132
|
"
|
|
133
133
|
`)
|
|
134
134
|
}, 10000)
|