Commit 34ade99
Table rows demo continuity (#150)
* Make mobile demo animation continuous with table rows
- Remove gap between animation loops (200ms restart delay vs 12s interval)
- Add animation for all 3 table rows in Recent Activity section
- Each row gets selected with crosshair, shows component name, and copies
- Animation flows continuously: Export → MetricCard → StatValue → SignupRow → OrderRow → PaymentRow → repeat
Co-authored-by: Aiden Bai <aidenybai@users.noreply.github.com>
* Clean up table row animation code
- Use for..of with entries() instead of index-based loop
- Remove unnecessary null check (we control the data)
- Inline initializeAnimationLoop into direct runAnimationLoop call
- Simplify ref callback syntax
Co-authored-by: Aiden Bai <aidenybai@users.noreply.github.com>
* Fix ref callback to return void for React 19
Co-authored-by: Aiden Bai <aidenybai@users.noreply.github.com>
* Skip last table row in animation
Co-authored-by: Aiden Bai <aidenybai@users.noreply.github.com>
* Add comment interaction for table rows in mobile demo
- Table rows now show comment input UI instead of grab/copy
- Simulates typing into 'Add context' field
- Shows submit button and 'Sent' confirmation
- Matches react-grab comment mode interaction
Co-authored-by: Aiden Bai <aidenybai@users.noreply.github.com>
* Fix activity row animation and concurrent loop issues
- Remove slice(0, -1) to include all three activity rows in animation
- Remove duplicate runAnimationLoop call to prevent concurrent animations
* Fix index mismatch in activity rows and fading label text bug
- Fix Bug 1: Preserve original array indices in activityRowPositions to prevent mismatch with ACTIVITY_DATA when refs are null
- Fix Bug 2: Track and display correct text ('Copied' vs 'Sent') during label fade-out animation
* Fix animation loop not restarting after visibility change
* Position table row labels above to prevent cutoff
Co-authored-by: Aiden Bai <aidenybai@users.noreply.github.com>
* Fix label cutoff: add bottom padding, skip last row, position below
Co-authored-by: Aiden Bai <aidenybai@users.noreply.github.com>
* Make all interactions comment-based except the last one (OrderRow)
- ExportBtn: comment 'add CSV option'
- MetricCard: comment 'show graph'
- StatValue: comment 'format as USD'
- SignupRow: comment 'add avatar'
- OrderRow: grab/copy (last interaction)
Co-authored-by: Aiden Bai <aidenybai@users.noreply.github.com>
* Fix flaky copy-feedback e2e test for hover during feedback period
Co-authored-by: Cursor <cursoragent@cursor.com>
---------
Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: Aiden Bai <aidenybai@users.noreply.github.com>1 parent 725754b commit 34ade99
File tree
2 files changed
+209
-92
lines changed- packages
- react-grab/e2e
- website/components
2 files changed
+209
-92
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
82 | | - | |
83 | | - | |
84 | 82 | | |
85 | 83 | | |
86 | 84 | | |
87 | | - | |
88 | 85 | | |
89 | | - | |
90 | 86 | | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
| 87 | + | |
97 | 88 | | |
98 | | - | |
| 89 | + | |
| 90 | + | |
99 | 91 | | |
100 | | - | |
101 | 92 | | |
102 | 93 | | |
103 | 94 | | |
| |||
0 commit comments