Skip to content

Enable page-wide WASM drag and drop - #17

Merged
espmaniac merged 1 commit into
mainfrom
agent/page-wide-wasm-drop
Jul 19, 2026
Merged

Enable page-wide WASM drag and drop#17
espmaniac merged 1 commit into
mainfrom
agent/page-wide-wasm-drop

Conversation

@espmaniac

@espmaniac espmaniac commented Jul 19, 2026

Copy link
Copy Markdown
Member

What changed

  • make the entire page accept dropped files instead of limiting drops to the upload card
  • show a full-viewport overlay while files are dragged over the site
  • accept only file drags, leaving text and link dragging untouched
  • use nested drag-enter tracking so the overlay does not flicker over child elements
  • preserve the upload card, file picker, and existing multi-file task launch path

Why

A page-wide target is faster and more forgiving: users can release a WASM app anywhere without aiming at one specific element.

Validation

  • node --check main.js
  • git diff --check
  • page-wide drag/drop event smoke test covering nested enters/leaves, file drops, copy feedback, and ignored text drags
  • exact public commit preview reached Runtime: OK
  • verified the fixed overlay matches the viewport, its stylesheet loaded, and the page has no horizontal overflow
  • GitHub Actions Build browser runtime run #66 completed successfully

@espmaniac
espmaniac marked this pull request as ready for review July 19, 2026 09:48
@espmaniac
espmaniac merged commit fed53f0 into main Jul 19, 2026
2 checks passed
@espmaniac
espmaniac deleted the agent/page-wide-wasm-drop branch July 19, 2026 09:49
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.

1 participant