Commit 674a39a
committed
🤖 refactor: add data-chromatic ignore to Shimmer component
The Shimmer component uses infinite animations which cause visual regression
issues in Chromatic. Adding data-chromatic="ignore" to the component itself
tells Chromatic to ignore this element in all stories, rather than disabling
entire stories.
This approach:
- Keeps stories enabled for visual testing
- Only ignores the animated Shimmer element itself
- Works automatically in any story that uses Shimmer1 parent cbb5fbf commit 674a39a
File tree
3 files changed
+7
-0
lines changed- src
- components
- Messages
- ai-elements
3 files changed
+7
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
389 | 389 | | |
390 | 390 | | |
391 | 391 | | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
392 | 396 | | |
393 | 397 | | |
394 | 398 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
| 17 | + | |
16 | 18 | | |
17 | 19 | | |
18 | 20 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| 36 | + | |
36 | 37 | | |
37 | 38 | | |
38 | 39 | | |
| |||
0 commit comments