Repository navigation
Add community plugins: a plugin strip, sandboxed web plugins and a plugin hub - #31
Merged
Merged
Conversation
…and restore the strip toggle button
…tched-off plugin's keys
…est path escapes for real
…ce and harden the local-network check
…o hosts a browser accepts
…re as a plugin error
…d make the fetch tests bite
… the BOM as an escape
…'s place in the strip
…g plugin view locks
…ytes a plugin is served
…ve bad folders and late starts
… zero-width non-joiner in plugin text
3 of 16 tasks
…ddresses at the source
…y panels with a bar
…s and half-finished swaps
…ery user can unpack
…he link that was checked
…nd keep the plugin list calm and in order
…tranger's value in the summary as text
… and keep the keyboard's place
…lose the small gaps the final review found
Install reviewed community plugins from a plugin hub
Run community plugins as sandboxed web pages
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
The whole community plugin system, in three parts that were built and reviewed as separate pull requests and merged into this one:
window.fourfoldlibrary, declared sites, data cards and a developer mode for authors.What a user sees:
PLUGIN_AUTHORS.mddocuments everything; the hub repository is FourFoldAccountManager-plugin-hub.Details, behaviour notes and known limits for parts 2 and 3 are in #33 and #34. Part 1 follows.
Test status
dotnet build FourFoldAccountManager.sln -c Debug: 0 warnings, 0 errors.dotnet publishin Release, both the portable and the single-file build, as the release workflow does; the single-file build starts and closes cleanly.Part 1: the plugin strip
Summary
The Plugins sidebar becomes a RuneLite-style layout, built on a plugin framework that community plugins can plug into later.
Framework
PluginDescriptorandBuiltInPluginsdescribe each plugin, with no UI.PluginLayoutPolicyholds the pure order, on/off and open logic.IFourFoldPluginis implemented by the four built-in plugins around their existing panels.Behavior to know about
pluginOrder,disabledPlugins,openPluginandpluginStripVisible.pluginsSidebarExpandedkeeps its key, but now means "the panel is open".Test plan
dotnet build FourFoldAccountManager.sln -c Debug: 0 warnings, 0 errors.