Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix issue preventing drag-and-drop files into Explorer view #6030

Merged
merged 2 commits into from
Jan 18, 2025

Conversation

jmcphers
Copy link
Collaborator

This change addresses an issue that prevents file drag-n-drop from working in the Explorer view.

The problem was that there was no Electron implementation of the accessors that Posit Workbench uses to check for file upload/download permissions. Consequently, in desktop mode these accessors did not work.

The fix is to add accessors to the native (Electron) version of the environment service.

Addresses #5266.

Release Notes

New Features

  • N/A

Bug Fixes

QA Notes

This change doesn't touch the logic for Workbench so testing desktop should be sufficient.

@jmcphers jmcphers requested a review from petetronic January 17, 2025 00:33
Copy link

github-actions bot commented Jan 17, 2025

E2E Tests 🚀
This PR will run tests tagged with: @:critical

readme  valid tags

Copy link
Collaborator

@petetronic petetronic left a comment

Choose a reason for hiding this comment

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

Thanks! Tested on macOS and confirmed it restored the ability to drag and drop files into the explorer

@petetronic petetronic merged commit a268bc8 into main Jan 18, 2025
8 checks passed
@petetronic petetronic deleted the bugfix/file-drag-n-drop branch January 18, 2025 19:50
@github-actions github-actions bot locked and limited conversation to collaborators Jan 18, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants