I would like to propose adding a link to https://codesearch.wmcloud.org/search/ in the header of our gerrit instance. I believe this is possible by customizing the header HTML in the theme https://gerrit-review.googlesource.com/Documentation/config-themes.html
Description
Details
Subject | Repo | Branch | Lines +/- | |
---|---|---|---|---|
gerrit: add link to codesearch | operations/puppet | production | +4 -0 |
Related Objects
Event Timeline
Maybe that can be added under the Browse menu which is for admin links. In PolyGerrit that seems to be doable with GrAdminApi.prototype.addMenuLink.
That could be OK, although I have a feeling a lot of people would still miss seeing it.
Change 631174 had a related patch set uploaded (by Hashar; owner: Hashar):
[operations/puppet@production] gerrit: add link to codesearch
Change 631174 merged by Dzahn:
[operations/puppet@production] gerrit: add link to codesearch
button has been added in production. (you can also use cloud first to test UI changes)
nice, thanks both!
I'm still interested to hear if a top level link is possible (and if others think it's a good idea), but this is a nice addition.
The top menu item would gives it more exposure. Then when logged in there is already four items.
As an administrator there is a fifth one for Monitoring with a single entry pointing to JavaMelody Declined task T256601: Hide the "Monitoring" tab?
I went to add it as a menu item of Browse to avoid adding yet another entry at the top.