Is there any way to add a new dashboard via config instead of editing one of the existing?
I understand the instructions on how to work with the nav-group and add new left menu items that link to existing dashboards, but I would like to add a new one and customize it with widgets from scratch.
I see config schema in source code but don’t know how to apply it.
Is there any documentation or examples of how to use it? (version 3.x+)
sure, its possible! that means this repo will surely help you since it defines a generic dashboard component that can be used to create a new dashboard by specifying a configuration object that conforms to the genericDashboardConfigSchema .
@alexanderm@thembo42, I couldn’t find any mention of this in the documentation. However, @thembo42 is correct that it is quite easy to figure out from the genericDashboardConfigSchema. So it should look something like the code block below.
I also tried to create a bugfix from a separate branch, but it looks like I don’t have enough permissions to push to the repository. What should I do? Should I fork the repository, create a new branch, and then use upstream to create a pull request?