OpenCut-app / OpenCut-app/OpenCut

[UX] Add confirmation dialog for track deletion with element count

Open
#738 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

Deleting a track from the context menu is instant with no confirmation. This can accidentally destroy many clips.

Current Behavior

Right-click track → Delete track → Track immediately deleted with all its elements.

Expected Behavior

Show confirmation dialog: "Delete track? This will remove X elements. This action can be undone."

Files

  • `apps/web/src/components/editor/panels/timeline/index.tsx:522-534`

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 at apps/web/src/components/editor/panels/timeline/index.tsx:522-534, where the context-menu track deletion is handled. Add the confirmation dialog using the requested wording and the track's element count, and ensure deletion only proceeds after confirmation; the issue's expected behavior defines when it is done.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.