{"action":"created","comment":{"url":"https://api.github.com/repos/ManageIQ/manageiq/pulls/comments/46091381","id":46091381,"diff_hunk":"@@ -37,6 +40,18 @@ def ready_condition_status\n     ready_condition.try(:status) || 'None'\n   end\n \n+  def waiting_containers\n+    \"#{containers.to_a.count { |container| container.state.eql? 'waiting' }}/#{containers.count}\"","path":"app/models/container_group.rb","position":null,"original_position":15,"commit_id":"8b0a7755e90d3fad478c7956e702441eb49d7619","original_commit_id":"a6128b253fbe0d31fa35fc179976fd9893a3baa4","user":{"login":"zakiva","id":11769555,"avatar_url":"https://avatars.githubusercontent.com/u/11769555?v=3","gravatar_id":"","url":"https://api.github.com/users/zakiva","html_url":"https://github.com/zakiva","followers_url":"https://api.github.com/users/zakiva/followers","following_url":"https://api.github.com/users/zakiva/following{/other_user}","gists_url":"https://api.github.com/users/zakiva/gists{/gist_id}","starred_url":"https://api.github.com/users/zakiva/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zakiva/subscriptions","organizations_url":"https://api.github.com/users/zakiva/orgs","repos_url":"https://api.github.com/users/zakiva/repos","events_url":"https://api.github.com/users/zakiva/events{/privacy}","received_events_url":"https://api.github.com/users/zakiva/received_events","type":"User","site_admin":false},"body":"@chessbyte , I simplified the counts and made them numeric. However, in order to make the explore table more informative I used another method to display (as a string) how many containers are running out of the total number of containers in the pod, instead of just the number of running containers (please see the screenshot above).\r\ncc @simon3z \r\n@dkorn done, thanks. ","created_at":"2015-11-29T12:23:05Z","updated_at":"2015-11-29T12:23:05Z","html_url":"https://github.com/ManageIQ/manageiq/pull/5567#discussion_r46091381","pull_request_url":"https://api.github.com/repos/ManageIQ/manageiq/pulls/5567","_links":{"self":{"href":"https://api.github.com/repos/ManageIQ/manageiq/pulls/comments/46091381"},"html":{"href":"https://github.com/ManageIQ/manageiq/pull/5567#discussion_r46091381"},"pull_request":{"href":"https://api.github.com/repos/ManageIQ/manageiq/pulls/5567"}}},"pull_request":{"url":"https://api.github.com/repos/ManageIQ/manageiq/pulls/5567","id":51544586,"html_url":"https://github.com/ManageIQ/manageiq/pull/5567","diff_url":"https://github.com/ManageIQ/manageiq/pull/5567.diff","patch_url":"https://github.com/ManageIQ/manageiq/pull/5567.patch","issue_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/5567","number":5567,"state":"open","locked":false,"title":"Add containers statuses summary","user":{"login":"zakiva","id":11769555,"avatar_url":"https://avatars.githubusercontent.com/u/11769555?v=3","gravatar_id":"","url":"https://api.github.com/users/zakiva","html_url":"https://github.com/zakiva","followers_url":"https://api.github.com/users/zakiva/followers","following_url":"https://api.github.com/users/zakiva/following{/other_user}","gists_url":"https://api.github.com/users/zakiva/gists{/gist_id}","starred_url":"https://api.github.com/users/zakiva/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zakiva/subscriptions","organizations_url":"https://api.github.com/users/zakiva/orgs","repos_url":"https://api.github.com/users/zakiva/repos","events_url":"https://api.github.com/users/zakiva/events{/privacy}","received_events_url":"https://api.github.com/users/zakiva/received_events","type":"User","site_admin":false},"body":"Summarize containers statuses in the pod views: \r\n\r\n![sum1](https://cloud.githubusercontent.com/assets/11769555/11342409/fd6bf838-920f-11e5-92aa-e718d8d3147b.png)\r\n\r\n![sum2](https://cloud.githubusercontent.com/assets/11769555/11342415/01ccb624-9210-11e5-8a7d-208a2d7b152d.png)\r\n\r\n","created_at":"2015-11-23T16:20:21Z","updated_at":"2015-11-29T12:23:06Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3a1763f564adfc80cb12f1e6f03f9a7d67221c2f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ManageIQ/manageiq/pulls/5567/commits","review_comments_url":"https://api.github.com/repos/ManageIQ/manageiq/pulls/5567/comments","review_comment_url":"https://api.github.com/repos/ManageIQ/manageiq/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/5567/comments","statuses_url":"https://api.github.com/repos/ManageIQ/manageiq/statuses/8b0a7755e90d3fad478c7956e702441eb49d7619","head":{"label":"zakiva:containers_statuses","ref":"containers_statuses","sha":"8b0a7755e90d3fad478c7956e702441eb49d7619","user":{"login":"zakiva","id":11769555,"avatar_url":"https://avatars.githubusercontent.com/u/11769555?v=3","gravatar_id":"","url":"https://api.github.com/users/zakiva","html_url":"https://github.com/zakiva","followers_url":"https://api.github.com/users/zakiva/followers","following_url":"https://api.github.com/users/zakiva/following{/other_user}","gists_url":"https://api.github.com/users/zakiva/gists{/gist_id}","starred_url":"https://api.github.com/users/zakiva/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zakiva/subscriptions","organizations_url":"https://api.github.com/users/zakiva/orgs","repos_url":"https://api.github.com/users/zakiva/repos","events_url":"https://api.github.com/users/zakiva/events{/privacy}","received_events_url":"https://api.github.com/users/zakiva/received_events","type":"User","site_admin":false},"repo":{"id":36292031,"name":"manageiq","full_name":"zakiva/manageiq","owner":{"login":"zakiva","id":11769555,"avatar_url":"https://avatars.githubusercontent.com/u/11769555?v=3","gravatar_id":"","url":"https://api.github.com/users/zakiva","html_url":"https://github.com/zakiva","followers_url":"https://api.github.com/users/zakiva/followers","following_url":"https://api.github.com/users/zakiva/following{/other_user}","gists_url":"https://api.github.com/users/zakiva/gists{/gist_id}","starred_url":"https://api.github.com/users/zakiva/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zakiva/subscriptions","organizations_url":"https://api.github.com/users/zakiva/orgs","repos_url":"https://api.github.com/users/zakiva/repos","events_url":"https://api.github.com/users/zakiva/events{/privacy}","received_events_url":"https://api.github.com/users/zakiva/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/zakiva/manageiq","description":"ManageIQ Cloud Management Platform","fork":true,"url":"https://api.github.com/repos/zakiva/manageiq","forks_url":"https://api.github.com/repos/zakiva/manageiq/forks","keys_url":"https://api.github.com/repos/zakiva/manageiq/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zakiva/manageiq/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zakiva/manageiq/teams","hooks_url":"https://api.github.com/repos/zakiva/manageiq/hooks","issue_events_url":"https://api.github.com/repos/zakiva/manageiq/issues/events{/number}","events_url":"https://api.github.com/repos/zakiva/manageiq/events","assignees_url":"https://api.github.com/repos/zakiva/manageiq/assignees{/user}","branches_url":"https://api.github.com/repos/zakiva/manageiq/branches{/branch}","tags_url":"https://api.github.com/repos/zakiva/manageiq/tags","blobs_url":"https://api.github.com/repos/zakiva/manageiq/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zakiva/manageiq/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zakiva/manageiq/git/refs{/sha}","trees_url":"https://api.github.com/repos/zakiva/manageiq/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zakiva/manageiq/statuses/{sha}","languages_url":"https://api.github.com/repos/zakiva/manageiq/languages","stargazers_url":"https://api.github.com/repos/zakiva/manageiq/stargazers","contributors_url":"https://api.github.com/repos/zakiva/manageiq/contributors","subscribers_url":"https://api.github.com/repos/zakiva/manageiq/subscribers","subscription_url":"https://api.github.com/repos/zakiva/manageiq/subscription","commits_url":"https://api.github.com/repos/zakiva/manageiq/commits{/sha}","git_commits_url":"https://api.github.com/repos/zakiva/manageiq/git/commits{/sha}","comments_url":"https://api.github.com/repos/zakiva/manageiq/comments{/number}","issue_comment_url":"https://api.github.com/repos/zakiva/manageiq/issues/comments{/number}","contents_url":"https://api.github.com/repos/zakiva/manageiq/contents/{+path}","compare_url":"https://api.github.com/repos/zakiva/manageiq/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zakiva/manageiq/merges","archive_url":"https://api.github.com/repos/zakiva/manageiq/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zakiva/manageiq/downloads","issues_url":"https://api.github.com/repos/zakiva/manageiq/issues{/number}","pulls_url":"https://api.github.com/repos/zakiva/manageiq/pulls{/number}","milestones_url":"https://api.github.com/repos/zakiva/manageiq/milestones{/number}","notifications_url":"https://api.github.com/repos/zakiva/manageiq/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zakiva/manageiq/labels{/name}","releases_url":"https://api.github.com/repos/zakiva/manageiq/releases{/id}","created_at":"2015-05-26T11:39:49Z","updated_at":"2015-05-26T11:40:09Z","pushed_at":"2015-11-29T11:57:44Z","git_url":"git://github.com/zakiva/manageiq.git","ssh_url":"git@github.com:zakiva/manageiq.git","clone_url":"https://github.com/zakiva/manageiq.git","svn_url":"https://github.com/zakiva/manageiq","homepage":"manageiq.org","size":96488,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"ManageIQ:master","ref":"master","sha":"25e01fb73a5577532ffd90bcdfc81ca64d167e83","user":{"login":"ManageIQ","id":1125575,"avatar_url":"https://avatars.githubusercontent.com/u/1125575?v=3","gravatar_id":"","url":"https://api.github.com/users/ManageIQ","html_url":"https://github.com/ManageIQ","followers_url":"https://api.github.com/users/ManageIQ/followers","following_url":"https://api.github.com/users/ManageIQ/following{/other_user}","gists_url":"https://api.github.com/users/ManageIQ/gists{/gist_id}","starred_url":"https://api.github.com/users/ManageIQ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ManageIQ/subscriptions","organizations_url":"https://api.github.com/users/ManageIQ/orgs","repos_url":"https://api.github.com/users/ManageIQ/repos","events_url":"https://api.github.com/users/ManageIQ/events{/privacy}","received_events_url":"https://api.github.com/users/ManageIQ/received_events","type":"Organization","site_admin":false},"repo":{"id":20789757,"name":"manageiq","full_name":"ManageIQ/manageiq","owner":{"login":"ManageIQ","id":1125575,"avatar_url":"https://avatars.githubusercontent.com/u/1125575?v=3","gravatar_id":"","url":"https://api.github.com/users/ManageIQ","html_url":"https://github.com/ManageIQ","followers_url":"https://api.github.com/users/ManageIQ/followers","following_url":"https://api.github.com/users/ManageIQ/following{/other_user}","gists_url":"https://api.github.com/users/ManageIQ/gists{/gist_id}","starred_url":"https://api.github.com/users/ManageIQ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ManageIQ/subscriptions","organizations_url":"https://api.github.com/users/ManageIQ/orgs","repos_url":"https://api.github.com/users/ManageIQ/repos","events_url":"https://api.github.com/users/ManageIQ/events{/privacy}","received_events_url":"https://api.github.com/users/ManageIQ/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ManageIQ/manageiq","description":"ManageIQ Cloud Management Platform","fork":false,"url":"https://api.github.com/repos/ManageIQ/manageiq","forks_url":"https://api.github.com/repos/ManageIQ/manageiq/forks","keys_url":"https://api.github.com/repos/ManageIQ/manageiq/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ManageIQ/manageiq/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ManageIQ/manageiq/teams","hooks_url":"https://api.github.com/repos/ManageIQ/manageiq/hooks","issue_events_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/events{/number}","events_url":"https://api.github.com/repos/ManageIQ/manageiq/events","assignees_url":"https://api.github.com/repos/ManageIQ/manageiq/assignees{/user}","branches_url":"https://api.github.com/repos/ManageIQ/manageiq/branches{/branch}","tags_url":"https://api.github.com/repos/ManageIQ/manageiq/tags","blobs_url":"https://api.github.com/repos/ManageIQ/manageiq/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ManageIQ/manageiq/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ManageIQ/manageiq/git/refs{/sha}","trees_url":"https://api.github.com/repos/ManageIQ/manageiq/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ManageIQ/manageiq/statuses/{sha}","languages_url":"https://api.github.com/repos/ManageIQ/manageiq/languages","stargazers_url":"https://api.github.com/repos/ManageIQ/manageiq/stargazers","contributors_url":"https://api.github.com/repos/ManageIQ/manageiq/contributors","subscribers_url":"https://api.github.com/repos/ManageIQ/manageiq/subscribers","subscription_url":"https://api.github.com/repos/ManageIQ/manageiq/subscription","commits_url":"https://api.github.com/repos/ManageIQ/manageiq/commits{/sha}","git_commits_url":"https://api.github.com/repos/ManageIQ/manageiq/git/commits{/sha}","comments_url":"https://api.github.com/repos/ManageIQ/manageiq/comments{/number}","issue_comment_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/comments{/number}","contents_url":"https://api.github.com/repos/ManageIQ/manageiq/contents/{+path}","compare_url":"https://api.github.com/repos/ManageIQ/manageiq/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ManageIQ/manageiq/merges","archive_url":"https://api.github.com/repos/ManageIQ/manageiq/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ManageIQ/manageiq/downloads","issues_url":"https://api.github.com/repos/ManageIQ/manageiq/issues{/number}","pulls_url":"https://api.github.com/repos/ManageIQ/manageiq/pulls{/number}","milestones_url":"https://api.github.com/repos/ManageIQ/manageiq/milestones{/number}","notifications_url":"https://api.github.com/repos/ManageIQ/manageiq/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ManageIQ/manageiq/labels{/name}","releases_url":"https://api.github.com/repos/ManageIQ/manageiq/releases{/id}","created_at":"2014-06-13T02:31:26Z","updated_at":"2015-11-28T09:15:43Z","pushed_at":"2015-11-29T11:57:45Z","git_url":"git://github.com/ManageIQ/manageiq.git","ssh_url":"git@github.com:ManageIQ/manageiq.git","clone_url":"https://github.com/ManageIQ/manageiq.git","svn_url":"https://github.com/ManageIQ/manageiq","homepage":"manageiq.org","size":130217,"stargazers_count":170,"watchers_count":170,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":186,"mirror_url":null,"open_issues_count":467,"forks":186,"open_issues":467,"watchers":170,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ManageIQ/manageiq/pulls/5567"},"html":{"href":"https://github.com/ManageIQ/manageiq/pull/5567"},"issue":{"href":"https://api.github.com/repos/ManageIQ/manageiq/issues/5567"},"comments":{"href":"https://api.github.com/repos/ManageIQ/manageiq/issues/5567/comments"},"review_comments":{"href":"https://api.github.com/repos/ManageIQ/manageiq/pulls/5567/comments"},"review_comment":{"href":"https://api.github.com/repos/ManageIQ/manageiq/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ManageIQ/manageiq/pulls/5567/commits"},"statuses":{"href":"https://api.github.com/repos/ManageIQ/manageiq/statuses/8b0a7755e90d3fad478c7956e702441eb49d7619"}}}}