I'm trying to develop a simple Kibana plugin using the React framework (library, to be precise).
Now, I'm not a React expert and I'm having problems with a couple of minor tasks.
When I generate a plugin using the plugin generator and I specify the title of the plugin in the index.js file, I can find the new tab in the main sidebar BUT I cannot find a way to put a logo (either one of the Kibana EuiIcon or a custom svg logo) next to the write. Where (which file and portion of code) do I have to specify which logo to be seen in the navbar?
Generating the plugin, I noticed the arrow to Collapse/Expand the sidebar at the bottom of the sidebar disappeared. Why did it happen and how can I reinsert it?
Just to make it clear what I am talking about, I'll post here the image of the original Kibana 7.0 interface (where you can see the collapse/expand arrow) and then the image of the Kibana 7.0 interface with my added plugin (where you can see the missing icon and the disappeared collapse/expand arrow).
MY SAMPLE PLUGIN
Also, in this case I wanted to add a new tab and it came for free with the plugin generator. What if I wanted to make an additional visualization and so visualize my custom icon only at visualization creation time?
Is there any reliable resource where to find such info?
Thank you so much!