Skip to content

chore(ui): remove debug console.log from settings and extension components#7881

Closed
jeffa-block wants to merge 3 commits intoblock:mainfrom
jeffa-block:jeffa/cleanup-debug-logs-settings
Closed

chore(ui): remove debug console.log from settings and extension components#7881
jeffa-block wants to merge 3 commits intoblock:mainfrom
jeffa-block:jeffa/cleanup-debug-logs-settings

Conversation

@jeffa-block
Copy link
Copy Markdown
Contributor

Why

Settings and extension-related components contain 16 debug console.log statements that trace internal state (update checks, toggle events, deeplink routing, form validation, install flow) to DevTools in production builds.

What

Remove debug console.log from 6 files:

File Logs removed What they traced
UpdateSection.tsx 2 Update state discovery, updater events
ExtensionItem.tsx 1 Toggle failure revert
deeplink.ts 2 Env var redirect, direct activation
PermissionModal.tsx 1 Permission save success
ExtensionModal.tsx 1 Form validation failure
ExtensionInstallModal.tsx 7 Full extension install flow

All console.error calls for actual error handling are preserved.

How to review

6 files, 16 deletions. Each removal is a standalone console.log — no logic changes.

Testing

  • npm run build in ui/desktop — no compile errors
  • Manual: verify settings page, extension install, and deeplink flows still work

…nents

Remove 16 debug console.log statements across 6 settings-related files:

- UpdateSection.tsx: update state and updater event traces
- ExtensionItem.tsx: toggle failure revert trace
- deeplink.ts: env var redirect and direct activation traces
- PermissionModal.tsx: success confirmation trace
- ExtensionModal.tsx: form validation trace
- ExtensionInstallModal.tsx: full install flow traces (7 statements)

All console.error calls for actual error handling are preserved.
@DOsinga
Copy link
Copy Markdown
Collaborator

DOsinga commented Mar 26, 2026

Squashed into #8142

@DOsinga DOsinga closed this Mar 26, 2026
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