vailabel/vailabel-studio
Vedi su GitHubchore: Remove leftover debug console.log statements in box-handler
Open
#249 aperta il 19 giu 2026
good first issuehacktoberfest
Metriche repository
- Star
- (62 star)
- Metriche merge PR
- (Metriche PR in attesa)
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:78console.log("BoxHandler onMouseUp - box dimensions:", { width, height })apps/studio/src/features/studio/canvas-state/tools/handlers/box-handler.ts:82console.log("BoxHandler onMouseUp - Setting showLabelInput to TRUE")
Steps
- Branch:
git checkout -b chore/remove-debug-logs-box-handler. - Remove the two debug
console.loglines (the surrounding logic stays). - Optionally grep nearby handlers for similar stray logs.
- Run
yarn lint; commitchore: remove debug logs from box-handlerand open a PR.
Acceptance criteria
- No debug
console.logleft inbox-handler.ts. - Box drawing still works (
yarn studio).
Good first issue — comment here if you'd like to take it.