feat: add visual range slider to TrimControl for better UX#546
feat: add visual range slider to TrimControl for better UX#546rahul616sama wants to merge 10 commits into
Conversation
|
@rahul616sama 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. |
👋 Thanks for your PR, @rahul616sama!Welcome to Reframe — a browser-based video editor built for everyone 🎬 What happens next
Quick checklist
Useful links
Happy coding! 🎉 |
✅ PR Format Check Passed — @rahul616samaBasic 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. |
|
This PR also includes the custom rotation slider feature. |
|
This PR also includes the custom rotation slider feature. |
|
Hey @rahul616sama! This PR has rm package-lock.json
git add package-lock.json
git commit -m "chore: remove package-lock.json"
git pushOnce removed and CI passes, the RotateControl and TrimControl changes will be reviewed. Thanks! |
|
Hey @rahul616sama! The CI build failed for this PR with an accessibility lint error: This means a
For example: <label htmlFor="rotate-slider">Rotation</label>
<input id="rotate-slider" type="range" ... />Fix this and push again to re-run CI. |
|
Hey @rahul616sama! The visual range slider for TrimControl is a good UX improvement. This PR has:
Please rebase and fix build errors. |
|
Hey @rahul616sama! The build check is failing on this PR. Please fix the build errors and push again. Check the CI run for specific error details. |
|
Hey @magic-peach I've addressed all the feedback:
Ready for review! 🙏 |
|
Hey @rahul616sama! This PR looks good in terms of code structure, but the build/lint/typecheck CI hasn't run yet. Please rebase onto the latest git fetch upstream
git rebase upstream/main
git push --force-with-leaseOnce CI passes, we'll review and merge! |
|
Hey @magic-peach Done — rebased onto the latest main and force-pushed. CI should trigger now. Let me know if anything else is needed |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
@rahul616sama almost all tests are failing please fix them |
|
Hey @magic-peach On it — running the tests locally to identify and fix the failures. Will push a fix shortly! |
|
Hey @magic-peach Fixed the merge conflict in TrimControl.tsx and pushed ✅. All tests passing locally. Could you approve the workflows when you get a chance? 🙏 |
|
Hey @rahul616sama! 👋 We've added a new requirement for all PRs: a screen recording showing your changes working on your local machine must be attached before a PR can be merged. Please add a recording to this PR that shows:
How to record:
Once you have the recording, drag the file directly into a comment on this PR, or paste a Loom link. This is now a hard requirement — see CONTRIBUTING.md for full details. Thanks for contributing to Reframe! 🎬 |
|
Hey @magic-peach ..Ready for review! 🙏 |
|
For #660 Uploading Editing_ Editing_ WhatsApp Video 2026-05-17 at 12.43.59 PM.mp4 _ Reframe - Brave 2026-05-19 11-27-40.mp4 _ Reframe - Brave 2026-05-20 10-20-15.mp4… |
|
Hey @magic-peach Updated the PR to also close #660 — added a BeforeAfterSlider component that appears on the video preview whenever brightness, contrast, or saturation is adjusted. Screen recording attached showing it working. Ready for review |
|
Also closes #803 Editing_.Editing_.Editing_.WhatsApp.Video.2026-05-17.at.12.43.59.PM.mp4._.Reframe.-.Brave.2026-05-19.11-27-40.mp4._.Reframe.-.Brave.2026-05-20.10-20-15.mp4._.Reframe.-.Brave.2026-05-21.11-10-19.mp4 |
|
Hey @magic-peach ..Ready for review! 🙏 |
|
Hey @magic-peach All 53 tests passing , conflicts resolved, screen recordings added. Could you approve the workflows when you get a chance? Ready for review! 🙏 |
|
Hey @rahul616sama! A visual range slider for TrimControl is a great UX improvement. However, this PR has merge conflicts with If your implementation has meaningful differences, please rebase: git fetch origin
git rebase origin/main
# resolve any conflicts
git push --force-with-leaseOnce rebased and CI passes, we'll compare and decide if there are additional improvements to bring in. Thanks! |
|
Hey @magic-peach I checked PR #702 , you're right, the TrimControl visual range slider overlaps. I've kept their implementation in my rebase. However, my PR still adds these unique features not in #702: BeforeAfterSlider — live before/after comparison for brightness/contrast/saturation Would it make sense to keep this PR for just those additional features? Happy to clean it up if needed 🙏 |
|
@rahul616sama Thank you for working on this! As noted in the comments, there's overlap with PR #702 (which already merged a visual TrimControl range slider). The unique features you mentioned (BeforeAfterSlider, BeforeAfterControl) could be valuable additions — however there are a couple of issues: 1. PR from your git checkout -b feat/before-after-slider
git push origin feat/before-after-slider2. Duplicate difficulty labels If the TrimControl slider is already merged via #702, please open a separate focused PR for the unique BeforeAfterSlider/BeforeAfterControl features. Thank you! |
Description
Added a visual dual-handle range slider to the TrimControl component so users can drag to set start/end times instead of typing manually.
Related Issue
Closes #537
Closes #666
Closes #660
Closes #803
Changes Made