openscd / open-scd

A substation configuration description editor for projects using SCL IEC 61850-6 Edition 2 or greater
https://openscd.github.io
Apache License 2.0
97 stars 31 forks source link

Extend menu plugins api #1477

Open juancho0202 opened 5 months ago

juancho0202 commented 5 months ago

As a distribution developer interested in extending the functionality of the top-app-bar used in OpenSCD I would like to dynamically populate the "actionItems" slot with my own plugins, currently this is hardcoded at the moment of rendering the tag itself with a fixed amount of elements (undo, redo, logs, history, diagnostics).

Acceptance criteria:

  1. The "actionItems" slot in the top-app-bar is populated with both the fixed amount of elements mentioned above and any other menu plugin with position "actionItems"
juancho0202 commented 5 months ago

@danyill mentions this could be helpful for editor plugins