Skip to content

Plugin TUI: Admin panel field renderer integration (Phase 8) #235

@hegner123

Description

@hegner123

Admin Panel Plugin Field Integration

Extends mcms-field-renderer web component to handle fields of type plugin in the admin panel.

Plan: ai/plans/plugin/PLUGIN_TUI_SCREENS.md — Phase 8

Files

  • internal/admin/static/js/components/mcms-field-renderer.js

Implementation

  1. Add plugin case to connectedCallback() switch
  2. Inline mode: Load web component from plugin's approved HTTP route (GET /api/v1/plugins/<plugin>/interface/<interface>/component.js). Component dispatches field-change events.
  3. Overlay mode: Render button with current value. On click, open <dialog> loading plugin's web UI. Committed value returned via custom event.
  4. Plugin HTTP route must be approved via existing plugin route approval system

Note

Admin panel uses HTTP-served web components, NOT the coroutine bridge (TUI only).

Depends on

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    Status

    Todo

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions