{"action":"created","comment":{"url":"https://api.github.com/repos/learningequality/kolibri/pulls/comments/118143380","pull_request_review_id":39907927,"id":118143380,"diff_hunk":"@@ -1,23 +1,31 @@\n <template>\n \n-  <router-link :to=\"link\" class=\"link-block\">\n-    <div class=\"wrapper\">\n-      <div class=\"card-thumbnail\">\n-        <slot/>\n-        <div class=\"progress-icon-wrapper\">\n-          <progress-icon :progress=\"progress\"/>\n-        </div>\n+  <router-link :to=\"link\" class=\"card\">\n+\n+    <div class=\"card-thumbnail\" :style=\"backgroundImg\">\n+      <content-icon v-if=\"!thumbnail\" :kind=\"kind\" class=\"card-thumbnail-backup\"/>\n+      <div class=\"card-progress-icon-wrapper\">\n+        <progress-icon :progress=\"progress\"/>\n+      </div>\n+\n+      <div class=\"card-content-icon-background\" :class=\"backgroundClass\"></div>\n+      <div class=\"card-content-icon-wrapper\">\n+        <content-icon :kind=\"kind\" class=\"card-content-icon\"/>\n       </div>\n-      <div class=\"card-content\">\n-        <div class=\"text\">\n-          <content-icon\n-          class=\"content-icon\"\n-          v-if=\"kind\"\n-          :kind=\"kind\"/>\n-          {{ title }}\n+\n+      <div class=\"card-progress-bar-wrapper\">\n+        <div\n+          class=\"card-progress-bar\"\n+          :style=\"{ width: `${progress * 100}%` }\"\n+          :class=\"{ 'card-progress-bar-mastered': mastered, 'card-progress-bar-progress': inProgress }\">","path":"kolibri/plugins/learn/assets/src/views/card-grid/grid-item/index.vue","position":34,"original_position":34,"commit_id":"2c7660763f04fd9ad44e7bed8a2f748a324ef2cc","original_commit_id":"2c7660763f04fd9ad44e7bed8a2f748a324ef2cc","user":{"login":"DXCanas","id":9877852,"avatar_url":"https://avatars1.githubusercontent.com/u/9877852?v=3","gravatar_id":"","url":"https://api.github.com/users/DXCanas","html_url":"https://github.com/DXCanas","followers_url":"https://api.github.com/users/DXCanas/followers","following_url":"https://api.github.com/users/DXCanas/following{/other_user}","gists_url":"https://api.github.com/users/DXCanas/gists{/gist_id}","starred_url":"https://api.github.com/users/DXCanas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DXCanas/subscriptions","organizations_url":"https://api.github.com/users/DXCanas/orgs","repos_url":"https://api.github.com/users/DXCanas/repos","events_url":"https://api.github.com/users/DXCanas/events{/privacy}","received_events_url":"https://api.github.com/users/DXCanas/received_events","type":"User","site_admin":false},"body":"Better to handle this style logic as an object inside of computed props? So that it ends up looking like:\r\n`:class=progressBarStyles` with the object being generated in the computed property","created_at":"2017-05-24T01:20:41Z","updated_at":"2017-05-24T01:45:18Z","html_url":"https://github.com/learningequality/kolibri/pull/1533#discussion_r118143380","pull_request_url":"https://api.github.com/repos/learningequality/kolibri/pulls/1533","_links":{"self":{"href":"https://api.github.com/repos/learningequality/kolibri/pulls/comments/118143380"},"html":{"href":"https://github.com/learningequality/kolibri/pull/1533#discussion_r118143380"},"pull_request":{"href":"https://api.github.com/repos/learningequality/kolibri/pulls/1533"}}},"pull_request":{"url":"https://api.github.com/repos/learningequality/kolibri/pulls/1533","id":121388580,"html_url":"https://github.com/learningequality/kolibri/pull/1533","diff_url":"https://github.com/learningequality/kolibri/pull/1533.diff","patch_url":"https://github.com/learningequality/kolibri/pull/1533.patch","issue_url":"https://api.github.com/repos/learningequality/kolibri/issues/1533","number":1533,"state":"open","locked":false,"title":"Redesigns the grid-item, aka card, & adds color consistency throughout app.","user":{"login":"christianmemije","id":7193975,"avatar_url":"https://avatars2.githubusercontent.com/u/7193975?v=3","gravatar_id":"","url":"https://api.github.com/users/christianmemije","html_url":"https://github.com/christianmemije","followers_url":"https://api.github.com/users/christianmemije/followers","following_url":"https://api.github.com/users/christianmemije/following{/other_user}","gists_url":"https://api.github.com/users/christianmemije/gists{/gist_id}","starred_url":"https://api.github.com/users/christianmemije/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/christianmemije/subscriptions","organizations_url":"https://api.github.com/users/christianmemije/orgs","repos_url":"https://api.github.com/users/christianmemije/repos","events_url":"https://api.github.com/users/christianmemije/events{/privacy}","received_events_url":"https://api.github.com/users/christianmemije/received_events","type":"User","site_admin":false},"body":"## Summary\r\n\r\n* Redesigns the grid-item, aka card\r\n* Adds missing tab for audio within search page\r\n* Adds new colors to definitions and attempts to make use of colors throughout app more consistent.\r\n* **TODOS NOT part of this PR**\r\n  * Also use cards for topics\r\n  * Do not separate topics from contents to keep order.\r\n\r\n\r\n\r\n![pasted_image_at_2017_05_18_02_50_pm_1024](https://cloud.githubusercontent.com/assets/7193975/26225462/24a3aeec-3bdc-11e7-89dc-b2648372e920.png)\r\n","created_at":"2017-05-18T22:10:03Z","updated_at":"2017-05-24T01:45:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":"54f1ba473d78cad6ab249576d6435486988dd7b4","assignee":{"login":"indirectlylit","id":2367265,"avatar_url":"https://avatars1.githubusercontent.com/u/2367265?v=3","gravatar_id":"","url":"https://api.github.com/users/indirectlylit","html_url":"https://github.com/indirectlylit","followers_url":"https://api.github.com/users/indirectlylit/followers","following_url":"https://api.github.com/users/indirectlylit/following{/other_user}","gists_url":"https://api.github.com/users/indirectlylit/gists{/gist_id}","starred_url":"https://api.github.com/users/indirectlylit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/indirectlylit/subscriptions","organizations_url":"https://api.github.com/users/indirectlylit/orgs","repos_url":"https://api.github.com/users/indirectlylit/repos","events_url":"https://api.github.com/users/indirectlylit/events{/privacy}","received_events_url":"https://api.github.com/users/indirectlylit/received_events","type":"User","site_admin":false},"assignees":[{"login":"indirectlylit","id":2367265,"avatar_url":"https://avatars1.githubusercontent.com/u/2367265?v=3","gravatar_id":"","url":"https://api.github.com/users/indirectlylit","html_url":"https://github.com/indirectlylit","followers_url":"https://api.github.com/users/indirectlylit/followers","following_url":"https://api.github.com/users/indirectlylit/following{/other_user}","gists_url":"https://api.github.com/users/indirectlylit/gists{/gist_id}","starred_url":"https://api.github.com/users/indirectlylit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/indirectlylit/subscriptions","organizations_url":"https://api.github.com/users/indirectlylit/orgs","repos_url":"https://api.github.com/users/indirectlylit/repos","events_url":"https://api.github.com/users/indirectlylit/events{/privacy}","received_events_url":"https://api.github.com/users/indirectlylit/received_events","type":"User","site_admin":false},{"login":"DXCanas","id":9877852,"avatar_url":"https://avatars1.githubusercontent.com/u/9877852?v=3","gravatar_id":"","url":"https://api.github.com/users/DXCanas","html_url":"https://github.com/DXCanas","followers_url":"https://api.github.com/users/DXCanas/followers","following_url":"https://api.github.com/users/DXCanas/following{/other_user}","gists_url":"https://api.github.com/users/DXCanas/gists{/gist_id}","starred_url":"https://api.github.com/users/DXCanas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DXCanas/subscriptions","organizations_url":"https://api.github.com/users/DXCanas/orgs","repos_url":"https://api.github.com/users/DXCanas/repos","events_url":"https://api.github.com/users/DXCanas/events{/privacy}","received_events_url":"https://api.github.com/users/DXCanas/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"milestone":{"url":"https://api.github.com/repos/learningequality/kolibri/milestones/4","html_url":"https://github.com/learningequality/kolibri/milestone/4","labels_url":"https://api.github.com/repos/learningequality/kolibri/milestones/4/labels","id":2408098,"number":4,"title":"0.5.0","description":"Delivery for UNICEF Contract","creator":{"login":"indirectlylit","id":2367265,"avatar_url":"https://avatars1.githubusercontent.com/u/2367265?v=3","gravatar_id":"","url":"https://api.github.com/users/indirectlylit","html_url":"https://github.com/indirectlylit","followers_url":"https://api.github.com/users/indirectlylit/followers","following_url":"https://api.github.com/users/indirectlylit/following{/other_user}","gists_url":"https://api.github.com/users/indirectlylit/gists{/gist_id}","starred_url":"https://api.github.com/users/indirectlylit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/indirectlylit/subscriptions","organizations_url":"https://api.github.com/users/indirectlylit/orgs","repos_url":"https://api.github.com/users/indirectlylit/repos","events_url":"https://api.github.com/users/indirectlylit/events{/privacy}","received_events_url":"https://api.github.com/users/indirectlylit/received_events","type":"User","site_admin":false},"open_issues":27,"closed_issues":21,"state":"open","created_at":"2017-03-23T23:45:34Z","updated_at":"2017-05-23T23:51:18Z","due_on":"2017-06-02T07:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/learningequality/kolibri/pulls/1533/commits","review_comments_url":"https://api.github.com/repos/learningequality/kolibri/pulls/1533/comments","review_comment_url":"https://api.github.com/repos/learningequality/kolibri/pulls/comments{/number}","comments_url":"https://api.github.com/repos/learningequality/kolibri/issues/1533/comments","statuses_url":"https://api.github.com/repos/learningequality/kolibri/statuses/2c7660763f04fd9ad44e7bed8a2f748a324ef2cc","head":{"label":"christianmemije:contentcards","ref":"contentcards","sha":"2c7660763f04fd9ad44e7bed8a2f748a324ef2cc","user":{"login":"christianmemije","id":7193975,"avatar_url":"https://avatars2.githubusercontent.com/u/7193975?v=3","gravatar_id":"","url":"https://api.github.com/users/christianmemije","html_url":"https://github.com/christianmemije","followers_url":"https://api.github.com/users/christianmemije/followers","following_url":"https://api.github.com/users/christianmemije/following{/other_user}","gists_url":"https://api.github.com/users/christianmemije/gists{/gist_id}","starred_url":"https://api.github.com/users/christianmemije/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/christianmemije/subscriptions","organizations_url":"https://api.github.com/users/christianmemije/orgs","repos_url":"https://api.github.com/users/christianmemije/repos","events_url":"https://api.github.com/users/christianmemije/events{/privacy}","received_events_url":"https://api.github.com/users/christianmemije/received_events","type":"User","site_admin":false},"repo":{"id":62084547,"name":"kolibri","full_name":"christianmemije/kolibri","owner":{"login":"christianmemije","id":7193975,"avatar_url":"https://avatars2.githubusercontent.com/u/7193975?v=3","gravatar_id":"","url":"https://api.github.com/users/christianmemije","html_url":"https://github.com/christianmemije","followers_url":"https://api.github.com/users/christianmemije/followers","following_url":"https://api.github.com/users/christianmemije/following{/other_user}","gists_url":"https://api.github.com/users/christianmemije/gists{/gist_id}","starred_url":"https://api.github.com/users/christianmemije/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/christianmemije/subscriptions","organizations_url":"https://api.github.com/users/christianmemije/orgs","repos_url":"https://api.github.com/users/christianmemije/repos","events_url":"https://api.github.com/users/christianmemije/events{/privacy}","received_events_url":"https://api.github.com/users/christianmemije/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/christianmemije/kolibri","description":"This is where Kolibri shall be born, watch and participate!","fork":true,"url":"https://api.github.com/repos/christianmemije/kolibri","forks_url":"https://api.github.com/repos/christianmemije/kolibri/forks","keys_url":"https://api.github.com/repos/christianmemije/kolibri/keys{/key_id}","collaborators_url":"https://api.github.com/repos/christianmemije/kolibri/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/christianmemije/kolibri/teams","hooks_url":"https://api.github.com/repos/christianmemije/kolibri/hooks","issue_events_url":"https://api.github.com/repos/christianmemije/kolibri/issues/events{/number}","events_url":"https://api.github.com/repos/christianmemije/kolibri/events","assignees_url":"https://api.github.com/repos/christianmemije/kolibri/assignees{/user}","branches_url":"https://api.github.com/repos/christianmemije/kolibri/branches{/branch}","tags_url":"https://api.github.com/repos/christianmemije/kolibri/tags","blobs_url":"https://api.github.com/repos/christianmemije/kolibri/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/christianmemije/kolibri/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/christianmemije/kolibri/git/refs{/sha}","trees_url":"https://api.github.com/repos/christianmemije/kolibri/git/trees{/sha}","statuses_url":"https://api.github.com/repos/christianmemije/kolibri/statuses/{sha}","languages_url":"https://api.github.com/repos/christianmemije/kolibri/languages","stargazers_url":"https://api.github.com/repos/christianmemije/kolibri/stargazers","contributors_url":"https://api.github.com/repos/christianmemije/kolibri/contributors","subscribers_url":"https://api.github.com/repos/christianmemije/kolibri/subscribers","subscription_url":"https://api.github.com/repos/christianmemije/kolibri/subscription","commits_url":"https://api.github.com/repos/christianmemije/kolibri/commits{/sha}","git_commits_url":"https://api.github.com/repos/christianmemije/kolibri/git/commits{/sha}","comments_url":"https://api.github.com/repos/christianmemije/kolibri/comments{/number}","issue_comment_url":"https://api.github.com/repos/christianmemije/kolibri/issues/comments{/number}","contents_url":"https://api.github.com/repos/christianmemije/kolibri/contents/{+path}","compare_url":"https://api.github.com/repos/christianmemije/kolibri/compare/{base}...{head}","merges_url":"https://api.github.com/repos/christianmemije/kolibri/merges","archive_url":"https://api.github.com/repos/christianmemije/kolibri/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/christianmemije/kolibri/downloads","issues_url":"https://api.github.com/repos/christianmemije/kolibri/issues{/number}","pulls_url":"https://api.github.com/repos/christianmemije/kolibri/pulls{/number}","milestones_url":"https://api.github.com/repos/christianmemije/kolibri/milestones{/number}","notifications_url":"https://api.github.com/repos/christianmemije/kolibri/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/christianmemije/kolibri/labels{/name}","releases_url":"https://api.github.com/repos/christianmemije/kolibri/releases{/id}","deployments_url":"https://api.github.com/repos/christianmemije/kolibri/deployments","created_at":"2016-06-27T20:07:11Z","updated_at":"2016-06-27T20:07:12Z","pushed_at":"2017-05-19T18:56:49Z","git_url":"git://github.com/christianmemije/kolibri.git","ssh_url":"git@github.com:christianmemije/kolibri.git","clone_url":"https://github.com/christianmemije/kolibri.git","svn_url":"https://github.com/christianmemije/kolibri","homepage":"http://learningequality.org/kolibri/","size":16865,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"learningequality:develop","ref":"develop","sha":"0b66fea58fdf7aad7d98a5608492173af55cc605","user":{"login":"learningequality","id":3926525,"avatar_url":"https://avatars2.githubusercontent.com/u/3926525?v=3","gravatar_id":"","url":"https://api.github.com/users/learningequality","html_url":"https://github.com/learningequality","followers_url":"https://api.github.com/users/learningequality/followers","following_url":"https://api.github.com/users/learningequality/following{/other_user}","gists_url":"https://api.github.com/users/learningequality/gists{/gist_id}","starred_url":"https://api.github.com/users/learningequality/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/learningequality/subscriptions","organizations_url":"https://api.github.com/users/learningequality/orgs","repos_url":"https://api.github.com/users/learningequality/repos","events_url":"https://api.github.com/users/learningequality/events{/privacy}","received_events_url":"https://api.github.com/users/learningequality/received_events","type":"Organization","site_admin":false},"repo":{"id":49976939,"name":"kolibri","full_name":"learningequality/kolibri","owner":{"login":"learningequality","id":3926525,"avatar_url":"https://avatars2.githubusercontent.com/u/3926525?v=3","gravatar_id":"","url":"https://api.github.com/users/learningequality","html_url":"https://github.com/learningequality","followers_url":"https://api.github.com/users/learningequality/followers","following_url":"https://api.github.com/users/learningequality/following{/other_user}","gists_url":"https://api.github.com/users/learningequality/gists{/gist_id}","starred_url":"https://api.github.com/users/learningequality/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/learningequality/subscriptions","organizations_url":"https://api.github.com/users/learningequality/orgs","repos_url":"https://api.github.com/users/learningequality/repos","events_url":"https://api.github.com/users/learningequality/events{/privacy}","received_events_url":"https://api.github.com/users/learningequality/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/learningequality/kolibri","description":"Kolibri: the offline app for universal education","fork":false,"url":"https://api.github.com/repos/learningequality/kolibri","forks_url":"https://api.github.com/repos/learningequality/kolibri/forks","keys_url":"https://api.github.com/repos/learningequality/kolibri/keys{/key_id}","collaborators_url":"https://api.github.com/repos/learningequality/kolibri/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/learningequality/kolibri/teams","hooks_url":"https://api.github.com/repos/learningequality/kolibri/hooks","issue_events_url":"https://api.github.com/repos/learningequality/kolibri/issues/events{/number}","events_url":"https://api.github.com/repos/learningequality/kolibri/events","assignees_url":"https://api.github.com/repos/learningequality/kolibri/assignees{/user}","branches_url":"https://api.github.com/repos/learningequality/kolibri/branches{/branch}","tags_url":"https://api.github.com/repos/learningequality/kolibri/tags","blobs_url":"https://api.github.com/repos/learningequality/kolibri/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/learningequality/kolibri/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/learningequality/kolibri/git/refs{/sha}","trees_url":"https://api.github.com/repos/learningequality/kolibri/git/trees{/sha}","statuses_url":"https://api.github.com/repos/learningequality/kolibri/statuses/{sha}","languages_url":"https://api.github.com/repos/learningequality/kolibri/languages","stargazers_url":"https://api.github.com/repos/learningequality/kolibri/stargazers","contributors_url":"https://api.github.com/repos/learningequality/kolibri/contributors","subscribers_url":"https://api.github.com/repos/learningequality/kolibri/subscribers","subscription_url":"https://api.github.com/repos/learningequality/kolibri/subscription","commits_url":"https://api.github.com/repos/learningequality/kolibri/commits{/sha}","git_commits_url":"https://api.github.com/repos/learningequality/kolibri/git/commits{/sha}","comments_url":"https://api.github.com/repos/learningequality/kolibri/comments{/number}","issue_comment_url":"https://api.github.com/repos/learningequality/kolibri/issues/comments{/number}","contents_url":"https://api.github.com/repos/learningequality/kolibri/contents/{+path}","compare_url":"https://api.github.com/repos/learningequality/kolibri/compare/{base}...{head}","merges_url":"https://api.github.com/repos/learningequality/kolibri/merges","archive_url":"https://api.github.com/repos/learningequality/kolibri/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/learningequality/kolibri/downloads","issues_url":"https://api.github.com/repos/learningequality/kolibri/issues{/number}","pulls_url":"https://api.github.com/repos/learningequality/kolibri/pulls{/number}","milestones_url":"https://api.github.com/repos/learningequality/kolibri/milestones{/number}","notifications_url":"https://api.github.com/repos/learningequality/kolibri/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/learningequality/kolibri/labels{/name}","releases_url":"https://api.github.com/repos/learningequality/kolibri/releases{/id}","deployments_url":"https://api.github.com/repos/learningequality/kolibri/deployments","created_at":"2016-01-19T19:22:07Z","updated_at":"2017-05-22T18:30:54Z","pushed_at":"2017-05-23T23:59:33Z","git_url":"git://github.com/learningequality/kolibri.git","ssh_url":"git@github.com:learningequality/kolibri.git","clone_url":"https://github.com/learningequality/kolibri.git","svn_url":"https://github.com/learningequality/kolibri","homepage":"http://learningequality.org/kolibri/","size":16929,"stargazers_count":63,"watchers_count":63,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":60,"mirror_url":null,"open_issues_count":91,"forks":60,"open_issues":91,"watchers":63,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/learningequality/kolibri/pulls/1533"},"html":{"href":"https://github.com/learningequality/kolibri/pull/1533"},"issue":{"href":"https://api.github.com/repos/learningequality/kolibri/issues/1533"},"comments":{"href":"https://api.github.com/repos/learningequality/kolibri/issues/1533/comments"},"review_comments":{"href":"https://api.github.com/repos/learningequality/kolibri/pulls/1533/comments"},"review_comment":{"href":"https://api.github.com/repos/learningequality/kolibri/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/learningequality/kolibri/pulls/1533/commits"},"statuses":{"href":"https://api.github.com/repos/learningequality/kolibri/statuses/2c7660763f04fd9ad44e7bed8a2f748a324ef2cc"}}}}
{"actor":{"display_login":"DXCanas"}}