Skip to content

feat: add multi-track timeline for video, audio, image and text clips…#1587

Open
Bhavy12-cell wants to merge 1 commit into
magic-peach:mainfrom
Bhavy12-cell:feat/multi-track-timeline-1512
Open

feat: add multi-track timeline for video, audio, image and text clips…#1587
Bhavy12-cell wants to merge 1 commit into
magic-peach:mainfrom
Bhavy12-cell:feat/multi-track-timeline-1512

Conversation

@Bhavy12-cell

Copy link
Copy Markdown
Contributor

Summary

Closes #1512

What's Added

New Files

  • src/components/MultiTrackTimeline.tsx
    Full NLE-style multi-track timeline component with:

    • Layered video, audio, image, and text tracks
    • Draggable clip blocks with reposition support
    • Click-to-scrub ruler with playhead sync
    • Add track buttons per type
    • Delete clips per track
    • Track + clip count footer
  • src/hooks/useMultiTrackTimeline.ts
    State management hook for timeline with:

    • addTrack(type) — adds new track of given type
    • addClip(trackId, clip) — places clip on a track
    • moveClip(clipId, trackId, newStart) — repositions clip
    • deleteClip(clipId, trackId) — removes clip

Modified Files

  • src/components/VideoEditor.tsx
    Added MultiTrackTimeline section below the editing controls,
    visible when a file is loaded.

Architecture Notes

  • Zero new dependencies — pure React state + CSS
  • No FFmpeg.wasm changes — timeline is UI only
  • Follows existing EditRecipe pattern and cn() utility
  • Static export compatible — no server features used
  • All hooks called before any conditional returns

Checklist

  • ✅ Multiple video/audio/image/text tracks
  • ✅ Draggable clip repositioning
  • ✅ Click-to-scrub playhead on ruler
  • ✅ Add/delete tracks and clips
  • ✅ No new dependencies
  • ✅ No TypeScript errors
  • ✅ Static export compatible

@vercel

vercel Bot commented Jun 18, 2026

Copy link
Copy Markdown

@Bhavy12-cell is attempting to deploy a commit to the magic-peach1's projects Team on Vercel.

A member of the Team first needs to authorize it.

@github-actions github-actions Bot added level:advanced Advanced level - 55 pts type:design UI/UX design labels Jun 18, 2026
@github-actions

Copy link
Copy Markdown
Contributor

✅ PR Format Check Passed — @Bhavy12-cell

Basic format checks passed. A maintainer will review your code changes.

This does not mean the PR is approved — it just means the format is correct.

@github-actions

Copy link
Copy Markdown
Contributor

👋 Thanks for your PR, @Bhavy12-cell!

Welcome to Reframe — a browser-based video editor built for everyone 🎬

What happens next

  1. 🤖 Automated checks — build & TypeScript typecheck will run automatically
  2. Vercel preview — a preview deployment will be created (requires maintainer authorization for fork PRs)
  3. 👀 Code review — a maintainer will review your changes
  4. 🚀 Merge — once approved, your PR will be merged!

Quick checklist

  • PR title follows Conventional Commits (e.g. feat: add dark mode)
  • Linked the issue this PR closes (e.g. Closes #123)
  • Tested the changes locally (bun run dev)
  • Build passes (bun run build)

Useful links

Happy coding! 🎉

@github-actions

github-actions Bot commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

👋 This PR has been inactive for 21 days. It will be automatically closed in 14 days if there's no further activity.

If you need help with this PR, please comment or ping a maintainer.
Make sure your branch is rebased onto main and all CI checks pass.

@github-actions github-actions Bot added the needs-fixes PR has issues that need to be fixed label Jul 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

level:advanced Advanced level - 55 pts needs-fixes PR has issues that need to be fixed type:design UI/UX design

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEATURE] Add Multi-Track Timeline for Video, Audio, and Overlay Clips

1 participant