open-scd
open-scd copied to clipboard
Hosting mixin: Extend the menu type plugins with the `actionItem`
The CoMPAS fork currently has a compass-session
element that wraps the whole
OpenSCD and handles authentication, and an action item (toolbar on the top-right)
that displays the logged ind username.
We were discussion the following options:
- A custom addon. We are not there yet to support any kind of addons
- A new plugin type:
actionItem
. We wanted to avoid another plugin type - A new position
actionItem
. We decided to go with this solution because it is nicely aligns with the menu plugins and introduces the less amount of changes