Skip to content

fix(explorer): support multi-file drag and folder content drops - #234

Merged
ThisIs-Developer merged 1 commit into
mainfrom
agent/improve-explorer-multi-drag
Aug 2, 2026
Merged

ThisIs-Developer merged 1 commit into
mainfrom
agent/improve-explorer-multi-drag

Conversation

@ThisIs-Developer

Copy link
Copy Markdown
Owner

What changed

  • Preserve a multi-file Explorer selection when any selected file starts a drag.
  • Move the full selected set with one drop and retain the legacy single-file drag payload for compatibility.
  • Add a stacked drag preview with a clear selected-file count.
  • Treat expanded folder and workspace contents as drop surfaces, including small empty-folder targets.
  • Resolve nested drop surfaces to the deepest matching folder so parent workspaces do not steal the drop.
  • Refresh the generated Neutralino desktop resources and document the interaction.

Why

The Explorer already supported multi-selection and bulk overflow actions, but drag start stored only one document ID. Folder drops were also bound only to the folder-name row, so dropping over files inside an expanded folder fell through to another location.

The updated behavior follows familiar Finder and VS Code conventions: dragging one item from a selection operates on the complete selection, and an open folder behaves as a destination across its visible contents.

User impact

Users can now select several Markdown files and drag them together. They can drop on a folder name, on an existing file inside an expanded folder, or into an expanded empty folder. Hover expansion, Explorer auto-scroll, keyboard/touch Move to…, and bulk more-options actions remain available.

Validation

  • node --check script.js
  • node --check desktop-app/resources/js/script.js
  • npm run build
  • Explorer Playwright suite: 13 passed, including an exact temporary regression for multi-file drag onto expanded folder contents
  • Dark-theme Files tree Playwright QA: passed
  • node desktop-app/prepare.js with offline asset validation
  • git diff --check

@vercel

vercel Bot commented Aug 2, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
markdown-viwer Ready Ready Preview Aug 2, 2026 8:57pm

@ThisIs-Developer
ThisIs-Developer marked this pull request as ready for review August 2, 2026 21:00
@ThisIs-Developer
ThisIs-Developer merged commit 36263c7 into main Aug 2, 2026
5 checks passed
@ThisIs-Developer
ThisIs-Developer deleted the agent/improve-explorer-multi-drag branch August 2, 2026 21:05
@ThisIs-Developer ThisIs-Developer added bug Something is broken or not working as expected. ui/ux User interface, layout, interaction, usability, or visual improvements. labels Oct 2, 2026 — with ChatGPT Codex Connector

This branch was successfully deployed

1 active deployment
Preview — 71362f60 Deployed Aug 2, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something is broken or not working as expected. ui/ux User interface, layout, interaction, usability, or visual improvements.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant