OpenCut-app / OpenCut-app/OpenCut
[UX] Add confirmation dialog for track deletion with element count
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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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