Commit f337dc7
committed
Integrate timeline into Trace panel and filters
Wire TracePanel to the global timeline context so trace data respect timeline source and paused time. Import useTimeline and pass source into useTraceBuffer; apply timelineMode/selectedTimeMs filtering (when paused) to visible frames and add those values to the effect deps.
Simplify Trace page pause handling by removing the frozenRef snapshot logic and instead freezing the cursor via seek to collection end when pausing; update filteredFrames to use the canonical frames array and adjust its deps accordingly. These changes ensure the trace list follows the global timeline source and paused time and simplify state handling.1 parent fa05730 commit f337dc7
2 files changed
Lines changed: 15 additions & 20 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
| |||
72 | 73 | | |
73 | 74 | | |
74 | 75 | | |
75 | | - | |
| 76 | + | |
| 77 | + | |
76 | 78 | | |
77 | 79 | | |
78 | 80 | | |
| |||
102 | 104 | | |
103 | 105 | | |
104 | 106 | | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
105 | 111 | | |
106 | 112 | | |
107 | | - | |
108 | | - | |
| 113 | + | |
| 114 | + | |
109 | 115 | | |
110 | 116 | | |
111 | 117 | | |
| |||
115 | 121 | | |
116 | 122 | | |
117 | 123 | | |
118 | | - | |
| 124 | + | |
119 | 125 | | |
120 | 126 | | |
121 | 127 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
434 | 434 | | |
435 | 435 | | |
436 | 436 | | |
437 | | - | |
438 | | - | |
439 | | - | |
440 | | - | |
441 | 437 | | |
442 | 438 | | |
443 | 439 | | |
444 | | - | |
| 440 | + | |
445 | 441 | | |
446 | 442 | | |
447 | 443 | | |
| |||
452 | 448 | | |
453 | 449 | | |
454 | 450 | | |
455 | | - | |
456 | 451 | | |
457 | | - | |
458 | | - | |
459 | | - | |
460 | | - | |
461 | | - | |
462 | | - | |
463 | | - | |
| 452 | + | |
464 | 453 | | |
465 | 454 | | |
466 | 455 | | |
| |||
486 | 475 | | |
487 | 476 | | |
488 | 477 | | |
489 | | - | |
490 | | - | |
| 478 | + | |
| 479 | + | |
491 | 480 | | |
492 | 481 | | |
493 | 482 | | |
| |||
499 | 488 | | |
500 | 489 | | |
501 | 490 | | |
502 | | - | |
| 491 | + | |
503 | 492 | | |
504 | 493 | | |
505 | 494 | | |
| |||
0 commit comments