Page MenuHomePhabricator

Remove debug console.log calls from autocomplete bridge (!15)
Closed, ResolvedPublic

Description

Cleanup

src/api/autocomplete.js has six console.log('[autocomplete] …') calls that fire on every category/depicts type-ahead. Visible to any user with DevTools open — looks like leftover instrumentation from the live-vocab bridge work, not intentional production logging.

Lines to remove

  • src/api/autocomplete.js:57 — fetch categories
  • src/api/autocomplete.js:67 — categories returned
  • src/api/autocomplete.js:76 — fetch depicts
  • src/api/autocomplete.js:86 — depicts returned
  • src/api/autocomplete.js:165 — bridge installed
  • src/api/autocomplete.js:170 — matchVocab call

The console.warn calls for actual failures (lines 70, 89) should stay — those surface real errors.

Reported by

Daanvr, 2026-05-08, during dead-UI review.

Event Timeline

Daanvr triaged this task as Low priority.
Daanvr renamed this task from Remove debug console.log calls from autocomplete bridge to Remove debug console.log calls from autocomplete bridge (!15).May 11 2026, 2:13 PM

Released as v0.6.1 (MR !15 merged into main).