Skip to content

Drop files into Minna - #23

Merged
ActuallyTaylor merged 4 commits into
mainfrom
feature/drag-and-drop
Aug 18, 2026
Merged

Drop files into Minna#23
ActuallyTaylor merged 4 commits into
mainfrom
feature/drag-and-drop

Conversation

@ActuallyTaylor

Copy link
Copy Markdown
Collaborator

This is a really hacky version, but truly the only way to do this in a sandboxed app. The two next best solutions are for a companion non-sandboxed process or the user has to manually allow permission through a file importer.

This feature hinges on the fact that during the completion of a NSItemProvider you get access to the original URL that comes from a bookmark. You can then generate a bookmark off of this URL and then re-grab a URL. That new URL will then be a full permission URL that we can use like a url retrieved from a file importer

This is a really hacky version, but truly the only way to do this in a sandboxed app. The two next best solutions are for a companion non-sandboxed process or the user has to manually allow permission through a file importer.

This feature hinges on the fact that during the completion of a NSItemProvider you get access to the original URL that comes from a bookmark. You can then generate a bookmark off of this URL and then re-grab a URL. That new URL will then be a full permission URL that we can use like a url retrieved from a file importer
@ActuallyTaylor
ActuallyTaylor requested a lite review from Copilot August 17, 2026 16:56

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@ActuallyTaylor
ActuallyTaylor merged commit 42890ee into main Aug 18, 2026
4 checks passed
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