I would like to add some custom text fields(HTML block) in sonarqube UI (Project’s general settings), could you please let me know how to achieve this?
I am using sonarqube 7.9.3 LTS, and I would like to add some text fields(HTML blocks) as mentioned above.
I attached sample UI block so please consider that example
Welcome to the community.
The existing pages of UI cannot be modified. What you want to do is not possible. May I ask you for what purpose you would need to do that ?
Thank you for your quick reply, I understood that existing pages of UI cannot be modified.
We are trying to develop custom sonar plugin and we want to get some custom inputs for the plugin, we know we can get inputs from sonar scanner but we just check out to get inputs from UI in sonarqube.
could you please let me know how to add custom components into the Administration dropdown list?
I attached sample image below so please consider that
OK. I see. So to do that you must develop a custom pages plugin that allows you to define new pages at top menu bar level and/or project menu bar level and/or administration menu level.
The latter (admin menu level) is probably what you are asking for. All the documentation we provide about it is at https://docs.sonarqube.org/latest/extend/extend-web-app/ and the sample custom page project repository that’s mentioned on that page.
Please check these docs. Hopefully this will help you enough because we don’t provide more support on custom pages than what is there.