|author||Tao Zhou <email@example.com>||Fri Sep 18 14:04:19 2020 +0000|
|committer||Tao Zhou <firstname.lastname@example.org>||Fri Sep 18 14:04:19 2020 +0000|
Revert "Hide the tool component if hidden set to true" This reverts commit bcf0935f87d26bf08bb576c1124075e6ce730242. Reason for revert: no longer needed after change 281898 Change-Id: I436a9bec9817afd7d13b45a2a8454b77cf76ad46
A plugin that provides a rich image diffing experience in PolyGerrit. Currently, the plugin features two modes: Highlight Mode and Onion Skin.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
gerritrepo or link the plugin folder to
package.json, you can remove all
depDependenciesas they are not needed for the build (needed for running wct tests)
bazel build plugins/image-diff
This mode uses the Resemble.JS (1.2.1) library in its development The following features are included in this mode:
Onion Skin mode is a great way for users to notice changes in the images that might be overlooked when you look at them side by side. By overlaying the new image on top of the old image, the users can change the opacity to see the transition that were made.
The following features are included in this mode:
This plugin uses polymer-cli to test.
Inside your image-diff repo, run
polymer serve to start a local web server and open
localhost:8080/test to view your tests. See here for more info.
npm run wct-test to run all your tests.
Reference here on how to set up your Gerrit testsite and here for PolyGerrit plugin development.