mirror of
https://github.com/screentinker/screentinker.git
synced 2026-08-14 06:16:20 -06:00
A QA pass over my own changes found a real defect. attachGridInteractions ran on every calendar render, but #calendar is the same element throughout — only its children are replaced — so each render stacked another full set of pointer handlers on it. Five weeks of navigation left five, which meant five ghost blocks during a drag, five context menus on a right-click, and five PUT requests on a single drop. Verified by counting listeners through the debugger: five sets after five renders, one after this change. Also guards the drag-to-create path. It reuses the Add Schedule button's own handler so the dialog resets exactly as it does for a normal create, but it called .onclick() unguarded — and a drag is a user gesture that must never throw. A missing button now quietly does nothing instead of raising an uncaught error in the middle of an interaction. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Uaeo9MvzKoyXuN6ZsbhtkL |
||
|---|---|---|
| .. | ||
| components | ||
| i18n | ||
| lib | ||
| views | ||
| agency-portal.js | ||
| api.js | ||
| app.js | ||
| brand-prime.js | ||
| branding.js | ||
| i18n.js | ||
| socket.js | ||
| utils.js | ||