OpenCut-app / OpenCut-app/OpenCut

[FEATURE] Track locking to prevent accidental edits

Open
#736 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
89.8k
Forks
8.9k
PR merge metrics
No merged PRs in 30d

Description

Description

There is no ability to lock tracks to prevent accidental edits. This is a standard feature in professional video editors.

Expected Behavior

  • Lock icon button per track (next to mute/visibility toggles)
  • Locked tracks prevent: element deletion, moving, resizing, splitting
  • Locked tracks still allow playback
  • Visual indicator (dimmed or lock overlay) when track is locked

Files

  • `apps/web/src/components/editor/panels/timeline/index.tsx`
  • `apps/web/src/types/timeline.ts` (add `locked` field to Track type)

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with apps/web/src/components/editor/panels/timeline/index.tsx and apps/web/src/types/timeline.ts, then trace the timeline paths responsible for deleting, moving, resizing, and splitting elements. Add the track lock state and UI behavior so locked tracks remain playable but reject those edits and show a visual indicator. Done means each listed edit is blocked while playback still works.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.