The menu is currently derived from the datasets config, but sometimes the menu is more complex than that approach allows.
This ticket will also define a menu config structure, such that:
- The menu config will be stored in pluginState, if provided
- If not provided, the pluginState.menu will be derived from the datasets config
- The 'Menu' will be rendered directly from the pluginState.menu config
- The datasets will derive their visibility from the pluginState.menu, if showInMenu is true in the datasets config.
The menu is currently derived from the datasets config, but sometimes the menu is more complex than that approach allows.
This ticket will also define a menu config structure, such that: