feat: enhance Recording Studio with reorderable events, origin options, and hover previews

This commit is contained in:
2026-02-15 18:13:25 +01:00
parent 40fa2a7721
commit 90cdd7e713
4 changed files with 247 additions and 27 deletions

View File

@@ -3,11 +3,12 @@ export interface RecordEvent {
type: 'click' | 'scroll' | 'wait' | 'hover';
selector?: string; // CSS selector
timestamp: number; // Time in ms since start of recording
duration: number; // Duration of the action (e.g. scroll duration)
duration: number; // Duration allocated for this action in playback
zoom?: number; // Zoom level during event
description?: string; // Optional label
motionBlur?: boolean; // Enable motion blur effect
rect?: { x: number; y: number; width: number; height: number }; // Element position for rendering
clickOrigin?: 'center' | 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right';
}
export interface RecordingSession {