mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-11-19 15:23:20 +00:00
Timeline improvements (#16429)
* virtualize event segments * use virtual segments in event review timeline * add segmentkey to props * virtualize motion segments * use virtual segments in motion review timeline * update draggable element hook to use only math * timeline zooming hook * add zooming to event review timeline * update playground * zoomable timeline on recording view * consolidate divs in summary timeline * only calculate motion data for visible motion segments * use swr loading state * fix motion only * keep handlebar centered when zooming * zoom animations * clean up * ensure motion only checks both halves of segment * prevent handlebar jump when using motion only mode
This commit is contained in:
1 parent
1f89844c67
commit
cc2dbdcb44
17 files changed
+1157
-515
No files matched your search
@@ -60,3 +60,12 @@ export type MotionData = {
|
||||
export const REVIEW_PADDING = 4;
|
||||
|
||||
export type ReviewDetailPaneType = "overview" | "details";
|
||||
|
||||
export type ConsolidatedSegmentData = {
|
||||
startTime: number;
|
||||
endTime: number;
|
||||
severity: ReviewSeverity | "empty";
|
||||
reviewed: boolean;
|
||||
};
|
||||
|
||||
export type TimelineZoomDirection = "in" | "out" | null;
|
||||
Reference in new issue
Block a user