File tree Expand file tree Collapse file tree 2 files changed +21
-1
lines changed Expand file tree Collapse file tree 2 files changed +21
-1
lines changed Original file line number Diff line number Diff line change @@ -744,6 +744,26 @@ export default class ReplayReader {
744
744
)
745
745
) ;
746
746
747
+ getSummaryChapterFrames = memoize ( ( ) => {
748
+ return [
749
+ ...this . getPerfFrames ( ) ,
750
+ ...this . getCustomFrames ( ) ,
751
+ ...this . _sortedBreadcrumbFrames . filter ( frame =>
752
+ [
753
+ 'replay.hydrate-error' ,
754
+ 'replay.mutations' ,
755
+ 'feedback' ,
756
+ 'device.battery' ,
757
+ 'device.connectivity' ,
758
+ 'device.orientation' ,
759
+ 'app.foreground' ,
760
+ 'app.background' ,
761
+ ] . includes ( frame . category )
762
+ ) ,
763
+ ...this . _errors ,
764
+ ] . sort ( sortFrames ) ;
765
+ } ) ;
766
+
747
767
getPerfFrames = memoize ( ( ) => {
748
768
const crumbs = removeDuplicateClicks (
749
769
this . _sortedBreadcrumbFrames . filter (
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ export function ChapterList({timeRanges}: Props) {
47
47
feedback,
48
48
breadcrumbs :
49
49
replay
50
- ?. getChapterFrames ( )
50
+ ?. getSummaryChapterFrames ( )
51
51
. filter (
52
52
breadcrumb =>
53
53
breadcrumb . timestampMs >= period_start &&
You can’t perform that action at this time.
0 commit comments