)]}'
{
  "commit": "172acf7e183d3c6ff2994a8ddf00847f4dbd6d34",
  "tree": "35d7b402b7b1d88eb7aa7cd76106f7855d474065",
  "parents": [
    "a541643986dd89967d77719b4b9d7e5401be3302"
  ],
  "author": {
    "name": "Viktar Donich",
    "email": "viktard@google.com",
    "time": "Mon Oct 23 16:17:23 2017 -0700"
  },
  "committer": {
    "name": "Viktar Donich",
    "email": "viktard@google.com",
    "time": "Wed Oct 25 20:39:18 2017 -0700"
  },
  "message": "plugin.deprecated.onAction partial support\n\nAs a part of \"stepping stone\" to simplify migration of plugins that\ntarget GWT UI primarily. Provides self.deprecated.install method that\nmoves deprecated API such as `self.deprecated.popup()` and\n`self.deprecated.onAction()` to `self.popup()` and `self.onAction()`\nrespectively.\n\n``` js\nGerrit.install(plugin \u003d\u003e {\n  if (Polymer) {\n    // Promote deprecated APIs to default locations.\n    // Not recommended, only as a part of migrating GWT plugins to PG UI.\n    plugin.deprecated.install();\n  }\n  plugin.onAction(\u0027change\u0027, \u0027find-owners\u0027, (context) \u003d\u003e {\n    console.log(context.change);\n    console.log(context.revision);\n  });\n});\n```\n\nProvides partial support for self.onAction with methods:\n- popup(element)\n- hide()\n- refresh()\n- textfield()\n- br()\n- msg(text)\n- div(...elements)\n- button(label, callbacks)\n- checkbox()\n- label(checkbox, title)\n- call(payload, onSuccess)\n\nPopulates plugin-provided change revision actions and puts them in\noverflow menu.\n\nFeature: Issue 5329\nChange-Id: Id4528de9e48469d67904cfda8d1c5a22b15e8311\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "2cda515c97eccf09bb049e9d759d63f9ec61408c",
      "old_mode": 33188,
      "old_path": "polygerrit-ui/app/elements/change/gr-change-actions/gr-change-actions.js",
      "new_id": "299612e404acc70e585a8f4efaeb57047618472a",
      "new_mode": 33188,
      "new_path": "polygerrit-ui/app/elements/change/gr-change-actions/gr-change-actions.js"
    },
    {
      "type": "modify",
      "old_id": "70d26bf318346f094d6c1f814311d5fd3609464d",
      "old_mode": 33188,
      "old_path": "polygerrit-ui/app/elements/change/gr-change-actions/gr-change-actions_test.html",
      "new_id": "a8587c01d43e3b4f66d194676051651629a714e8",
      "new_mode": 33188,
      "new_path": "polygerrit-ui/app/elements/change/gr-change-actions/gr-change-actions_test.html"
    },
    {
      "type": "modify",
      "old_id": "99c4fed01c1adbda2149927cf09586488527e104",
      "old_mode": 33188,
      "old_path": "polygerrit-ui/app/elements/shared/gr-js-api-interface/gr-change-actions-js-api.js",
      "new_id": "6853a415b10f71cbffd8760a548a485335ec6629",
      "new_mode": 33188,
      "new_path": "polygerrit-ui/app/elements/shared/gr-js-api-interface/gr-change-actions-js-api.js"
    },
    {
      "type": "modify",
      "old_id": "c5b0441ca7c09130962c1294d79c06d44fc9f377",
      "old_mode": 33188,
      "old_path": "polygerrit-ui/app/elements/shared/gr-js-api-interface/gr-js-api-interface.html",
      "new_id": "7bd879f0028f06fe80eb1c31e33ba0334db1b90f",
      "new_mode": 33188,
      "new_path": "polygerrit-ui/app/elements/shared/gr-js-api-interface/gr-js-api-interface.html"
    },
    {
      "type": "modify",
      "old_id": "03cc0f8d94ad034f33b97aca17ebb554b8ccdffc",
      "old_mode": 33188,
      "old_path": "polygerrit-ui/app/elements/shared/gr-js-api-interface/gr-js-api-interface_test.html",
      "new_id": "d24bd322541b45fb61361c59f351454033bc4cb9",
      "new_mode": 33188,
      "new_path": "polygerrit-ui/app/elements/shared/gr-js-api-interface/gr-js-api-interface_test.html"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "d6a7a6722b525f707be23c5dff309aaf77db9a9e",
      "new_mode": 33188,
      "new_path": "polygerrit-ui/app/elements/shared/gr-js-api-interface/gr-plugin-action-context.js"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "0099d802184305ee9d7f25b267c27de5be933e86",
      "new_mode": 33188,
      "new_path": "polygerrit-ui/app/elements/shared/gr-js-api-interface/gr-plugin-action-context_test.html"
    },
    {
      "type": "modify",
      "old_id": "4e6b8cfe5ece1647a2dbd785d929ff2ee6b98b10",
      "old_mode": 33188,
      "old_path": "polygerrit-ui/app/elements/shared/gr-js-api-interface/gr-public-js-api.js",
      "new_id": "db8e609e82fdf2702fbcbdc898bf591910065e08",
      "new_mode": 33188,
      "new_path": "polygerrit-ui/app/elements/shared/gr-js-api-interface/gr-public-js-api.js"
    }
  ]
}
