headlamp-k8s / headlamp

A Kubernetes web UI that is fully-featured, user-friendly and extensible
https://headlamp.dev
Apache License 2.0
2.22k stars 156 forks source link

Improve plugins developer experience #151

Closed joaquimrocha closed 3 years ago

joaquimrocha commented 3 years ago

Current situation Right now the plugins can either be developed inside the frontend (in frontend/src/plugin/plugins) or outside which is the recommended way to then ship it externally. The recommended option however, makes for a complicated developer experience, as it's complicated to continuously verify/reload any changes to plugins externally.

Impact This makes developing plugins a bit clunkier/harder than it should.

Ideal future situation Developers can continuous develop plugins: see their changes hot-reloaded and extract the plugins into a bundle when ready.

Implementation options 1) Develop the plugins inside Headlamp's frontend and extract them (into their own bundle) with an easy command; or 2) Headlamp has a way to import unbundled plugins and hot-reload any changes to them.

joaquimrocha commented 3 years ago

Implemented since version v0.3.0.