feat: Introduce pauseAfterSeek option to the video player, refresh landing page content and animations, and update the dashboard image.

This commit is contained in:
Yusuf İpek
2026-02-26 15:19:11 +03:00
parent 8d59095e72
commit bbf44fd0aa
9 changed files with 512 additions and 821 deletions
+6 -2
View File
@@ -34,7 +34,11 @@ interface CommentsPaneProps {
handleExportComments: (format: 'csv' | 'pdf') => void;
canResolveComments: boolean;
handleResolveComment: (commentId: string, currentlyResolved: boolean) => void;
handleSeekToTimestamp: (timestamp: number, annotation?: string | null) => void;
handleSeekToTimestamp: (
timestamp: number,
annotation?: string | null,
options?: { pauseAfterSeek?: boolean }
) => void;
currentUserId: string | null;
projectOwnerId: string;
editingCommentId: string | null;
@@ -294,7 +298,7 @@ export const CommentsPane = memo(function CommentsPane({
<div className="flex items-center gap-1 shrink-0">
<button
onClick={() => handleSeekToTimestamp(comment.timestamp, comment.annotationData)}
onClick={() => handleSeekToTimestamp(comment.timestamp, comment.annotationData, { pauseAfterSeek: true })}
className="flex items-center gap-1 text-xs text-primary hover:underline px-1.5 py-0.5 rounded bg-primary/10 hover:bg-primary/20 transition-colors"
title="Jump to this timestamp"
>