Skip to content

Added clear button to reset editor state#1166

Open
Charan-Mugada wants to merge 1 commit into
magic-peach:mainfrom
Charan-Mugada:feature-clear-editor-reset-clean
Open

Added clear button to reset editor state#1166
Charan-Mugada wants to merge 1 commit into
magic-peach:mainfrom
Charan-Mugada:feature-clear-editor-reset-clean

Conversation

@Charan-Mugada
Copy link
Copy Markdown
Contributor

@Charan-Mugada Charan-Mugada commented May 25, 2026

Description

feat: Added a dedicated Clear button to fully reset the editor state without refreshing the page.

Changes made

  • Added a Clear button beside the existing Change button
  • Connected the existing reset() function to the upload UI
  • Reset uploaded video, editor settings, overlays, and export state
  • Added accessible labels for the new button
  • Maintained existing upload/change functionality

Related Issue

Closes #699

Type of Contribution

  • Bug fix
  • New feature
  • Documentation update
  • Refactor
  • GSSoC contribution

Participant Info

  • GitHub username: Charan-Mugada
  • Contribution level (Beginner/Intermediate/Advanced): Advanced

Screen Recording

clear.button.mp4

Checklist

  • I have read the contribution guidelines
  • My changes follow the project structure
  • I have tested my changes in Chrome, Firefox, and Safari
  • bun run lint passes (no ESLint errors)
  • bunx tsc --noEmit passes (no TypeScript errors)
  • New interactive elements have aria-label / accessible names
  • No console.log statements left in
  • This PR is related to a valid issue
  • Screen recording attached above (required for UI/feature/design changes)

@vercel
Copy link
Copy Markdown

vercel Bot commented May 25, 2026

@Charan-Mugada 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
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 25, 2026

⚠️ PR Format Issues — @Charan-Mugada

Please fix the following before your PR can be reviewed:

  • ⚠️ Use a conventional PR title. Examples:
    • feat: add dark mode support
    • fix: resolve aria label missing on slider
    • docs: add deployment guide to README

Push new commits after fixing — this comment will update automatically.

📖 CONTRIBUTING.md

@github-actions
Copy link
Copy Markdown
Contributor

👋 Thanks for your PR, @Charan-Mugada!

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

🟠 GSSoC'26 PR detected — thanks for contributing under GirlScript Summer of Code 2026!

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 added level:intermediate Intermediate level - 35 pts type:bug Bug fix type:design UI/UX design type:docs Documentation type:feature New feature type:refactor Code refactor gssoc'26 GirlScript Summer of Code 2026 labels May 25, 2026
@Charan-Mugada
Copy link
Copy Markdown
Contributor Author

Hi @magic-peach
Implemented the Clear button functionality and fully reset the editor state without page refresh. Added recording and validation details in the PR

@Charan-Mugada
Copy link
Copy Markdown
Contributor Author

Hi @magic-peach

I noticed my previous PR was tagged as level:advanced, but this new PR got level:intermediate. Since this contribution also involved editor state reset logic, accessibility handling, and UI updates across multiple components, would it be possible to reconsider the level tag if you feel it qualifies?

No worries if not — just wanted to ask 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

gssoc'26 GirlScript Summer of Code 2026 level:intermediate Intermediate level - 35 pts type:bug Bug fix type:design UI/UX design type:docs Documentation type:feature New feature type:refactor Code refactor

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: Add Clear Button to Reset Video Editor State

1 participant