)]}'
{
  "commit": "bc61e44e11e67cc1f5a004fc12aed81b52970511",
  "tree": "0ecebce11d65e1d4d9bf2e06f93b2c4094574f92",
  "parents": [
    "7c366e4b7a5e58f794c6d5e0cc4c848956aaf4c4"
  ],
  "author": {
    "name": "Jacek Centkowski",
    "email": "geminica.programs@gmail.com",
    "time": "Fri Nov 01 15:20:56 2024 +0100"
  },
  "committer": {
    "name": "Jacek Centkowski",
    "email": "geminica.programs@gmail.com",
    "time": "Wed Nov 06 07:51:30 2024 +0100"
  },
  "message": "Display `Copy owner\u0027s email` button for owner\n\nWhen owners list is returned from the plugin\u0027s REST API it contains\nonly the account id. Email is available in account details therefore\nit can be obtained from the Gerrit\u0027s REST API. But that:\n* would mean that accout details are obtained two times - once for the\n  change screen purposes and another time for plugin\n* `gr-account-label` or similar would have to be implemented from\n  scratch\n\nIn order to circumvent that the alternative approach was chosen. The\n`gr-account-label` component (which is a part of `gr-owner` element)\ncontains all the necessary means to obtain account details therefore:\n* when the initial `gr-owner` element updsate is performed\n  `gr-account-label` instance is obtained (as defined by `GrAccountLabel`\n  interface)\n* that instance is used to fill account details - note that it leverages\n  the caching abilities of the `AccountState` therefore given account\n  details are obtained only once\n\nBug: Issue 373151160\nChange-Id: I8dcffa067e07ecc7e63df6d12bca35d1791bd730\n",
  "tree_diff": [
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "f2b88bfa957edbb4580c9080d9c0708809ccd6db",
      "new_mode": 33188,
      "new_path": "owners/web/gerrit-model.ts"
    },
    {
      "type": "modify",
      "old_id": "473058644b8d30901bf39408bdc5a5281cad1219",
      "old_mode": 33188,
      "old_path": "owners/web/gr-owners.ts",
      "new_id": "e60e5d4f52a6afe431701cc3c28ffcc6fab58051",
      "new_mode": 33188,
      "new_path": "owners/web/gr-owners.ts"
    },
    {
      "type": "modify",
      "old_id": "349f5fb29ca0b6f6eeaa27a64707a2945ea286c0",
      "old_mode": 33188,
      "old_path": "owners/web/utils.ts",
      "new_id": "d3197f13244c82ba4c48977c60aaca282699a4e3",
      "new_mode": 33188,
      "new_path": "owners/web/utils.ts"
    }
  ]
}
