Aller au contenu

UI studio

The built-in UI studio plugin edits the manifest of another plugin. Its own interface is declared in src/plugins/ui-studio/ui.json, like any other plugin.

Open the Interfaces panel in the activity rail, pick a plugin, and its manifest opens in a tab:

  • the tree on the left lists the manifest sections (texts, models, settings, commands, menus, placements, panels) and their elements;
  • the form on the right edits the simple fields of the selected element (icons come from a list of shared and plugin-registered names), plus a JSON box for anything more complex;
  • + Add and Remove create or delete commands, menu entries, placements, panels, models and settings fields;
  • Apply previews the edited manifest: the kernel restarts the target plugin and hands it your version instead of its own file, so contributions go through the usual path. Reset drops the preview and reloads the file. Export saves the result as a ui.json you copy next to the plugin.

The studio never writes plugin code. Handlers, custom views and the names a plugin registers with ctx.ui.define() are shown as available references only.

Kernel support behind it: ctx.ui.manifests (every applied manifest with its binding names) and ctx.ui.preview(pluginId, manifest | null).

Documentation sous licence CC BY 4.0 · © les contributeurs de SCFlow ·Retour à supplychainflow.org