chore: remove drag and drop to install extension workflow #1154
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Reason for Removal
The drag-and-drop functionality for extension installation has been removed due to its limited usage and poor user experience. Previously, users had to navigate to the extension manager and drop a zip file into a specific area to install extensions, a process that was not very intuitive.
Removed the code as it was too much code doing too little ux things, and it was broken anyway.
Proposed Alternatives for Future
.zip
to.phx
to indicate it's an extension for our editor.other changes
Tauri caches assets. so when we are developing an extension using
load this project as extension
workflow, upon a quick reload with thef5
key press without restarting the app, the stale cached extension code is served. So, now, we add a random prefix to the load path so that the cache is not hit on subsequent extension reloads for development.Screenshot
before
after