Fix revert confirm behavior.

Bug: 325006284
Change-Id: I06224f54e8a920de1832fcca74486b560405e8e7
1 file changed
tree: 2a58aa7618138e949571817f85bf0bd7abc52446
  1. web/
  2. .eslintrc.json
  3. .gitignore
  4. codereview.settings
  5. LICENSE
  6. OWNERS
  7. polymer.json
  8. README.md
  9. run-with-prod-data.sh
  10. WATCHLISTS
README.md

Chrome/Chromium behavior theme for Gerrit

Setup

This plugin must be placed inside the Gerrit plugins directory:

git clone --recurse-submodules https://gerrit.googlesource.com/gerrit
cd gerrit/plugins
git clone https://chromium.googlesource.com/infra/gerrit-plugins/chromium-behavior

Web Plugin Development

Run the commands below in web/.

For running TypeScript unit tests execute:

make test

For checking or fixing eslint formatter problems run:

make lint_test
make lint_fix

For testing the plugin with Gerrit FE Dev Helper the command below builds the JavaScript bundle and copies it to the plugins/chromium-behavior folder:

make build

Start polygerit-ui server:

./polygerrit-ui/run-server.sh --plugins="plugins"

and let the Dev Helper redirect from .+/plugins/chromium-behavior/static/chromium-behavior.js to http://localhost:8081/plugins/chromium-behavior.js.