TrailBase WASM modules are currently designed to add endpoints and serve frontend assets for the application itself. This works well for building the app's own user-facing interface, but it leaves a gap: there is no way for a WASM module to surface management or configuration UI inside the TrailBase admin panel.
As a result, if you build a WASM extension that requires configuration — auth providers, feature flags, integrations — you have two bad options: build an entirely separate admin interface outside of TrailBase, or provide no admin UI at all. Neither is acceptable for extensions that are meant to be self-contained.
What's needed:
- A way for operators to see which WASM modules are currently loaded in the admin dashboard
- An opt-in mechanism for modules to declare their identity (display name, icon, description) so they're recognizable in that list
- A way for a module to expose its own management/settings page that renders inside the TrailBase admin UI, without requiring changes to TrailBase core for each new module
This would make WASM a viable model for building first-class admin extensions, not just application-layer plugins.
TrailBase WASM modules are currently designed to add endpoints and serve frontend assets for the application itself. This works well for building the app's own user-facing interface, but it leaves a gap: there is no way for a WASM module to surface management or configuration UI inside the TrailBase admin panel.
As a result, if you build a WASM extension that requires configuration — auth providers, feature flags, integrations — you have two bad options: build an entirely separate admin interface outside of TrailBase, or provide no admin UI at all. Neither is acceptable for extensions that are meant to be self-contained.
What's needed:
This would make WASM a viable model for building first-class admin extensions, not just application-layer plugins.