Only poll for checks if tab is in focus

Allows check state chip and table to refresh automatically only if the checks tab is
in focus.
Fix issues from rolled back commit : I999144dcc
  * ensure multiple listeners are not added
  * unsubscribe listener when component is detached
  * clear polling intervals when component is detached

Change-Id: Iaad5a54878b99f8f544176045acc19e073939f3c
2 files changed
tree: 58a5266d6b33ed39293a2e617d495d0f9db92312
  1. gr-checks/
  2. java/
  3. javatests/
  4. proto/
  5. resources/
  6. test/
  7. .gitignore
  8. bower.json
  9. BUILD
  10. LICENSE
  11. README.md
README.md

Gerrit Code Review Checks Plugin

This plugin provides a unified experience for checkers (CI systems, static analyzers, etc.) to integrate with Gerrit Code Review.

This plugin uses polymer-cli to test.

After bower install, running polymer test -l chrome will run all tests in Chrome, and running polymer serve and navigating to http://127.0.0.1:8081/components/checks/gr-checks/gr-checks-view_test.html allows for manual debugging.