Skip to content

fix(web): drop debug console.log that logged note content on every keystroke - #1473

Closed
abhay-codes07 wants to merge 1 commit into
supermemoryai:mainfrom
abhay-codes07:fix/remove-note-debug-log
Closed

fix(web): drop debug console.log that logged note content on every keystroke#1473
abhay-codes07 wants to merge 1 commit into
supermemoryai:mainfrom
abhay-codes07:fix/remove-note-debug-log

Conversation

@abhay-codes07

Copy link
Copy Markdown
Contributor

FullscreenNoteModal's handleContentChange ran console.log("handleContentChange", newContent) on every change, so the full note body was written to the production console on every keystroke. Removed the leftover debug line; the surrounding setContent / setDraft behavior is unchanged.

Minor, but it is noisy and needlessly puts user note content in the console.

…ystroke

FullscreenNoteModal's onChange handler ran `console.log("handleContentChange",
newContent)` on every edit, spamming the production console with the full note
body as the user types. Remove it.
Copilot AI lite review requested due to automatic review settings August 14, 2026 18:16

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@MaheshtheDev

Copy link
Copy Markdown
Member

Included in #1596 with your commit and authorship intact, plus a Co-Authored-By trailer in the description so the credit survives the squash merge.

Good catch on this one. That line printed the whole note body on every keystroke, and PostHog session replay can pick console output up.

Thanks @abhay-codes07.

graphite-app Bot pushed a commit that referenced this pull request Aug 25, 2026
…og (#1596)

Cherry-picks two cleanup PRs and finishes the job. Net 262 deletions.

- #1473 (@abhay-codes07): drops a `console.log` in the fullscreen note editor that printed the whole note body on every keystroke, which PostHog session replay can capture.
- #1563 (@ishaanxgupta): removes `/api/onboarding/research` and `/api/onboarding/extract-content`. Neither has a caller anywhere in the repo, and both spent metered Exa and xAI quota. This reverts the guards added for them in #1589, which only existed to make unreachable code safe.
- On top: `EXA_API_KEY`, `XAI_API_KEY` and the `@ai-sdk/xai` dependency are removed, since deleting those routes left them with no consumer.

Co-Authored-By: abhay-codes07 <182421137+abhay-codes07@users.noreply.github.com>
Co-Authored-By: ishaanxgupta <124028055+ishaanxgupta@users.noreply.github.com>
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.

3 participants