commit | fedd61555c3f40b0968f3c02953fe8fcc4373169 | [log] [tgz] |
---|---|---|
author | Tao Zhou <taoalpha@google.com> | Sat Mar 14 10:30:46 2020 +0100 |
committer | Tao Zhou <taoalpha@google.com> | Sat Mar 14 10:30:46 2020 +0100 |
tree | bf932010636c3dfa8f589d907514c2bf546f3f5e | |
parent | 80c941ebc59729b67667ab6dc7938cd9e70bcb55 [diff] |
v0.0.6 Change-Id: I2ca6da9bed329a799a1f3726d0062f5df94b40e3
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.