Skip to content

chore(console): remove production console.log statements (@rathoreanuj)#7768

Open
rathoreanuj wants to merge 1 commit intomonkeytypegame:masterfrom
rathoreanuj:chore/remove-console-logs
Open

chore(console): remove production console.log statements (@rathoreanuj)#7768
rathoreanuj wants to merge 1 commit intomonkeytypegame:masterfrom
rathoreanuj:chore/remove-console-logs

Conversation

@rathoreanuj
Copy link
Copy Markdown

Removed 60+ debug console.log/debug statements from frontend that were logging user data and test patterns to browser console.

Changes:

  • Test files: removed initialization, keypress, and result calculation logs
  • Config files: removed save/load/sync notification logs
  • Auth files: removed auth state change logs
  • Account page: removed 15 filterDebug console.log statements
  • Controllers: removed page navigation debug logs

Kept:

  • console.error in error handlers
  • console.warn for config validation
  • Developer utilities (logger.ts, debug.ts)
  • Intentional logs (Glarses Mode easter egg)

Improves privacy, performance, and code quality.

Removed 60+ debug console.log/debug statements from frontend that were
logging user data and test patterns to browser console.

Changes:
- Test files: removed initialization, keypress, and result calculation logs
- Config files: removed save/load/sync notification logs
- Auth files: removed auth state change logs
- Account page: removed 15 filterDebug console.log statements
- Controllers: removed page navigation debug logs

Kept:
- console.error in error handlers
- console.warn for config validation
- Developer utilities (logger.ts, debug.ts)
- Intentional logs (Glarses Mode easter egg)

Improves privacy, performance, and code quality.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@monkeytypegeorge monkeytypegeorge added the frontend User interface or web stuff label Apr 4, 2026
@rathoreanuj rathoreanuj changed the title chore: remove production console.log statements chore(console): remove production console.log statements (@rathoreanuj) Apr 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

frontend User interface or web stuff

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants