I am currently working on my custom version of the Map Layers widget. I am adding new actions that can be performed on the layer. What I am trying to do is for specifically identified layers, allow the user to click on an info icon and display basic information about the layer. I don't want to use the built in functionality and take them to the layer definition as it wouldn't benefit most of our users.
However, I am trying to figure out how to control the dialog. I can get to dialog information thru:
const state = getAppStore()?.getState();
const dialogs = state.appConfig.dialogs;
And I see there is an appAction.currentDialogChanged that I can run thru getAppStore().dispatch()
If I am on the right track (which is debatable), I'm just not sure what I need to do with the dialog settings to indicate that it should be displayed. And I haven't been able to find anyone else trying to do the same thing in EB.
Any suggestions on my approach or alternative approaches would be appreciated.