vailabel/vailabel-studio

chore: Remove leftover debug console.log statements in box-handler

Aperta

#249 aperta il 19 giu 2026

 (0 commenti) (0 reazioni) (0 assegnatari)TypeScript (22 fork)auto 404
good first issuehacktoberfest

Metriche repository

Star
 (62 stelle)
Metriche merge PR
 (Merge medio 6g 18h) (9 PR mergiate in 30 g)

Descrizione

Summary The box drawing handler ships debug console.log statements that were clearly meant for local debugging (e.g. logging box dimensions and "Setting showLabelInput to TRUE"). These spam the console in production.

Where

  • apps/studio/src/features/studio/canvas-state/tools/handlers/box-handler.ts:78
    console.log("BoxHandler onMouseUp - box dimensions:", { width, height })
    
  • apps/studio/src/features/studio/canvas-state/tools/handlers/box-handler.ts:82
    console.log("BoxHandler onMouseUp - Setting showLabelInput to TRUE")
    

Steps

  1. Branch: git checkout -b chore/remove-debug-logs-box-handler.
  2. Remove the two debug console.log lines (the surrounding logic stays).
  3. Optionally grep nearby handlers for similar stray logs.
  4. Run yarn lint; commit chore: remove debug logs from box-handler and open a PR.

Acceptance criteria

  • No debug console.log left in box-handler.ts.
  • Box drawing still works (yarn studio).

Good first issue — comment here if you'd like to take it.

Guida contributor