{"action":"created","comment":{"url":"https://api.github.com/repos/openshift/console/pulls/comments/304252543","pull_request_review_id":262838686,"id":304252543,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDMwNDI1MjU0Mw==","diff_hunk":"@@ -0,0 +1,94 @@\n+import {\n+  humanizeDecimalBytesWithoutB,\n+  humanizeBinaryBytesWithoutB,\n+} from '@console/internal/components/utils';\n+\n+/* Chart Data Handlers */\n+\n+export const iopsChartData = (data, key) => {","path":"frontend/packages/noobaa-storage-plugin/src/components/data-consumption-card/data-consumption-card-utils.ts","position":8,"original_position":8,"commit_id":"01844dea28a55ba74028721db967b64e7eeaf423","original_commit_id":"01844dea28a55ba74028721db967b64e7eeaf423","user":{"login":"rawagner","id":2078045,"node_id":"MDQ6VXNlcjIwNzgwNDU=","avatar_url":"https://avatars0.githubusercontent.com/u/2078045?v=4","gravatar_id":"","url":"https://api.github.com/users/rawagner","html_url":"https://github.com/rawagner","followers_url":"https://api.github.com/users/rawagner/followers","following_url":"https://api.github.com/users/rawagner/following{/other_user}","gists_url":"https://api.github.com/users/rawagner/gists{/gist_id}","starred_url":"https://api.github.com/users/rawagner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rawagner/subscriptions","organizations_url":"https://api.github.com/users/rawagner/orgs","repos_url":"https://api.github.com/users/rawagner/repos","events_url":"https://api.github.com/users/rawagner/events{/privacy}","received_events_url":"https://api.github.com/users/rawagner/received_events","type":"User","site_admin":false},"body":"all these data parsing functions looks very similar to `getRangeVectorStats` and `getInstantVectorStats` from `graphs/utils.ts`. You should reuse them","created_at":"2019-07-17T07:20:56Z","updated_at":"2019-07-17T07:42:58Z","html_url":"https://github.com/openshift/console/pull/1976#discussion_r304252543","pull_request_url":"https://api.github.com/repos/openshift/console/pulls/1976","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/openshift/console/pulls/comments/304252543"},"html":{"href":"https://github.com/openshift/console/pull/1976#discussion_r304252543"},"pull_request":{"href":"https://api.github.com/repos/openshift/console/pulls/1976"}}},"pull_request":{"url":"https://api.github.com/repos/openshift/console/pulls/1976","id":296105672,"node_id":"MDExOlB1bGxSZXF1ZXN0Mjk2MTA1Njcy","html_url":"https://github.com/openshift/console/pull/1976","diff_url":"https://github.com/openshift/console/pull/1976.diff","patch_url":"https://github.com/openshift/console/pull/1976.patch","issue_url":"https://api.github.com/repos/openshift/console/issues/1976","number":1976,"state":"open","locked":false,"title":"Add Data Consumption Card to Object Service Dashboard","user":{"login":"afreen23","id":25664409,"node_id":"MDQ6VXNlcjI1NjY0NDA5","avatar_url":"https://avatars0.githubusercontent.com/u/25664409?v=4","gravatar_id":"","url":"https://api.github.com/users/afreen23","html_url":"https://github.com/afreen23","followers_url":"https://api.github.com/users/afreen23/followers","following_url":"https://api.github.com/users/afreen23/following{/other_user}","gists_url":"https://api.github.com/users/afreen23/gists{/gist_id}","starred_url":"https://api.github.com/users/afreen23/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/afreen23/subscriptions","organizations_url":"https://api.github.com/users/afreen23/orgs","repos_url":"https://api.github.com/users/afreen23/repos","events_url":"https://api.github.com/users/afreen23/events{/privacy}","received_events_url":"https://api.github.com/users/afreen23/received_events","type":"User","site_admin":false},"body":"![dc1](https://user-images.githubusercontent.com/25664409/61265696-08c8bf00-a7af-11e9-9929-8f2c87c9fc41.png)\r\n![dc2](https://user-images.githubusercontent.com/25664409/61265697-08c8bf00-a7af-11e9-8a97-193923df348a.png)\r\n","created_at":"2019-07-10T10:17:15Z","updated_at":"2019-07-17T07:42:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8ac5255edc06912ad806e57a20db452cfff52f05","assignee":null,"assignees":[],"requested_reviewers":[{"login":"cloudbehl","id":6695156,"node_id":"MDQ6VXNlcjY2OTUxNTY=","avatar_url":"https://avatars3.githubusercontent.com/u/6695156?v=4","gravatar_id":"","url":"https://api.github.com/users/cloudbehl","html_url":"https://github.com/cloudbehl","followers_url":"https://api.github.com/users/cloudbehl/followers","following_url":"https://api.github.com/users/cloudbehl/following{/other_user}","gists_url":"https://api.github.com/users/cloudbehl/gists{/gist_id}","starred_url":"https://api.github.com/users/cloudbehl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cloudbehl/subscriptions","organizations_url":"https://api.github.com/users/cloudbehl/orgs","repos_url":"https://api.github.com/users/cloudbehl/repos","events_url":"https://api.github.com/users/cloudbehl/events{/privacy}","received_events_url":"https://api.github.com/users/cloudbehl/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[{"id":926922910,"node_id":"MDU6TGFiZWw5MjY5MjI5MTA=","url":"https://api.github.com/repos/openshift/console/labels/needs-ok-to-test","name":"needs-ok-to-test","color":"b60205","default":false},{"id":926925141,"node_id":"MDU6TGFiZWw5MjY5MjUxNDE=","url":"https://api.github.com/repos/openshift/console/labels/size/XL","name":"size/XL","color":"ee5500","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/openshift/console/pulls/1976/commits","review_comments_url":"https://api.github.com/repos/openshift/console/pulls/1976/comments","review_comment_url":"https://api.github.com/repos/openshift/console/pulls/comments{/number}","comments_url":"https://api.github.com/repos/openshift/console/issues/1976/comments","statuses_url":"https://api.github.com/repos/openshift/console/statuses/01844dea28a55ba74028721db967b64e7eeaf423","head":{"label":"afreen23:noobaa_data-consumption-card","ref":"noobaa_data-consumption-card","sha":"01844dea28a55ba74028721db967b64e7eeaf423","user":{"login":"afreen23","id":25664409,"node_id":"MDQ6VXNlcjI1NjY0NDA5","avatar_url":"https://avatars0.githubusercontent.com/u/25664409?v=4","gravatar_id":"","url":"https://api.github.com/users/afreen23","html_url":"https://github.com/afreen23","followers_url":"https://api.github.com/users/afreen23/followers","following_url":"https://api.github.com/users/afreen23/following{/other_user}","gists_url":"https://api.github.com/users/afreen23/gists{/gist_id}","starred_url":"https://api.github.com/users/afreen23/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/afreen23/subscriptions","organizations_url":"https://api.github.com/users/afreen23/orgs","repos_url":"https://api.github.com/users/afreen23/repos","events_url":"https://api.github.com/users/afreen23/events{/privacy}","received_events_url":"https://api.github.com/users/afreen23/received_events","type":"User","site_admin":false},"repo":{"id":193860009,"node_id":"MDEwOlJlcG9zaXRvcnkxOTM4NjAwMDk=","name":"console","full_name":"afreen23/console","private":false,"owner":{"login":"afreen23","id":25664409,"node_id":"MDQ6VXNlcjI1NjY0NDA5","avatar_url":"https://avatars0.githubusercontent.com/u/25664409?v=4","gravatar_id":"","url":"https://api.github.com/users/afreen23","html_url":"https://github.com/afreen23","followers_url":"https://api.github.com/users/afreen23/followers","following_url":"https://api.github.com/users/afreen23/following{/other_user}","gists_url":"https://api.github.com/users/afreen23/gists{/gist_id}","starred_url":"https://api.github.com/users/afreen23/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/afreen23/subscriptions","organizations_url":"https://api.github.com/users/afreen23/orgs","repos_url":"https://api.github.com/users/afreen23/repos","events_url":"https://api.github.com/users/afreen23/events{/privacy}","received_events_url":"https://api.github.com/users/afreen23/received_events","type":"User","site_admin":false},"html_url":"https://github.com/afreen23/console","description":"OpenShift Cluster Console UI","fork":true,"url":"https://api.github.com/repos/afreen23/console","forks_url":"https://api.github.com/repos/afreen23/console/forks","keys_url":"https://api.github.com/repos/afreen23/console/keys{/key_id}","collaborators_url":"https://api.github.com/repos/afreen23/console/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/afreen23/console/teams","hooks_url":"https://api.github.com/repos/afreen23/console/hooks","issue_events_url":"https://api.github.com/repos/afreen23/console/issues/events{/number}","events_url":"https://api.github.com/repos/afreen23/console/events","assignees_url":"https://api.github.com/repos/afreen23/console/assignees{/user}","branches_url":"https://api.github.com/repos/afreen23/console/branches{/branch}","tags_url":"https://api.github.com/repos/afreen23/console/tags","blobs_url":"https://api.github.com/repos/afreen23/console/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/afreen23/console/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/afreen23/console/git/refs{/sha}","trees_url":"https://api.github.com/repos/afreen23/console/git/trees{/sha}","statuses_url":"https://api.github.com/repos/afreen23/console/statuses/{sha}","languages_url":"https://api.github.com/repos/afreen23/console/languages","stargazers_url":"https://api.github.com/repos/afreen23/console/stargazers","contributors_url":"https://api.github.com/repos/afreen23/console/contributors","subscribers_url":"https://api.github.com/repos/afreen23/console/subscribers","subscription_url":"https://api.github.com/repos/afreen23/console/subscription","commits_url":"https://api.github.com/repos/afreen23/console/commits{/sha}","git_commits_url":"https://api.github.com/repos/afreen23/console/git/commits{/sha}","comments_url":"https://api.github.com/repos/afreen23/console/comments{/number}","issue_comment_url":"https://api.github.com/repos/afreen23/console/issues/comments{/number}","contents_url":"https://api.github.com/repos/afreen23/console/contents/{+path}","compare_url":"https://api.github.com/repos/afreen23/console/compare/{base}...{head}","merges_url":"https://api.github.com/repos/afreen23/console/merges","archive_url":"https://api.github.com/repos/afreen23/console/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/afreen23/console/downloads","issues_url":"https://api.github.com/repos/afreen23/console/issues{/number}","pulls_url":"https://api.github.com/repos/afreen23/console/pulls{/number}","milestones_url":"https://api.github.com/repos/afreen23/console/milestones{/number}","notifications_url":"https://api.github.com/repos/afreen23/console/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/afreen23/console/labels{/name}","releases_url":"https://api.github.com/repos/afreen23/console/releases{/id}","deployments_url":"https://api.github.com/repos/afreen23/console/deployments","created_at":"2019-06-26T08:12:02Z","updated_at":"2019-06-28T09:13:13Z","pushed_at":"2019-07-17T05:33:40Z","git_url":"git://github.com/afreen23/console.git","ssh_url":"git@github.com:afreen23/console.git","clone_url":"https://github.com/afreen23/console.git","svn_url":"https://github.com/afreen23/console","homepage":"https://www.openshift.org","size":97053,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"openshift:master","ref":"master","sha":"3d287defbb8465611d3c473d50ad62d98c0cb729","user":{"login":"openshift","id":792337,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc5MjMzNw==","avatar_url":"https://avatars3.githubusercontent.com/u/792337?v=4","gravatar_id":"","url":"https://api.github.com/users/openshift","html_url":"https://github.com/openshift","followers_url":"https://api.github.com/users/openshift/followers","following_url":"https://api.github.com/users/openshift/following{/other_user}","gists_url":"https://api.github.com/users/openshift/gists{/gist_id}","starred_url":"https://api.github.com/users/openshift/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openshift/subscriptions","organizations_url":"https://api.github.com/users/openshift/orgs","repos_url":"https://api.github.com/users/openshift/repos","events_url":"https://api.github.com/users/openshift/events{/privacy}","received_events_url":"https://api.github.com/users/openshift/received_events","type":"Organization","site_admin":false},"repo":{"id":129436456,"node_id":"MDEwOlJlcG9zaXRvcnkxMjk0MzY0NTY=","name":"console","full_name":"openshift/console","private":false,"owner":{"login":"openshift","id":792337,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc5MjMzNw==","avatar_url":"https://avatars3.githubusercontent.com/u/792337?v=4","gravatar_id":"","url":"https://api.github.com/users/openshift","html_url":"https://github.com/openshift","followers_url":"https://api.github.com/users/openshift/followers","following_url":"https://api.github.com/users/openshift/following{/other_user}","gists_url":"https://api.github.com/users/openshift/gists{/gist_id}","starred_url":"https://api.github.com/users/openshift/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openshift/subscriptions","organizations_url":"https://api.github.com/users/openshift/orgs","repos_url":"https://api.github.com/users/openshift/repos","events_url":"https://api.github.com/users/openshift/events{/privacy}","received_events_url":"https://api.github.com/users/openshift/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/openshift/console","description":"OpenShift Cluster Console UI","fork":false,"url":"https://api.github.com/repos/openshift/console","forks_url":"https://api.github.com/repos/openshift/console/forks","keys_url":"https://api.github.com/repos/openshift/console/keys{/key_id}","collaborators_url":"https://api.github.com/repos/openshift/console/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/openshift/console/teams","hooks_url":"https://api.github.com/repos/openshift/console/hooks","issue_events_url":"https://api.github.com/repos/openshift/console/issues/events{/number}","events_url":"https://api.github.com/repos/openshift/console/events","assignees_url":"https://api.github.com/repos/openshift/console/assignees{/user}","branches_url":"https://api.github.com/repos/openshift/console/branches{/branch}","tags_url":"https://api.github.com/repos/openshift/console/tags","blobs_url":"https://api.github.com/repos/openshift/console/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/openshift/console/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/openshift/console/git/refs{/sha}","trees_url":"https://api.github.com/repos/openshift/console/git/trees{/sha}","statuses_url":"https://api.github.com/repos/openshift/console/statuses/{sha}","languages_url":"https://api.github.com/repos/openshift/console/languages","stargazers_url":"https://api.github.com/repos/openshift/console/stargazers","contributors_url":"https://api.github.com/repos/openshift/console/contributors","subscribers_url":"https://api.github.com/repos/openshift/console/subscribers","subscription_url":"https://api.github.com/repos/openshift/console/subscription","commits_url":"https://api.github.com/repos/openshift/console/commits{/sha}","git_commits_url":"https://api.github.com/repos/openshift/console/git/commits{/sha}","comments_url":"https://api.github.com/repos/openshift/console/comments{/number}","issue_comment_url":"https://api.github.com/repos/openshift/console/issues/comments{/number}","contents_url":"https://api.github.com/repos/openshift/console/contents/{+path}","compare_url":"https://api.github.com/repos/openshift/console/compare/{base}...{head}","merges_url":"https://api.github.com/repos/openshift/console/merges","archive_url":"https://api.github.com/repos/openshift/console/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/openshift/console/downloads","issues_url":"https://api.github.com/repos/openshift/console/issues{/number}","pulls_url":"https://api.github.com/repos/openshift/console/pulls{/number}","milestones_url":"https://api.github.com/repos/openshift/console/milestones{/number}","notifications_url":"https://api.github.com/repos/openshift/console/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/openshift/console/labels{/name}","releases_url":"https://api.github.com/repos/openshift/console/releases{/id}","deployments_url":"https://api.github.com/repos/openshift/console/deployments","created_at":"2018-04-13T17:54:59Z","updated_at":"2019-07-17T04:43:02Z","pushed_at":"2019-07-17T07:41:39Z","git_url":"git://github.com/openshift/console.git","ssh_url":"git@github.com:openshift/console.git","clone_url":"https://github.com/openshift/console.git","svn_url":"https://github.com/openshift/console","homepage":"https://www.openshift.org","size":97159,"stargazers_count":77,"watchers_count":77,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":136,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":105,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":136,"open_issues":105,"watchers":77,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/openshift/console/pulls/1976"},"html":{"href":"https://github.com/openshift/console/pull/1976"},"issue":{"href":"https://api.github.com/repos/openshift/console/issues/1976"},"comments":{"href":"https://api.github.com/repos/openshift/console/issues/1976/comments"},"review_comments":{"href":"https://api.github.com/repos/openshift/console/pulls/1976/comments"},"review_comment":{"href":"https://api.github.com/repos/openshift/console/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/openshift/console/pulls/1976/commits"},"statuses":{"href":"https://api.github.com/repos/openshift/console/statuses/01844dea28a55ba74028721db967b64e7eeaf423"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"rawagner"}}