Skip to content

Unify Drag Selection#435

Closed
kylebtran wants to merge 7 commits intomainfrom
kbt/unified-grid-drag-selection-8e2c
Closed

Unify Drag Selection#435
kylebtran wants to merge 7 commits intomainfrom
kbt/unified-grid-drag-selection-8e2c

Conversation

@kylebtran
Copy link
Copy Markdown
Member

Description

Recording/Screenshots

Before

After

Test Plan

Issues

  • Closes #

cursoragent and others added 7 commits April 26, 2026 17:30
Co-authored-by: Kyle Tran <hello@kylebtran.com>
Co-authored-by: Kyle Tran <hello@kylebtran.com>
…Range

Co-authored-by: Kyle Tran <hello@kylebtran.com>
…GridDragSelection

Removes @use-gesture/react useDrag block, getBlockAtPosition helper, and
stray console.logs. Commit callbacks now live in availability.tsx and
delegate to pure apply-selection modules.
…on + in-flight range highlight

Removes duplicate handleMouseDown/Move/Up + handleTouch handlers; mounts
the new hook with lockToStartRow=isScheduling. On commit, schedule route
calls applyScheduleSelection; group route writes committedRange and
preserves tap-to-unlock. Adds a ring overlay per cell during an in-flight
group drag. Cleans up duplicate data-date-index/data-block-index on the
inner div of GroupAvailabilityBlock.
GroupResponses now reads committedRange and computes attendees via
computeGroupMembersForRange (intersection). blockInfoString formats
same-day and multi-day ranges.
Fully replaced by the native useGridDragSelection hook. Also widens
GroupAvailabilityBlock pointer handler prop types to match.
@kylebtran kylebtran temporarily deployed to staging-435 April 26, 2026 17:46 — with GitHub Actions Inactive
@github-actions github-actions Bot temporarily deployed to staging-435 April 26, 2026 17:47 Inactive
@kylebtran kylebtran closed this Apr 26, 2026
@kylebtran
Copy link
Copy Markdown
Member Author

Unimpressed with Cursor Cloud Agents...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants