feat: animated drop-to-upload overlay with per-folder-row targeting#22
Conversation
dfc54e0 to
bd6308e
Compare
|
Warning Review limit reached
Next review available in: 42 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (11)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
bd6308e to
fbb2e07
Compare
The Host contract gains onFileDragHover: Tauri's native drag enter/over positions (converted to CSS pixels) stream to the UI, replacing the DOM dragenter counter wry made unreliable. The overlay animates in via motion, names the destination folder, and hit-tests the cursor against folder-row rects so dropping on a folder row uploads into that folder with the row lit as the drop target. Fixes #12 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
260c9c6 to
48a84d9
Compare
Fixes #12
What
<folder>.How
onFileDragHover: Tauri's native dragenter/overpositions (converted from physical to CSS pixels) stream to the UI;leaveemitsnull. Adropdeliberately emits nothing here — the drop handler owns resetting hover state, so the hovered target can't be cleared out from under an in-flight drop while dropped paths are being expanded.dragentercounter, which was unreliable under Tauri (wry intercepts native drop handling to emit its own events).data-drop-prefix; the cursor is hit-tested against their rects (zero-size rects skipped, so unrendered rows can't match).control.dragFileHover(position)so scenarios can drive the hover phases through the same seam as drops.Verification
bun run typecheckclean, 304 unit tests pass, full scenario suite pass.🤖 Generated with Claude Code