Skip to content

WIP Plugins - #141

Open
cursork wants to merge 2 commits into
mainfrom
plugins
Open

WIP Plugins#141
cursork wants to merge 2 commits into
mainfrom
plugins

Conversation

@cursork

@cursork cursork commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

This is the first draft of a plugin mechanism.

cursork added 2 commits August 7, 2026 05:13
Registering a plugin before EWC.Init failed: the plugin path needs
RESOURCES to mount against and LOGMODES to log through, and neither
exists until Init runs setDefaults. ensurePlugins now calls setDefaults
itself, which is safe because it only fills in names that are undefined.

An application is also free to assign EWC.RESOURCES wholesale - demo/Run
does exactly that - which silently dropped mounts made by a plugin that
had registered earlier. Init re-applies every registered plugin's
resources once RESOURCES has settled.

Also stop ⎕SE.Link.Break's "Not linked" result printing to the session:
it is a returned value, not an error, so it needs discarding.
@cursork
cursork requested a review from sloorush August 7, 2026 08:01
@cursork

cursork commented Aug 7, 2026

Copy link
Copy Markdown
Contributor Author

I believe it works - it certainly achieves the first boundary of allowing Kendo charts to be introduced in to EWC from application code.

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