commit | 80c941ebc59729b67667ab6dc7938cd9e70bcb55 | [log] [tgz] |
---|---|---|
author | Tao Zhou <taoalpha@google.com> | Sun Mar 08 22:55:08 2020 +0100 |
committer | Tao Zhou <taoalpha@google.com> | Sun Mar 08 22:55:08 2020 +0100 |
tree | 0582f46fe2f00111210b9141d1d27ca3d1846754 | |
parent | 13d50de1d5ccb09e3d76337eb777180308187482 [diff] |
Release v0.0.5 changes: - set crossorigin to anonymous to help debug js error from plugin - improve the ui on popup - remove outdated rule of replacing gr-app-p2 with gr-app Change-Id: I7b46d61a176f4dcc840fb482ae8274939cb94f03
Gerrit FE Dev helper is a chrome extension that will focus on helping frontend developers on Gerrit development.
As mentioned in readme from polygerrit-ui, we already support to start your local host for developing / debugging / testing, but it has quite a few restrictions:
To solve these pain points, I created this chrome extension that basically just proxy all assets requests or any requests to local server, and you will have the ability to inject any plugins from local as well.
See in release notes.
npm run build
Then you should have gerrit_fe_dev_helper.zip
that you can test with, or download from chrome web store here: https://chrome.google.com/webstore/detail/gerrit-fe-dev-helper/jimgomcnodkialnpmienbomamgomglkd.
After you installed and enabled the extension, you should see something similar to demo.png.
./polygerrit-ui/run-server.sh
Gerrit dev helper is enabled
), and now your gerrit assets should be loaded from local serverThe extension comes with a set of default rules, but you can change the rules by just clicking the extension icon again.
The extension supports six different type of rules:
The two options of injecting any plugins meant to help you develop your plugins for your gerrit sites.
Please don't hesitate to contact taoalpha@google.com for support on this extension.