Is it possible to open screen plugins programatically?

Unclear if this is possible.

Is there any API or approach for opening a screen plugin via code, like the media manager?

For the media manager you can call cms.media.open but other screen plugins in general don’t have an open method from what I can see.

Thanks @kendall!

Do you think there’s a way to achieve this without a change in tinacms?

It’s not currently possible to do this. Technically, the media manager isn’t a screen plugin.

The active screen is currently managed entirely within the sidebar component. The sidebar queries all screen plugins, shows the menu, and internally manages which screen is active.

The toolbar does the same thing, independently! :sweat_smile: this is clearly a problem on its own.

Screen plugins predate the event bus; there’s definitely some refactoring to be done here.