pyr0ball opened issue Circuit-Forge/avocet#4

pyr0ball
Wed, 04 Mar 2026 09:31:27 -0800

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

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 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