{"action":"opened","number":102,"pull_request":{"url":"https://api.github.com/repos/intljusticemission/react-big-calendar/pulls/102","id":71806933,"html_url":"https://github.com/intljusticemission/react-big-calendar/pull/102","diff_url":"https://github.com/intljusticemission/react-big-calendar/pull/102.diff","patch_url":"https://github.com/intljusticemission/react-big-calendar/pull/102.patch","issue_url":"https://api.github.com/repos/intljusticemission/react-big-calendar/issues/102","number":102,"state":"open","locked":false,"title":"Implement unified TimeGutter in Week and Day view using refactored code","user":{"login":"cellog","id":98250,"avatar_url":"https://avatars.githubusercontent.com/u/98250?v=3","gravatar_id":"","url":"https://api.github.com/users/cellog","html_url":"https://github.com/cellog","followers_url":"https://api.github.com/users/cellog/followers","following_url":"https://api.github.com/users/cellog/following{/other_user}","gists_url":"https://api.github.com/users/cellog/gists{/gist_id}","starred_url":"https://api.github.com/users/cellog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cellog/subscriptions","organizations_url":"https://api.github.com/users/cellog/orgs","repos_url":"https://api.github.com/users/cellog/repos","events_url":"https://api.github.com/users/cellog/events{/privacy}","received_events_url":"https://api.github.com/users/cellog/received_events","type":"User","site_admin":false},"body":"changes:\r\n\r\n1. re-factored TimeSlice/TimeSliceGroup in TimeGutter removes some loop code in favor of mapping, makes selection easier to implement\r\n2. re-factored DaySlot uses same code as TimeGutter to generate html\r\n3. re-factored selection code reduces code size substantially, separates concerns (selection is not handled within components, but with higher-order components Selection and Selectable)\r\n4. otherwise, it's the same!  Visually functioning the same way, external API identical\r\n\r\nPotential API to expose:\r\n\r\n1. because the selection is now configurable, it is possible to expose the function for creating the selection div\r\n2. time slices, can make smaller slices (up to 5 per group) default is 2\r\n3. rather than using new Date() for now, we should pass this as a prop, with default value of new Date().  Makes the component slightly more pure.\r\n\r\npotential bugs to fix (pre-existing behavior):\r\n\r\n1. selection of the all-day slots doesn't do anything (and never did).  Perhaps we need to expose onSelectAllDay?\r\n2. react/react-dom can be upgraded to 15.1.0.  I left that for you to decide, I don't use anything here that breaks in earlier versions to my knowledge\r\n\r\nP.S. had a nice vacation, hope your week was good :)","created_at":"2016-05-28T17:10:12Z","updated_at":"2016-05-28T17:10:12Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/intljusticemission/react-big-calendar/pulls/102/commits","review_comments_url":"https://api.github.com/repos/intljusticemission/react-big-calendar/pulls/102/comments","review_comment_url":"https://api.github.com/repos/intljusticemission/react-big-calendar/pulls/comments{/number}","comments_url":"https://api.github.com/repos/intljusticemission/react-big-calendar/issues/102/comments","statuses_url":"https://api.github.com/repos/intljusticemission/react-big-calendar/statuses/38d5df13f990127c23d87e0cc69a0439a4ccad72","head":{"label":"cellog:streamline","ref":"streamline","sha":"38d5df13f990127c23d87e0cc69a0439a4ccad72","user":{"login":"cellog","id":98250,"avatar_url":"https://avatars.githubusercontent.com/u/98250?v=3","gravatar_id":"","url":"https://api.github.com/users/cellog","html_url":"https://github.com/cellog","followers_url":"https://api.github.com/users/cellog/followers","following_url":"https://api.github.com/users/cellog/following{/other_user}","gists_url":"https://api.github.com/users/cellog/gists{/gist_id}","starred_url":"https://api.github.com/users/cellog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cellog/subscriptions","organizations_url":"https://api.github.com/users/cellog/orgs","repos_url":"https://api.github.com/users/cellog/repos","events_url":"https://api.github.com/users/cellog/events{/privacy}","received_events_url":"https://api.github.com/users/cellog/received_events","type":"User","site_admin":false},"repo":{"id":58986866,"name":"react-big-calendar","full_name":"cellog/react-big-calendar","owner":{"login":"cellog","id":98250,"avatar_url":"https://avatars.githubusercontent.com/u/98250?v=3","gravatar_id":"","url":"https://api.github.com/users/cellog","html_url":"https://github.com/cellog","followers_url":"https://api.github.com/users/cellog/followers","following_url":"https://api.github.com/users/cellog/following{/other_user}","gists_url":"https://api.github.com/users/cellog/gists{/gist_id}","starred_url":"https://api.github.com/users/cellog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cellog/subscriptions","organizations_url":"https://api.github.com/users/cellog/orgs","repos_url":"https://api.github.com/users/cellog/repos","events_url":"https://api.github.com/users/cellog/events{/privacy}","received_events_url":"https://api.github.com/users/cellog/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cellog/react-big-calendar","description":"gcal/outlook like calendar component","fork":true,"url":"https://api.github.com/repos/cellog/react-big-calendar","forks_url":"https://api.github.com/repos/cellog/react-big-calendar/forks","keys_url":"https://api.github.com/repos/cellog/react-big-calendar/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cellog/react-big-calendar/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cellog/react-big-calendar/teams","hooks_url":"https://api.github.com/repos/cellog/react-big-calendar/hooks","issue_events_url":"https://api.github.com/repos/cellog/react-big-calendar/issues/events{/number}","events_url":"https://api.github.com/repos/cellog/react-big-calendar/events","assignees_url":"https://api.github.com/repos/cellog/react-big-calendar/assignees{/user}","branches_url":"https://api.github.com/repos/cellog/react-big-calendar/branches{/branch}","tags_url":"https://api.github.com/repos/cellog/react-big-calendar/tags","blobs_url":"https://api.github.com/repos/cellog/react-big-calendar/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cellog/react-big-calendar/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cellog/react-big-calendar/git/refs{/sha}","trees_url":"https://api.github.com/repos/cellog/react-big-calendar/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cellog/react-big-calendar/statuses/{sha}","languages_url":"https://api.github.com/repos/cellog/react-big-calendar/languages","stargazers_url":"https://api.github.com/repos/cellog/react-big-calendar/stargazers","contributors_url":"https://api.github.com/repos/cellog/react-big-calendar/contributors","subscribers_url":"https://api.github.com/repos/cellog/react-big-calendar/subscribers","subscription_url":"https://api.github.com/repos/cellog/react-big-calendar/subscription","commits_url":"https://api.github.com/repos/cellog/react-big-calendar/commits{/sha}","git_commits_url":"https://api.github.com/repos/cellog/react-big-calendar/git/commits{/sha}","comments_url":"https://api.github.com/repos/cellog/react-big-calendar/comments{/number}","issue_comment_url":"https://api.github.com/repos/cellog/react-big-calendar/issues/comments{/number}","contents_url":"https://api.github.com/repos/cellog/react-big-calendar/contents/{+path}","compare_url":"https://api.github.com/repos/cellog/react-big-calendar/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cellog/react-big-calendar/merges","archive_url":"https://api.github.com/repos/cellog/react-big-calendar/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cellog/react-big-calendar/downloads","issues_url":"https://api.github.com/repos/cellog/react-big-calendar/issues{/number}","pulls_url":"https://api.github.com/repos/cellog/react-big-calendar/pulls{/number}","milestones_url":"https://api.github.com/repos/cellog/react-big-calendar/milestones{/number}","notifications_url":"https://api.github.com/repos/cellog/react-big-calendar/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cellog/react-big-calendar/labels{/name}","releases_url":"https://api.github.com/repos/cellog/react-big-calendar/releases{/id}","deployments_url":"https://api.github.com/repos/cellog/react-big-calendar/deployments","created_at":"2016-05-17T03:18:44Z","updated_at":"2016-05-17T03:18:44Z","pushed_at":"2016-05-28T17:08:55Z","git_url":"git://github.com/cellog/react-big-calendar.git","ssh_url":"git@github.com:cellog/react-big-calendar.git","clone_url":"https://github.com/cellog/react-big-calendar.git","svn_url":"https://github.com/cellog/react-big-calendar","homepage":null,"size":1101,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"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":"intljusticemission:master","ref":"master","sha":"e5283f168ba67a09d495724bc2892331c6252c96","user":{"login":"intljusticemission","id":5813881,"avatar_url":"https://avatars.githubusercontent.com/u/5813881?v=3","gravatar_id":"","url":"https://api.github.com/users/intljusticemission","html_url":"https://github.com/intljusticemission","followers_url":"https://api.github.com/users/intljusticemission/followers","following_url":"https://api.github.com/users/intljusticemission/following{/other_user}","gists_url":"https://api.github.com/users/intljusticemission/gists{/gist_id}","starred_url":"https://api.github.com/users/intljusticemission/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/intljusticemission/subscriptions","organizations_url":"https://api.github.com/users/intljusticemission/orgs","repos_url":"https://api.github.com/users/intljusticemission/repos","events_url":"https://api.github.com/users/intljusticemission/events{/privacy}","received_events_url":"https://api.github.com/users/intljusticemission/received_events","type":"Organization","site_admin":false},"repo":{"id":41187219,"name":"react-big-calendar","full_name":"intljusticemission/react-big-calendar","owner":{"login":"intljusticemission","id":5813881,"avatar_url":"https://avatars.githubusercontent.com/u/5813881?v=3","gravatar_id":"","url":"https://api.github.com/users/intljusticemission","html_url":"https://github.com/intljusticemission","followers_url":"https://api.github.com/users/intljusticemission/followers","following_url":"https://api.github.com/users/intljusticemission/following{/other_user}","gists_url":"https://api.github.com/users/intljusticemission/gists{/gist_id}","starred_url":"https://api.github.com/users/intljusticemission/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/intljusticemission/subscriptions","organizations_url":"https://api.github.com/users/intljusticemission/orgs","repos_url":"https://api.github.com/users/intljusticemission/repos","events_url":"https://api.github.com/users/intljusticemission/events{/privacy}","received_events_url":"https://api.github.com/users/intljusticemission/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/intljusticemission/react-big-calendar","description":"gcal/outlook like calendar component","fork":false,"url":"https://api.github.com/repos/intljusticemission/react-big-calendar","forks_url":"https://api.github.com/repos/intljusticemission/react-big-calendar/forks","keys_url":"https://api.github.com/repos/intljusticemission/react-big-calendar/keys{/key_id}","collaborators_url":"https://api.github.com/repos/intljusticemission/react-big-calendar/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/intljusticemission/react-big-calendar/teams","hooks_url":"https://api.github.com/repos/intljusticemission/react-big-calendar/hooks","issue_events_url":"https://api.github.com/repos/intljusticemission/react-big-calendar/issues/events{/number}","events_url":"https://api.github.com/repos/intljusticemission/react-big-calendar/events","assignees_url":"https://api.github.com/repos/intljusticemission/react-big-calendar/assignees{/user}","branches_url":"https://api.github.com/repos/intljusticemission/react-big-calendar/branches{/branch}","tags_url":"https://api.github.com/repos/intljusticemission/react-big-calendar/tags","blobs_url":"https://api.github.com/repos/intljusticemission/react-big-calendar/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/intljusticemission/react-big-calendar/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/intljusticemission/react-big-calendar/git/refs{/sha}","trees_url":"https://api.github.com/repos/intljusticemission/react-big-calendar/git/trees{/sha}","statuses_url":"https://api.github.com/repos/intljusticemission/react-big-calendar/statuses/{sha}","languages_url":"https://api.github.com/repos/intljusticemission/react-big-calendar/languages","stargazers_url":"https://api.github.com/repos/intljusticemission/react-big-calendar/stargazers","contributors_url":"https://api.github.com/repos/intljusticemission/react-big-calendar/contributors","subscribers_url":"https://api.github.com/repos/intljusticemission/react-big-calendar/subscribers","subscription_url":"https://api.github.com/repos/intljusticemission/react-big-calendar/subscription","commits_url":"https://api.github.com/repos/intljusticemission/react-big-calendar/commits{/sha}","git_commits_url":"https://api.github.com/repos/intljusticemission/react-big-calendar/git/commits{/sha}","comments_url":"https://api.github.com/repos/intljusticemission/react-big-calendar/comments{/number}","issue_comment_url":"https://api.github.com/repos/intljusticemission/react-big-calendar/issues/comments{/number}","contents_url":"https://api.github.com/repos/intljusticemission/react-big-calendar/contents/{+path}","compare_url":"https://api.github.com/repos/intljusticemission/react-big-calendar/compare/{base}...{head}","merges_url":"https://api.github.com/repos/intljusticemission/react-big-calendar/merges","archive_url":"https://api.github.com/repos/intljusticemission/react-big-calendar/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/intljusticemission/react-big-calendar/downloads","issues_url":"https://api.github.com/repos/intljusticemission/react-big-calendar/issues{/number}","pulls_url":"https://api.github.com/repos/intljusticemission/react-big-calendar/pulls{/number}","milestones_url":"https://api.github.com/repos/intljusticemission/react-big-calendar/milestones{/number}","notifications_url":"https://api.github.com/repos/intljusticemission/react-big-calendar/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/intljusticemission/react-big-calendar/labels{/name}","releases_url":"https://api.github.com/repos/intljusticemission/react-big-calendar/releases{/id}","deployments_url":"https://api.github.com/repos/intljusticemission/react-big-calendar/deployments","created_at":"2015-08-22T02:56:58Z","updated_at":"2016-05-27T09:48:15Z","pushed_at":"2016-05-28T17:10:12Z","git_url":"git://github.com/intljusticemission/react-big-calendar.git","ssh_url":"git@github.com:intljusticemission/react-big-calendar.git","clone_url":"https://github.com/intljusticemission/react-big-calendar.git","svn_url":"https://github.com/intljusticemission/react-big-calendar","homepage":null,"size":1179,"stargazers_count":262,"watchers_count":262,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":64,"mirror_url":null,"open_issues_count":28,"forks":64,"open_issues":28,"watchers":262,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/intljusticemission/react-big-calendar/pulls/102"},"html":{"href":"https://github.com/intljusticemission/react-big-calendar/pull/102"},"issue":{"href":"https://api.github.com/repos/intljusticemission/react-big-calendar/issues/102"},"comments":{"href":"https://api.github.com/repos/intljusticemission/react-big-calendar/issues/102/comments"},"review_comments":{"href":"https://api.github.com/repos/intljusticemission/react-big-calendar/pulls/102/comments"},"review_comment":{"href":"https://api.github.com/repos/intljusticemission/react-big-calendar/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/intljusticemission/react-big-calendar/pulls/102/commits"},"statuses":{"href":"https://api.github.com/repos/intljusticemission/react-big-calendar/statuses/38d5df13f990127c23d87e0cc69a0439a4ccad72"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":37,"additions":1833,"deletions":4,"changed_files":40}}
{"actor":{"display_login":"cellog"}}