[Chore] Strip debug console.debug/warn statements before production #4

Open
opened 2026-03-04 09:31:27 -08:00 by pyr0ball · 0 comments
Owner

Debug logging currently active

Several diagnostic console.debug and console.warn statements were added during development:

LabelView.vue

  • [avocet] LabelView mounted
  • [avocet] fetchBatch start, queue length: N
  • [avocet] fetchBatch done, got N items, total: N
  • [avocet] handleSkip <id>
  • snapWidths() diagnostic function + requestAnimationFrame/setTimeout calls

EmailCardStack.vue

  • [avocet] swipe end <dir> lengthX: N

Decision

For a demo-facing tool, strip all debug logging before production/menagerie use. If runtime debugging is needed later, use Vue DevTools or a CF_DEBUG flag.

Acceptance Criteria

  • No console.debug or diagnostic console.warn in production build
  • snapWidths function and its timing calls removed
  • npm run build produces a clean bundle with no debug artifacts
## Debug logging currently active Several diagnostic `console.debug` and `console.warn` statements were added during development: **LabelView.vue** - `[avocet] LabelView mounted` - `[avocet] fetchBatch start, queue length: N` - `[avocet] fetchBatch done, got N items, total: N` - `[avocet] handleSkip <id>` - `snapWidths()` diagnostic function + `requestAnimationFrame`/`setTimeout` calls **EmailCardStack.vue** - `[avocet] swipe end <dir> lengthX: N` ## Decision For a demo-facing tool, strip all debug logging before production/menagerie use. If runtime debugging is needed later, use Vue DevTools or a `CF_DEBUG` flag. ## Acceptance Criteria - No `console.debug` or diagnostic `console.warn` in production build - `snapWidths` function and its timing calls removed - `npm run build` produces a clean bundle with no debug artifacts
pyr0ball added the
bug
enhancement
labels 2026-03-14 16:45:48 -07:00
pyr0ball added this to the Alpha — Label Tool milestone 2026-03-14 16:45:50 -07:00
pyr0ball added this to the The Menagerie project 2026-03-14 16:45:52 -07:00
pyr0ball self-assigned this 2026-03-14 16:45:53 -07:00
Sign in to join this conversation.
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: Circuit-Forge/avocet#4
No description provided.