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

Plugin System #209

Open
ghostdevv opened this issue Nov 4, 2024 · 5 comments
Open

Plugin System #209

ghostdevv opened this issue Nov 4, 2024 · 5 comments
Labels
enhancement New feature or request needs shaping More information needed / Decision needs making
Milestone

Comments

@ghostdevv
Copy link
Owner

Describe the feature

A system that allows for loading features (#183), and transforming their options

Examples

No response

@ghostdevv ghostdevv added the enhancement New feature or request label Nov 4, 2024
@ghostdevv ghostdevv added this to the v1 milestone Nov 4, 2024
@ghostdevv
Copy link
Owner Author

The groundwork has been done in #206 and includes the ability for custom features. A public API can be worked on for the next release

@ghostdevv ghostdevv added help wanted needs shaping More information needed / Decision needs making labels Nov 8, 2024
@ghostdevv
Copy link
Owner Author

If anyone has use cases for plugins, please share what they are and what you would need from the plugin system! The only planned plugin right now is one that allows custom components. Other ideas are appreciated and will help shape the plugin system

@ghostdevv
Copy link
Owner Author

Maybe a plugin that can provide props

@ghostdevv
Copy link
Owner Author

Plugin hooks should be passed a "plugin context" that includes the client and a logger

@ghostdevv
Copy link
Owner Author

I'm still somewhat considering using hookable for some of this rather than plugins, as the plugins would just contain hooks anyway... just need to investigate what that looks like. Plugins may need to be able to return data, as well as mutate it. Additionally, plugins should be importable from a package.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request needs shaping More information needed / Decision needs making
Projects
None yet
Development

No branches or pull requests

1 participant