chaoss/grimoirelab

Need help to remove GitHub Issues Menu

maltif opened this issue · 5 comments

Hello,

I want to remove GitHub Issues menu and submenu Issues of GitHub Comments menu from Kibana UI. Please refer to the attached screenshots for clarification. Could you kindly guide me on the steps to accomplish this?

image (10)

image (11)

Thank you for your help.

Hi @maltif

First, you must get your current menu and copy the metadashboard content.

image

Modify the content (add or remove the sections) and upload the content.

PUT .kibana/_doc/metadashboard
{
  "metadashboard" : [...]
}

I hope it helps you

tried and worked flawlessly. Thank you very much, @zhquan

@zhquan, I followed the steps you provided to remove the GitHub Issues Menu, and it worked well initially. However, after a while , the Issue Menu reappeared automatically, and I am unsure why. It appears that the changes I made using PUT .kibana/_doc/metadashboard API, are not persistent.

Would restarting the mordred_1 Docker container restoring the previous state of the GitHub Issues Menu? Could you please provide your input on how to make these changes permanent even after restarting the Grimoire Docker containers?

I would greatly appreciate your assistance in this matter."

@maltif on your setup.cfg you have to deactivate panels = false in the phases section, when the panels is enabled it will overwrite the menu. So deactivate panels and restart the Mordred container

Thank you, @zhquan. After deactivating panels = false in the phases section of setup.cfg as mentioned earlier, it seems that the changes are now persistent. I will get in touch if any further issues arise.

Thank you very much for your time and assistance.