Add base and bonus scores to site-engagement WebUI.

Desktop / Chromium - wez [chromium.org] - 20 April 2017 22:36 EDT

This breaks the displayed score out into:
- The (decayed) base score, which can be edited.
- The bonus score, based on granted permissions and launched-ness.
- The total resulting score (mainly useful for ordering by).

BUG=711041 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation

Review-Url: https://codereview.chromium.org/2808663002 Cr-Commit-Position: refs/heads/master@{#466236}

c1ada31 Add base and bonus scores to site-engagement WebUI.
.../resources/engagement/site_engagement.html | 19 ++++--
.../resources/engagement/site_engagement.js | 67 ++++++++++++++++------
.../engagement/site_engagement_ui_browsertest.cc | 49 +++++++++++++---
3 files changed, 105 insertions(+), 30 deletions(-)

Upstream: git.chromium.org


  • Share