Skip to content

Allow WASM modules to extend the TrailBase admin panel #252

Description

@zyrakq

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions