Skip to content

fix: remove leftover debug console.log from useVideoEditor#703

Open
vivekyadav-3 wants to merge 1 commit into
magic-peach:mainfrom
vivekyadav-3:fix/remove-debug-logs
Open

fix: remove leftover debug console.log from useVideoEditor#703
vivekyadav-3 wants to merge 1 commit into
magic-peach:mainfrom
vivekyadav-3:fix/remove-debug-logs

Conversation

@vivekyadav-3
Copy link
Copy Markdown
Contributor

@vivekyadav-3 vivekyadav-3 commented May 19, 2026

Description

Removed a leftover debug console.log from useVideoEditor.ts (line 258) that was tracking memory usage. This ensures adherence to the rule defined in CONTRIBUTING.md ("No console.log: Remove debug logs before submitting").

Related Issue

None (Minor Code Cleanup)

Type of Contribution

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

Participant Info

  • GitHub username: vivekyadav-3
  • Contribution level (Beginner/Intermediate/Advanced): Beginner

Screen Recording

Recording / Loom link: N/A - This is a pure code-cleanup PR with no UI/design changes.

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)

Closes #736

Copilot AI review requested due to automatic review settings May 19, 2026 07:07
@vercel
Copy link
Copy Markdown

vercel Bot commented May 19, 2026

@vivekyadav1207vy-sudo 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 19, 2026

✅ PR Format Check Passed — @vivekyadav-3

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, @vivekyadav-3!

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:beginner Beginner level - 20 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 19, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Removes a leftover debug console.log inside the development-only memory monitor effect in useVideoEditor.ts, replacing it with a placeholder comment to satisfy the CONTRIBUTING.md "no console.log" rule.

Changes:

  • Replaces the console.log("[Reframe Memory]", ...) statement with a // Track memory usage if needed comment.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/hooks/useVideoEditor.ts Outdated
const mem = (performance as Performance & { memory?: { usedJSHeapSize: number } }).memory;
if (mem) {
console.log("[Reframe Memory]", Math.round(mem.usedJSHeapSize / 1e6), "MB used");
// Track memory usage if needed
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:beginner Beginner level - 20 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.

cleanup: leftover debug console.log in useVideoEditor

3 participants