{"action":"created","comment":{"url":"https://api.github.com/repos/holidayextras/sb-react-basket/pulls/comments/66922391","id":66922391,"diff_hunk":"@@ -0,0 +1,26 @@\n+'use strict';\n+\n+const React = require('react');\n+const Rating = require('../../shared/rating/Rating.jsx');\n+const css = require('./hotel.scss');\n+\n+const Hotel = ({ name, ratings, checkIn, checkOut }) => {\n+  return (\n+    <div className=\"basket_item basket_item-hotel\">\n+      <h2>Hotel</h2>\n+      <p>{name}</p>\n+      <Rating rating={ratings.star} />\n+      <p>Check In: {checkIn}</p>\n+      <p>Check Out: {checkOut}</p>\n+    </div>\n+  );\n+};\n+Hotel.propTypes = {\n+  name: React.PropTypes.string.isRequired,\n+  ratings: React.PropTypes.shape({","path":"components/basket/hotel/Hotel.jsx","position":20,"original_position":20,"commit_id":"b7c68a3283645eafd586e7e5aa5137f839e8eb1d","original_commit_id":"0cf41d7ce7ae2e93d7727284486609f1c3adf41b","user":{"login":"taijuten","id":4288526,"avatar_url":"https://avatars.githubusercontent.com/u/4288526?v=3","gravatar_id":"","url":"https://api.github.com/users/taijuten","html_url":"https://github.com/taijuten","followers_url":"https://api.github.com/users/taijuten/followers","following_url":"https://api.github.com/users/taijuten/following{/other_user}","gists_url":"https://api.github.com/users/taijuten/gists{/gist_id}","starred_url":"https://api.github.com/users/taijuten/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/taijuten/subscriptions","organizations_url":"https://api.github.com/users/taijuten/orgs","repos_url":"https://api.github.com/users/taijuten/repos","events_url":"https://api.github.com/users/taijuten/events{/privacy}","received_events_url":"https://api.github.com/users/taijuten/received_events","type":"User","site_admin":false},"body":"The reasoning for this is that our actual schema has multiple `ratings`. Sorry it's not shown well in this example.","created_at":"2016-06-14T07:45:04Z","updated_at":"2016-06-14T07:45:04Z","html_url":"https://github.com/holidayextras/sb-react-basket/pull/1#discussion_r66922391","pull_request_url":"https://api.github.com/repos/holidayextras/sb-react-basket/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/holidayextras/sb-react-basket/pulls/comments/66922391"},"html":{"href":"https://github.com/holidayextras/sb-react-basket/pull/1#discussion_r66922391"},"pull_request":{"href":"https://api.github.com/repos/holidayextras/sb-react-basket/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/holidayextras/sb-react-basket/pulls/1","id":71712393,"html_url":"https://github.com/holidayextras/sb-react-basket/pull/1","diff_url":"https://github.com/holidayextras/sb-react-basket/pull/1.diff","patch_url":"https://github.com/holidayextras/sb-react-basket/pull/1.patch","issue_url":"https://api.github.com/repos/holidayextras/sb-react-basket/issues/1","number":1,"state":"open","locked":false,"title":"Shortbreaks React Basket - First Iteration","user":{"login":"taijuten","id":4288526,"avatar_url":"https://avatars.githubusercontent.com/u/4288526?v=3","gravatar_id":"","url":"https://api.github.com/users/taijuten","html_url":"https://github.com/taijuten","followers_url":"https://api.github.com/users/taijuten/followers","following_url":"https://api.github.com/users/taijuten/following{/other_user}","gists_url":"https://api.github.com/users/taijuten/gists{/gist_id}","starred_url":"https://api.github.com/users/taijuten/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/taijuten/subscriptions","organizations_url":"https://api.github.com/users/taijuten/orgs","repos_url":"https://api.github.com/users/taijuten/repos","events_url":"https://api.github.com/users/taijuten/events{/privacy}","received_events_url":"https://api.github.com/users/taijuten/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-05-27T13:25:31Z","updated_at":"2016-06-14T07:45:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7b0e52ef2333edde7b05fc250f0d483da4173ccd","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/holidayextras/sb-react-basket/pulls/1/commits","review_comments_url":"https://api.github.com/repos/holidayextras/sb-react-basket/pulls/1/comments","review_comment_url":"https://api.github.com/repos/holidayextras/sb-react-basket/pulls/comments{/number}","comments_url":"https://api.github.com/repos/holidayextras/sb-react-basket/issues/1/comments","statuses_url":"https://api.github.com/repos/holidayextras/sb-react-basket/statuses/b7c68a3283645eafd586e7e5aa5137f839e8eb1d","head":{"label":"holidayextras:initial_react_attempt","ref":"initial_react_attempt","sha":"b7c68a3283645eafd586e7e5aa5137f839e8eb1d","user":{"login":"holidayextras","id":286993,"avatar_url":"https://avatars.githubusercontent.com/u/286993?v=3","gravatar_id":"","url":"https://api.github.com/users/holidayextras","html_url":"https://github.com/holidayextras","followers_url":"https://api.github.com/users/holidayextras/followers","following_url":"https://api.github.com/users/holidayextras/following{/other_user}","gists_url":"https://api.github.com/users/holidayextras/gists{/gist_id}","starred_url":"https://api.github.com/users/holidayextras/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/holidayextras/subscriptions","organizations_url":"https://api.github.com/users/holidayextras/orgs","repos_url":"https://api.github.com/users/holidayextras/repos","events_url":"https://api.github.com/users/holidayextras/events{/privacy}","received_events_url":"https://api.github.com/users/holidayextras/received_events","type":"Organization","site_admin":false},"repo":{"id":59835839,"name":"sb-react-basket","full_name":"holidayextras/sb-react-basket","owner":{"login":"holidayextras","id":286993,"avatar_url":"https://avatars.githubusercontent.com/u/286993?v=3","gravatar_id":"","url":"https://api.github.com/users/holidayextras","html_url":"https://github.com/holidayextras","followers_url":"https://api.github.com/users/holidayextras/followers","following_url":"https://api.github.com/users/holidayextras/following{/other_user}","gists_url":"https://api.github.com/users/holidayextras/gists{/gist_id}","starred_url":"https://api.github.com/users/holidayextras/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/holidayextras/subscriptions","organizations_url":"https://api.github.com/users/holidayextras/orgs","repos_url":"https://api.github.com/users/holidayextras/repos","events_url":"https://api.github.com/users/holidayextras/events{/privacy}","received_events_url":"https://api.github.com/users/holidayextras/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/holidayextras/sb-react-basket","description":"","fork":false,"url":"https://api.github.com/repos/holidayextras/sb-react-basket","forks_url":"https://api.github.com/repos/holidayextras/sb-react-basket/forks","keys_url":"https://api.github.com/repos/holidayextras/sb-react-basket/keys{/key_id}","collaborators_url":"https://api.github.com/repos/holidayextras/sb-react-basket/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/holidayextras/sb-react-basket/teams","hooks_url":"https://api.github.com/repos/holidayextras/sb-react-basket/hooks","issue_events_url":"https://api.github.com/repos/holidayextras/sb-react-basket/issues/events{/number}","events_url":"https://api.github.com/repos/holidayextras/sb-react-basket/events","assignees_url":"https://api.github.com/repos/holidayextras/sb-react-basket/assignees{/user}","branches_url":"https://api.github.com/repos/holidayextras/sb-react-basket/branches{/branch}","tags_url":"https://api.github.com/repos/holidayextras/sb-react-basket/tags","blobs_url":"https://api.github.com/repos/holidayextras/sb-react-basket/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/holidayextras/sb-react-basket/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/holidayextras/sb-react-basket/git/refs{/sha}","trees_url":"https://api.github.com/repos/holidayextras/sb-react-basket/git/trees{/sha}","statuses_url":"https://api.github.com/repos/holidayextras/sb-react-basket/statuses/{sha}","languages_url":"https://api.github.com/repos/holidayextras/sb-react-basket/languages","stargazers_url":"https://api.github.com/repos/holidayextras/sb-react-basket/stargazers","contributors_url":"https://api.github.com/repos/holidayextras/sb-react-basket/contributors","subscribers_url":"https://api.github.com/repos/holidayextras/sb-react-basket/subscribers","subscription_url":"https://api.github.com/repos/holidayextras/sb-react-basket/subscription","commits_url":"https://api.github.com/repos/holidayextras/sb-react-basket/commits{/sha}","git_commits_url":"https://api.github.com/repos/holidayextras/sb-react-basket/git/commits{/sha}","comments_url":"https://api.github.com/repos/holidayextras/sb-react-basket/comments{/number}","issue_comment_url":"https://api.github.com/repos/holidayextras/sb-react-basket/issues/comments{/number}","contents_url":"https://api.github.com/repos/holidayextras/sb-react-basket/contents/{+path}","compare_url":"https://api.github.com/repos/holidayextras/sb-react-basket/compare/{base}...{head}","merges_url":"https://api.github.com/repos/holidayextras/sb-react-basket/merges","archive_url":"https://api.github.com/repos/holidayextras/sb-react-basket/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/holidayextras/sb-react-basket/downloads","issues_url":"https://api.github.com/repos/holidayextras/sb-react-basket/issues{/number}","pulls_url":"https://api.github.com/repos/holidayextras/sb-react-basket/pulls{/number}","milestones_url":"https://api.github.com/repos/holidayextras/sb-react-basket/milestones{/number}","notifications_url":"https://api.github.com/repos/holidayextras/sb-react-basket/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/holidayextras/sb-react-basket/labels{/name}","releases_url":"https://api.github.com/repos/holidayextras/sb-react-basket/releases{/id}","deployments_url":"https://api.github.com/repos/holidayextras/sb-react-basket/deployments","created_at":"2016-05-27T13:20:58Z","updated_at":"2016-05-27T13:20:58Z","pushed_at":"2016-06-14T07:22:11Z","git_url":"git://github.com/holidayextras/sb-react-basket.git","ssh_url":"git@github.com:holidayextras/sb-react-basket.git","clone_url":"https://github.com/holidayextras/sb-react-basket.git","svn_url":"https://github.com/holidayextras/sb-react-basket","homepage":null,"size":28,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"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":"holidayextras:master","ref":"master","sha":"d4d6a1e684d0bf2896594bd9c64c2d235cd35814","user":{"login":"holidayextras","id":286993,"avatar_url":"https://avatars.githubusercontent.com/u/286993?v=3","gravatar_id":"","url":"https://api.github.com/users/holidayextras","html_url":"https://github.com/holidayextras","followers_url":"https://api.github.com/users/holidayextras/followers","following_url":"https://api.github.com/users/holidayextras/following{/other_user}","gists_url":"https://api.github.com/users/holidayextras/gists{/gist_id}","starred_url":"https://api.github.com/users/holidayextras/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/holidayextras/subscriptions","organizations_url":"https://api.github.com/users/holidayextras/orgs","repos_url":"https://api.github.com/users/holidayextras/repos","events_url":"https://api.github.com/users/holidayextras/events{/privacy}","received_events_url":"https://api.github.com/users/holidayextras/received_events","type":"Organization","site_admin":false},"repo":{"id":59835839,"name":"sb-react-basket","full_name":"holidayextras/sb-react-basket","owner":{"login":"holidayextras","id":286993,"avatar_url":"https://avatars.githubusercontent.com/u/286993?v=3","gravatar_id":"","url":"https://api.github.com/users/holidayextras","html_url":"https://github.com/holidayextras","followers_url":"https://api.github.com/users/holidayextras/followers","following_url":"https://api.github.com/users/holidayextras/following{/other_user}","gists_url":"https://api.github.com/users/holidayextras/gists{/gist_id}","starred_url":"https://api.github.com/users/holidayextras/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/holidayextras/subscriptions","organizations_url":"https://api.github.com/users/holidayextras/orgs","repos_url":"https://api.github.com/users/holidayextras/repos","events_url":"https://api.github.com/users/holidayextras/events{/privacy}","received_events_url":"https://api.github.com/users/holidayextras/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/holidayextras/sb-react-basket","description":"","fork":false,"url":"https://api.github.com/repos/holidayextras/sb-react-basket","forks_url":"https://api.github.com/repos/holidayextras/sb-react-basket/forks","keys_url":"https://api.github.com/repos/holidayextras/sb-react-basket/keys{/key_id}","collaborators_url":"https://api.github.com/repos/holidayextras/sb-react-basket/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/holidayextras/sb-react-basket/teams","hooks_url":"https://api.github.com/repos/holidayextras/sb-react-basket/hooks","issue_events_url":"https://api.github.com/repos/holidayextras/sb-react-basket/issues/events{/number}","events_url":"https://api.github.com/repos/holidayextras/sb-react-basket/events","assignees_url":"https://api.github.com/repos/holidayextras/sb-react-basket/assignees{/user}","branches_url":"https://api.github.com/repos/holidayextras/sb-react-basket/branches{/branch}","tags_url":"https://api.github.com/repos/holidayextras/sb-react-basket/tags","blobs_url":"https://api.github.com/repos/holidayextras/sb-react-basket/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/holidayextras/sb-react-basket/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/holidayextras/sb-react-basket/git/refs{/sha}","trees_url":"https://api.github.com/repos/holidayextras/sb-react-basket/git/trees{/sha}","statuses_url":"https://api.github.com/repos/holidayextras/sb-react-basket/statuses/{sha}","languages_url":"https://api.github.com/repos/holidayextras/sb-react-basket/languages","stargazers_url":"https://api.github.com/repos/holidayextras/sb-react-basket/stargazers","contributors_url":"https://api.github.com/repos/holidayextras/sb-react-basket/contributors","subscribers_url":"https://api.github.com/repos/holidayextras/sb-react-basket/subscribers","subscription_url":"https://api.github.com/repos/holidayextras/sb-react-basket/subscription","commits_url":"https://api.github.com/repos/holidayextras/sb-react-basket/commits{/sha}","git_commits_url":"https://api.github.com/repos/holidayextras/sb-react-basket/git/commits{/sha}","comments_url":"https://api.github.com/repos/holidayextras/sb-react-basket/comments{/number}","issue_comment_url":"https://api.github.com/repos/holidayextras/sb-react-basket/issues/comments{/number}","contents_url":"https://api.github.com/repos/holidayextras/sb-react-basket/contents/{+path}","compare_url":"https://api.github.com/repos/holidayextras/sb-react-basket/compare/{base}...{head}","merges_url":"https://api.github.com/repos/holidayextras/sb-react-basket/merges","archive_url":"https://api.github.com/repos/holidayextras/sb-react-basket/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/holidayextras/sb-react-basket/downloads","issues_url":"https://api.github.com/repos/holidayextras/sb-react-basket/issues{/number}","pulls_url":"https://api.github.com/repos/holidayextras/sb-react-basket/pulls{/number}","milestones_url":"https://api.github.com/repos/holidayextras/sb-react-basket/milestones{/number}","notifications_url":"https://api.github.com/repos/holidayextras/sb-react-basket/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/holidayextras/sb-react-basket/labels{/name}","releases_url":"https://api.github.com/repos/holidayextras/sb-react-basket/releases{/id}","deployments_url":"https://api.github.com/repos/holidayextras/sb-react-basket/deployments","created_at":"2016-05-27T13:20:58Z","updated_at":"2016-05-27T13:20:58Z","pushed_at":"2016-06-14T07:22:11Z","git_url":"git://github.com/holidayextras/sb-react-basket.git","ssh_url":"git@github.com:holidayextras/sb-react-basket.git","clone_url":"https://github.com/holidayextras/sb-react-basket.git","svn_url":"https://github.com/holidayextras/sb-react-basket","homepage":null,"size":28,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/holidayextras/sb-react-basket/pulls/1"},"html":{"href":"https://github.com/holidayextras/sb-react-basket/pull/1"},"issue":{"href":"https://api.github.com/repos/holidayextras/sb-react-basket/issues/1"},"comments":{"href":"https://api.github.com/repos/holidayextras/sb-react-basket/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/holidayextras/sb-react-basket/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/holidayextras/sb-react-basket/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/holidayextras/sb-react-basket/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/holidayextras/sb-react-basket/statuses/b7c68a3283645eafd586e7e5aa5137f839e8eb1d"}}}}
{"actor":{"display_login":"taijuten"}}