{"action":"created","comment":{"url":"https://api.github.com/repos/KissKissBankBank/kitten/pulls/comments/117935931","pull_request_review_id":39519944,"id":117935931,"diff_hunk":"@@ -0,0 +1,114 @@\n+import React from 'react'\n+import classNames from 'classnames'\n+import { card } from 'kitten/hoc/card'\n+import { Marger } from 'kitten/components/layout/marger'\n+import { Status } from 'kitten/components/layout/status'\n+import { Grid, GridCol } from 'kitten/components/grid/grid'\n+import { ClockIcon } from 'kitten/components/icons/clock-icon'\n+import { Paragraph } from 'kitten/components/typography/paragraph'\n+import { ButtonIcon } from 'kitten/components/buttons/button-icon'\n+import { ArrowRightIcon } from 'kitten/components/icons/arrow-right-icon'\n+\n+class ProjectCreatorCardComponent extends React.Component {\n+  renderDate() {\n+    return (\n+      <div className=\"k-ProjectCreatorCard__content\">\n+        <ClockIcon />\n+        <div className=\"k-ProjectCreatorCard__date\">\n+          { this.props.date }\n+        </div>\n+      </div>\n+    )\n+  }\n+\n+  renderStatus() {\n+    return (\n+      <Status backgroundColor={ this.props.statusBackgroundColor }\n+              borderColor= { this.props.statusBorderColor }>\n+        { this.props.statusText }\n+      </Status>\n+    )\n+  }\n+\n+  renderDescription() {\n+    return (\n+      <div className=\"k-ProjectCreatorCard__grid\">\n+        <Marger top=\"1.8\"\n+                bottom=\"2\">\n+          <div className=\"k-ProjectCreatorCard__link--flex\">\n+            { this.renderDate() }\n+            { this.renderStatus() }\n+          </div>\n+          <Paragraph margin={ false }\n+                     className=\"k-ProjectCreatorCard__text\">\n+            { this.props.children }\n+          </Paragraph>\n+        </Marger>\n+      </div>\n+    )\n+  }\n+\n+  renderLink() {\n+    const target = this.props.isExternal ? { target: '_blank' } : {}\n+\n+    if (!this.props.linkContent) return\n+\n+    return (\n+      <a className=\"k-ProjectCreatorCard__link\"\n+           href={ this.props.href }\n+           { ...target }>\n+        <div className={ classNames('k-ProjectCreatorCard__grid',\n+                                    'k-ProjectCreatorCard__grid--withBorderTop') }>\n+          <Marger top=\"1.2\"\n+                  bottom=\"1.2\"\n+                  className=\"k-ProjectCreatorCard__link--flex\">\n+            <div> { this.props.linkText } </div>","path":"assets/javascripts/kitten/components/cards/project-creator-card.js","position":65,"original_position":65,"commit_id":"8ebe1b255e7107004471a3d667a2efc12cd6a71e","original_commit_id":"8ebe1b255e7107004471a3d667a2efc12cd6a71e","user":{"login":"LanF3usT","id":736319,"avatar_url":"https://avatars2.githubusercontent.com/u/736319?v=3","gravatar_id":"","url":"https://api.github.com/users/LanF3usT","html_url":"https://github.com/LanF3usT","followers_url":"https://api.github.com/users/LanF3usT/followers","following_url":"https://api.github.com/users/LanF3usT/following{/other_user}","gists_url":"https://api.github.com/users/LanF3usT/gists{/gist_id}","starred_url":"https://api.github.com/users/LanF3usT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LanF3usT/subscriptions","organizations_url":"https://api.github.com/users/LanF3usT/orgs","repos_url":"https://api.github.com/users/LanF3usT/repos","events_url":"https://api.github.com/users/LanF3usT/events{/privacy}","received_events_url":"https://api.github.com/users/LanF3usT/received_events","type":"User","site_admin":false},"body":"Il faut styler le texte ? Et on pourrait le mettre dans un `p` ou un `span`.","created_at":"2017-05-23T08:57:37Z","updated_at":"2017-05-23T09:04:10Z","html_url":"https://github.com/KissKissBankBank/kitten/pull/638#discussion_r117935931","pull_request_url":"https://api.github.com/repos/KissKissBankBank/kitten/pulls/638","_links":{"self":{"href":"https://api.github.com/repos/KissKissBankBank/kitten/pulls/comments/117935931"},"html":{"href":"https://github.com/KissKissBankBank/kitten/pull/638#discussion_r117935931"},"pull_request":{"href":"https://api.github.com/repos/KissKissBankBank/kitten/pulls/638"}}},"pull_request":{"url":"https://api.github.com/repos/KissKissBankBank/kitten/pulls/638","id":119213221,"html_url":"https://github.com/KissKissBankBank/kitten/pull/638","diff_url":"https://github.com/KissKissBankBank/kitten/pull/638.diff","patch_url":"https://github.com/KissKissBankBank/kitten/pull/638.patch","issue_url":"https://api.github.com/repos/KissKissBankBank/kitten/issues/638","number":638,"state":"open","locked":false,"title":"Add `ProjectCreatorCard` component.","user":{"login":"camilledel","id":11648042,"avatar_url":"https://avatars0.githubusercontent.com/u/11648042?v=3","gravatar_id":"","url":"https://api.github.com/users/camilledel","html_url":"https://github.com/camilledel","followers_url":"https://api.github.com/users/camilledel/followers","following_url":"https://api.github.com/users/camilledel/following{/other_user}","gists_url":"https://api.github.com/users/camilledel/gists{/gist_id}","starred_url":"https://api.github.com/users/camilledel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/camilledel/subscriptions","organizations_url":"https://api.github.com/users/camilledel/orgs","repos_url":"https://api.github.com/users/camilledel/repos","events_url":"https://api.github.com/users/camilledel/events{/privacy}","received_events_url":"https://api.github.com/users/camilledel/received_events","type":"User","site_admin":false},"body":"Closes #627\r\n\r\nScreenshot:\r\n![capture d ecran 2017-05-05 a 18 35 11](https://cloud.githubusercontent.com/assets/11648042/25755022/a0e915a2-31c1-11e7-94c2-5b299ba9784c.png)\r\n\r\nTODO:\r\n\r\n- [ ] Tests\r\n- [x] Changelog\r\n","created_at":"2017-05-05T16:34:47Z","updated_at":"2017-05-23T09:04:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7738c6cf2ae5def452346dea3b1d9c388aaca88e","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/KissKissBankBank/kitten/pulls/638/commits","review_comments_url":"https://api.github.com/repos/KissKissBankBank/kitten/pulls/638/comments","review_comment_url":"https://api.github.com/repos/KissKissBankBank/kitten/pulls/comments{/number}","comments_url":"https://api.github.com/repos/KissKissBankBank/kitten/issues/638/comments","statuses_url":"https://api.github.com/repos/KissKissBankBank/kitten/statuses/8ebe1b255e7107004471a3d667a2efc12cd6a71e","head":{"label":"KissKissBankBank:feature/project-creator-card-component","ref":"feature/project-creator-card-component","sha":"8ebe1b255e7107004471a3d667a2efc12cd6a71e","user":{"login":"KissKissBankBank","id":6039709,"avatar_url":"https://avatars2.githubusercontent.com/u/6039709?v=3","gravatar_id":"","url":"https://api.github.com/users/KissKissBankBank","html_url":"https://github.com/KissKissBankBank","followers_url":"https://api.github.com/users/KissKissBankBank/followers","following_url":"https://api.github.com/users/KissKissBankBank/following{/other_user}","gists_url":"https://api.github.com/users/KissKissBankBank/gists{/gist_id}","starred_url":"https://api.github.com/users/KissKissBankBank/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KissKissBankBank/subscriptions","organizations_url":"https://api.github.com/users/KissKissBankBank/orgs","repos_url":"https://api.github.com/users/KissKissBankBank/repos","events_url":"https://api.github.com/users/KissKissBankBank/events{/privacy}","received_events_url":"https://api.github.com/users/KissKissBankBank/received_events","type":"Organization","site_admin":false},"repo":{"id":61292012,"name":"kitten","full_name":"KissKissBankBank/kitten","owner":{"login":"KissKissBankBank","id":6039709,"avatar_url":"https://avatars2.githubusercontent.com/u/6039709?v=3","gravatar_id":"","url":"https://api.github.com/users/KissKissBankBank","html_url":"https://github.com/KissKissBankBank","followers_url":"https://api.github.com/users/KissKissBankBank/followers","following_url":"https://api.github.com/users/KissKissBankBank/following{/other_user}","gists_url":"https://api.github.com/users/KissKissBankBank/gists{/gist_id}","starred_url":"https://api.github.com/users/KissKissBankBank/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KissKissBankBank/subscriptions","organizations_url":"https://api.github.com/users/KissKissBankBank/orgs","repos_url":"https://api.github.com/users/KissKissBankBank/repos","events_url":"https://api.github.com/users/KissKissBankBank/events{/privacy}","received_events_url":"https://api.github.com/users/KissKissBankBank/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/KissKissBankBank/kitten","description":"KissKissBankBank's front-end components library","fork":false,"url":"https://api.github.com/repos/KissKissBankBank/kitten","forks_url":"https://api.github.com/repos/KissKissBankBank/kitten/forks","keys_url":"https://api.github.com/repos/KissKissBankBank/kitten/keys{/key_id}","collaborators_url":"https://api.github.com/repos/KissKissBankBank/kitten/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/KissKissBankBank/kitten/teams","hooks_url":"https://api.github.com/repos/KissKissBankBank/kitten/hooks","issue_events_url":"https://api.github.com/repos/KissKissBankBank/kitten/issues/events{/number}","events_url":"https://api.github.com/repos/KissKissBankBank/kitten/events","assignees_url":"https://api.github.com/repos/KissKissBankBank/kitten/assignees{/user}","branches_url":"https://api.github.com/repos/KissKissBankBank/kitten/branches{/branch}","tags_url":"https://api.github.com/repos/KissKissBankBank/kitten/tags","blobs_url":"https://api.github.com/repos/KissKissBankBank/kitten/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/KissKissBankBank/kitten/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/KissKissBankBank/kitten/git/refs{/sha}","trees_url":"https://api.github.com/repos/KissKissBankBank/kitten/git/trees{/sha}","statuses_url":"https://api.github.com/repos/KissKissBankBank/kitten/statuses/{sha}","languages_url":"https://api.github.com/repos/KissKissBankBank/kitten/languages","stargazers_url":"https://api.github.com/repos/KissKissBankBank/kitten/stargazers","contributors_url":"https://api.github.com/repos/KissKissBankBank/kitten/contributors","subscribers_url":"https://api.github.com/repos/KissKissBankBank/kitten/subscribers","subscription_url":"https://api.github.com/repos/KissKissBankBank/kitten/subscription","commits_url":"https://api.github.com/repos/KissKissBankBank/kitten/commits{/sha}","git_commits_url":"https://api.github.com/repos/KissKissBankBank/kitten/git/commits{/sha}","comments_url":"https://api.github.com/repos/KissKissBankBank/kitten/comments{/number}","issue_comment_url":"https://api.github.com/repos/KissKissBankBank/kitten/issues/comments{/number}","contents_url":"https://api.github.com/repos/KissKissBankBank/kitten/contents/{+path}","compare_url":"https://api.github.com/repos/KissKissBankBank/kitten/compare/{base}...{head}","merges_url":"https://api.github.com/repos/KissKissBankBank/kitten/merges","archive_url":"https://api.github.com/repos/KissKissBankBank/kitten/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/KissKissBankBank/kitten/downloads","issues_url":"https://api.github.com/repos/KissKissBankBank/kitten/issues{/number}","pulls_url":"https://api.github.com/repos/KissKissBankBank/kitten/pulls{/number}","milestones_url":"https://api.github.com/repos/KissKissBankBank/kitten/milestones{/number}","notifications_url":"https://api.github.com/repos/KissKissBankBank/kitten/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/KissKissBankBank/kitten/labels{/name}","releases_url":"https://api.github.com/repos/KissKissBankBank/kitten/releases{/id}","deployments_url":"https://api.github.com/repos/KissKissBankBank/kitten/deployments","created_at":"2016-06-16T12:46:14Z","updated_at":"2017-05-16T12:43:29Z","pushed_at":"2017-05-22T17:08:28Z","git_url":"git://github.com/KissKissBankBank/kitten.git","ssh_url":"git@github.com:KissKissBankBank/kitten.git","clone_url":"https://github.com/KissKissBankBank/kitten.git","svn_url":"https://github.com/KissKissBankBank/kitten","homepage":"","size":1953,"stargazers_count":3,"watchers_count":3,"language":"HTML","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":54,"forks":0,"open_issues":54,"watchers":3,"default_branch":"master"}},"base":{"label":"KissKissBankBank:master","ref":"master","sha":"2350400862229c8b8fe1779c7d2747e5aea7104b","user":{"login":"KissKissBankBank","id":6039709,"avatar_url":"https://avatars2.githubusercontent.com/u/6039709?v=3","gravatar_id":"","url":"https://api.github.com/users/KissKissBankBank","html_url":"https://github.com/KissKissBankBank","followers_url":"https://api.github.com/users/KissKissBankBank/followers","following_url":"https://api.github.com/users/KissKissBankBank/following{/other_user}","gists_url":"https://api.github.com/users/KissKissBankBank/gists{/gist_id}","starred_url":"https://api.github.com/users/KissKissBankBank/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KissKissBankBank/subscriptions","organizations_url":"https://api.github.com/users/KissKissBankBank/orgs","repos_url":"https://api.github.com/users/KissKissBankBank/repos","events_url":"https://api.github.com/users/KissKissBankBank/events{/privacy}","received_events_url":"https://api.github.com/users/KissKissBankBank/received_events","type":"Organization","site_admin":false},"repo":{"id":61292012,"name":"kitten","full_name":"KissKissBankBank/kitten","owner":{"login":"KissKissBankBank","id":6039709,"avatar_url":"https://avatars2.githubusercontent.com/u/6039709?v=3","gravatar_id":"","url":"https://api.github.com/users/KissKissBankBank","html_url":"https://github.com/KissKissBankBank","followers_url":"https://api.github.com/users/KissKissBankBank/followers","following_url":"https://api.github.com/users/KissKissBankBank/following{/other_user}","gists_url":"https://api.github.com/users/KissKissBankBank/gists{/gist_id}","starred_url":"https://api.github.com/users/KissKissBankBank/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KissKissBankBank/subscriptions","organizations_url":"https://api.github.com/users/KissKissBankBank/orgs","repos_url":"https://api.github.com/users/KissKissBankBank/repos","events_url":"https://api.github.com/users/KissKissBankBank/events{/privacy}","received_events_url":"https://api.github.com/users/KissKissBankBank/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/KissKissBankBank/kitten","description":"KissKissBankBank's front-end components library","fork":false,"url":"https://api.github.com/repos/KissKissBankBank/kitten","forks_url":"https://api.github.com/repos/KissKissBankBank/kitten/forks","keys_url":"https://api.github.com/repos/KissKissBankBank/kitten/keys{/key_id}","collaborators_url":"https://api.github.com/repos/KissKissBankBank/kitten/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/KissKissBankBank/kitten/teams","hooks_url":"https://api.github.com/repos/KissKissBankBank/kitten/hooks","issue_events_url":"https://api.github.com/repos/KissKissBankBank/kitten/issues/events{/number}","events_url":"https://api.github.com/repos/KissKissBankBank/kitten/events","assignees_url":"https://api.github.com/repos/KissKissBankBank/kitten/assignees{/user}","branches_url":"https://api.github.com/repos/KissKissBankBank/kitten/branches{/branch}","tags_url":"https://api.github.com/repos/KissKissBankBank/kitten/tags","blobs_url":"https://api.github.com/repos/KissKissBankBank/kitten/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/KissKissBankBank/kitten/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/KissKissBankBank/kitten/git/refs{/sha}","trees_url":"https://api.github.com/repos/KissKissBankBank/kitten/git/trees{/sha}","statuses_url":"https://api.github.com/repos/KissKissBankBank/kitten/statuses/{sha}","languages_url":"https://api.github.com/repos/KissKissBankBank/kitten/languages","stargazers_url":"https://api.github.com/repos/KissKissBankBank/kitten/stargazers","contributors_url":"https://api.github.com/repos/KissKissBankBank/kitten/contributors","subscribers_url":"https://api.github.com/repos/KissKissBankBank/kitten/subscribers","subscription_url":"https://api.github.com/repos/KissKissBankBank/kitten/subscription","commits_url":"https://api.github.com/repos/KissKissBankBank/kitten/commits{/sha}","git_commits_url":"https://api.github.com/repos/KissKissBankBank/kitten/git/commits{/sha}","comments_url":"https://api.github.com/repos/KissKissBankBank/kitten/comments{/number}","issue_comment_url":"https://api.github.com/repos/KissKissBankBank/kitten/issues/comments{/number}","contents_url":"https://api.github.com/repos/KissKissBankBank/kitten/contents/{+path}","compare_url":"https://api.github.com/repos/KissKissBankBank/kitten/compare/{base}...{head}","merges_url":"https://api.github.com/repos/KissKissBankBank/kitten/merges","archive_url":"https://api.github.com/repos/KissKissBankBank/kitten/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/KissKissBankBank/kitten/downloads","issues_url":"https://api.github.com/repos/KissKissBankBank/kitten/issues{/number}","pulls_url":"https://api.github.com/repos/KissKissBankBank/kitten/pulls{/number}","milestones_url":"https://api.github.com/repos/KissKissBankBank/kitten/milestones{/number}","notifications_url":"https://api.github.com/repos/KissKissBankBank/kitten/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/KissKissBankBank/kitten/labels{/name}","releases_url":"https://api.github.com/repos/KissKissBankBank/kitten/releases{/id}","deployments_url":"https://api.github.com/repos/KissKissBankBank/kitten/deployments","created_at":"2016-06-16T12:46:14Z","updated_at":"2017-05-16T12:43:29Z","pushed_at":"2017-05-22T17:08:28Z","git_url":"git://github.com/KissKissBankBank/kitten.git","ssh_url":"git@github.com:KissKissBankBank/kitten.git","clone_url":"https://github.com/KissKissBankBank/kitten.git","svn_url":"https://github.com/KissKissBankBank/kitten","homepage":"","size":1953,"stargazers_count":3,"watchers_count":3,"language":"HTML","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":54,"forks":0,"open_issues":54,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/KissKissBankBank/kitten/pulls/638"},"html":{"href":"https://github.com/KissKissBankBank/kitten/pull/638"},"issue":{"href":"https://api.github.com/repos/KissKissBankBank/kitten/issues/638"},"comments":{"href":"https://api.github.com/repos/KissKissBankBank/kitten/issues/638/comments"},"review_comments":{"href":"https://api.github.com/repos/KissKissBankBank/kitten/pulls/638/comments"},"review_comment":{"href":"https://api.github.com/repos/KissKissBankBank/kitten/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/KissKissBankBank/kitten/pulls/638/commits"},"statuses":{"href":"https://api.github.com/repos/KissKissBankBank/kitten/statuses/8ebe1b255e7107004471a3d667a2efc12cd6a71e"}}}}
{"actor":{"display_login":"LanF3usT"}}