I am developing a custom node (result node) which need to show a tab in the sidebar. I tried to add a tab in sidebar by looking at how debug node does that but I cannot see the expected tab among the list of tags. I tried to isolate the code which adds the tab and as per my understanding following code does that.
But I am not sure about following action registration.
Following is the full html of the node. Could you please guide me to do the job.
As I mentioned on slack, but to repeat here, please do not use the type 'result' or add a sidebar tab with the id of 'result'. That is far too generic and likely to cause naming clashes. Please use a name that is related to the area you are developing this node for.
And please don't set pinned to true. If all nodes do this it rapidly becomes worthless and will have to be deprecated.