Gerrit - 如何通过 JS API 扩展 UI

Gerrit - how to extend the UI via JS API

我对这个主题还很陌生,我需要扩展 Gerrit UI,比如说在 toop.Currenlty 上添加一些按钮 我不知道如何开始,请协助我应该使用哪些步骤这样做?

这是JS API

https://gerrit-review.googlesource.com/Documentation/js-api.html

我从这里下载 war 2.1 link

https://gerrit-releases.storage.googleapis.com/index.html

但不确定如何开始....

cookbook plugin,其中显示了 Gerrit 的一些典型扩展点。

我认为 HelloTopMenu 就是您要搜索的内容。