feat: enhance comment functionality with timestamp range support

- Added timestampEnd to Comment and CommentReply interfaces.
- Implemented logic for handling comment timestamp ranges in the comment composer and comments pane.
- Updated video player and player core to support frame stepping and improved seeking functionality.
- Introduced frame mode toggle for precise navigation during video playback.
- Closes #12
This commit is contained in:
yusufipk
2026-04-25 22:58:16 +03:00
parent 63f331d220
commit 378ca1977b
8 changed files with 537 additions and 110 deletions
+4
View File
@@ -78,6 +78,8 @@ export interface ApprovalRequest {
export interface CommentReply {
id: string;
content: string | null;
timestamp: number;
timestampEnd: number | null;
voiceUrl: string | null;
voiceDuration: number | null;
imageUrl: string | null;
@@ -94,6 +96,7 @@ export interface Comment {
id: string;
content: string | null;
timestamp: number;
timestampEnd: number | null;
voiceUrl: string | null;
voiceDuration: number | null;
imageUrl: string | null;
@@ -145,6 +148,7 @@ export type DownloadTarget = BunnyDownloadPreference | 'direct';
export interface CommentMarker {
id: string;
timestamp: number;
timestampEnd: number | null;
color: string;
annotationData: string | null;
preview: string;