Skip to content

Remove console logs from source files#14

Draft
Copilot wants to merge 3 commits into
mainfrom
copilot/cleanup-console-logs
Draft

Remove console logs from source files#14
Copilot wants to merge 3 commits into
mainfrom
copilot/cleanup-console-logs

Conversation

Copy link
Copy Markdown

Copilot AI commented Mar 24, 2026

Cleans up all debug console.log/warn/error/info/debug calls left in production source code.

Changes

  • Removed console statements from 31 files (~232 lines deleted) across components, services, dashboards, and utilities
  • ErrorBoundary.componentDidCatch removed since it existed solely to call console.error; error capture via getDerivedStateFromError is unaffected
  • Test files, mocks, and setupTests.js left untouched
  • The existing // to log results (for example: reportWebVitals(console.log)) comment in index.js preserved as-is

⚡ Quickly spin up Copilot coding agent tasks from anywhere on your macOS or Windows machine with Raycast.

Copilot AI and others added 2 commits March 24, 2026 19:49
…iles

Removed all console.* calls from 31 source files including components,
services, dashboards, and utility files. Preserved the console.log comment
in index.js and did not touch test/mock/setup files.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
After removing the console.error call, componentDidCatch became a no-op.
Removing the empty method keeps the class clean; error state is still
captured via getDerivedStateFromError.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI changed the title [WIP] Remove console logs from main branch Remove console logs from source files Mar 24, 2026
Copilot AI requested a review from GabiruDLizard March 24, 2026 19:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants