Skip to content

fix(generate): accept image drops from Explorer - #360

Open
Yi-111-a wants to merge 1 commit into
lightningpixel:devfrom
Yi-111-a:fix/image-explorer-drop
Open

Yi-111-a wants to merge 1 commit into
lightningpixel:devfrom
Yi-111-a:fix/image-explorer-drop

Conversation

@Yi-111-a

Copy link
Copy Markdown

Summary

  • accept JPEG, PNG, and WebP drops on Generate image rows and persist the native path and preview
  • expose Electron webUtils.getPathForFile through the preload bridge
  • ignore stale image loads, surface unreadable files, and cover the preload bridge with a regression test

Testing

  • npm run lint
  • npm test (131 Python tests and 181 Node tests; 19 Python tests skipped)
  • focused TypeScript check for the changed preload files
  • built-in extension TypeScript build
  • production Electron/Vite build

Manual Windows Explorer drag-and-drop verification was not available on this Linux runner.

Closes #344

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