{"action":"created","comment":{"url":"https://api.github.com/repos/tidepool-org/viz/pulls/comments/83760625","pull_request_review_id":4582596,"id":83760625,"diff_hunk":"@@ -0,0 +1,50 @@\n+/*\n+ * == BSD2 LICENSE ==\n+ * Copyright (c) 2016, Tidepool Project\n+ *\n+ * This program is free software; you can redistribute it and/or modify it under\n+ * the terms of the associated License, which is identical to the BSD 2-Clause\n+ * License as published by the Open Source Initiative at opensource.org.\n+ *\n+ * This program is distributed in the hope that it will be useful, but WITHOUT\n+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n+ * FOR A PARTICULAR PURPOSE. See the License for more details.\n+ *\n+ * You should have received a copy of the License along with this program; if\n+ * not, you can obtain one from Tidepool Project at tidepool.org.\n+ * == BSD2 LICENSE ==\n+ */\n+\n+import _ from 'lodash';\n+import React, { PropTypes } from 'react';\n+\n+import styles from './NoData.css';\n+\n+const NoData = (props) => {\n+  const noDataMessage = _.template('There is no <%= type %> data for this time period :(');","path":"src/components/trends/common/NoData.js","position":24,"original_position":24,"commit_id":"8e8b2bfc4c74c7f705676c24fe2c6a8479aa3c2c","original_commit_id":"8e8b2bfc4c74c7f705676c24fe2c6a8479aa3c2c","user":{"login":"jebeck","id":1588547,"avatar_url":"https://avatars.githubusercontent.com/u/1588547?v=3","gravatar_id":"","url":"https://api.github.com/users/jebeck","html_url":"https://github.com/jebeck","followers_url":"https://api.github.com/users/jebeck/followers","following_url":"https://api.github.com/users/jebeck/following{/other_user}","gists_url":"https://api.github.com/users/jebeck/gists{/gist_id}","starred_url":"https://api.github.com/users/jebeck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jebeck/subscriptions","organizations_url":"https://api.github.com/users/jebeck/orgs","repos_url":"https://api.github.com/users/jebeck/repos","events_url":"https://api.github.com/users/jebeck/events{/privacy}","received_events_url":"https://api.github.com/users/jebeck/received_events","type":"User","site_admin":false},"body":"Ah, my bad, you can't put a template string in a default prop. Keep the lodash then, but move the template function to a defaultProp plz.","created_at":"2016-10-18T00:09:54Z","updated_at":"2016-10-18T00:09:54Z","html_url":"https://github.com/tidepool-org/viz/pull/19#discussion_r83760625","pull_request_url":"https://api.github.com/repos/tidepool-org/viz/pulls/19","_links":{"self":{"href":"https://api.github.com/repos/tidepool-org/viz/pulls/comments/83760625"},"html":{"href":"https://github.com/tidepool-org/viz/pull/19#discussion_r83760625"},"pull_request":{"href":"https://api.github.com/repos/tidepool-org/viz/pulls/19"}}},"pull_request":{"url":"https://api.github.com/repos/tidepool-org/viz/pulls/19","id":86840721,"html_url":"https://github.com/tidepool-org/viz/pull/19","diff_url":"https://github.com/tidepool-org/viz/pull/19.diff","patch_url":"https://github.com/tidepool-org/viz/pull/19.patch","issue_url":"https://api.github.com/repos/tidepool-org/viz/issues/19","number":19,"state":"open","locked":false,"title":"Missing data message","user":{"login":"jh-bate","id":5168993,"avatar_url":"https://avatars.githubusercontent.com/u/5168993?v=3","gravatar_id":"","url":"https://api.github.com/users/jh-bate","html_url":"https://github.com/jh-bate","followers_url":"https://api.github.com/users/jh-bate/followers","following_url":"https://api.github.com/users/jh-bate/following{/other_user}","gists_url":"https://api.github.com/users/jh-bate/gists{/gist_id}","starred_url":"https://api.github.com/users/jh-bate/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jh-bate/subscriptions","organizations_url":"https://api.github.com/users/jh-bate/orgs","repos_url":"https://api.github.com/users/jh-bate/repos","events_url":"https://api.github.com/users/jh-bate/events{/privacy}","received_events_url":"https://api.github.com/users/jh-bate/received_events","type":"User","site_admin":false},"body":"@jebeck ","created_at":"2016-09-26T23:58:10Z","updated_at":"2016-10-18T00:09:54Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e2f9b03a828136d5a0252d2a22f070c009d5aa39","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/tidepool-org/viz/pulls/19/commits","review_comments_url":"https://api.github.com/repos/tidepool-org/viz/pulls/19/comments","review_comment_url":"https://api.github.com/repos/tidepool-org/viz/pulls/comments{/number}","comments_url":"https://api.github.com/repos/tidepool-org/viz/issues/19/comments","statuses_url":"https://api.github.com/repos/tidepool-org/viz/statuses/8e8b2bfc4c74c7f705676c24fe2c6a8479aa3c2c","head":{"label":"tidepool-org:missing-data-message","ref":"missing-data-message","sha":"8e8b2bfc4c74c7f705676c24fe2c6a8479aa3c2c","user":{"login":"tidepool-org","id":4390820,"avatar_url":"https://avatars.githubusercontent.com/u/4390820?v=3","gravatar_id":"","url":"https://api.github.com/users/tidepool-org","html_url":"https://github.com/tidepool-org","followers_url":"https://api.github.com/users/tidepool-org/followers","following_url":"https://api.github.com/users/tidepool-org/following{/other_user}","gists_url":"https://api.github.com/users/tidepool-org/gists{/gist_id}","starred_url":"https://api.github.com/users/tidepool-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tidepool-org/subscriptions","organizations_url":"https://api.github.com/users/tidepool-org/orgs","repos_url":"https://api.github.com/users/tidepool-org/repos","events_url":"https://api.github.com/users/tidepool-org/events{/privacy}","received_events_url":"https://api.github.com/users/tidepool-org/received_events","type":"Organization","site_admin":false},"repo":{"id":62839276,"name":"viz","full_name":"tidepool-org/viz","owner":{"login":"tidepool-org","id":4390820,"avatar_url":"https://avatars.githubusercontent.com/u/4390820?v=3","gravatar_id":"","url":"https://api.github.com/users/tidepool-org","html_url":"https://github.com/tidepool-org","followers_url":"https://api.github.com/users/tidepool-org/followers","following_url":"https://api.github.com/users/tidepool-org/following{/other_user}","gists_url":"https://api.github.com/users/tidepool-org/gists{/gist_id}","starred_url":"https://api.github.com/users/tidepool-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tidepool-org/subscriptions","organizations_url":"https://api.github.com/users/tidepool-org/orgs","repos_url":"https://api.github.com/users/tidepool-org/repos","events_url":"https://api.github.com/users/tidepool-org/events{/privacy}","received_events_url":"https://api.github.com/users/tidepool-org/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/tidepool-org/viz","description":"Tidepool data visualization for diabetes device data.","fork":false,"url":"https://api.github.com/repos/tidepool-org/viz","forks_url":"https://api.github.com/repos/tidepool-org/viz/forks","keys_url":"https://api.github.com/repos/tidepool-org/viz/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tidepool-org/viz/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tidepool-org/viz/teams","hooks_url":"https://api.github.com/repos/tidepool-org/viz/hooks","issue_events_url":"https://api.github.com/repos/tidepool-org/viz/issues/events{/number}","events_url":"https://api.github.com/repos/tidepool-org/viz/events","assignees_url":"https://api.github.com/repos/tidepool-org/viz/assignees{/user}","branches_url":"https://api.github.com/repos/tidepool-org/viz/branches{/branch}","tags_url":"https://api.github.com/repos/tidepool-org/viz/tags","blobs_url":"https://api.github.com/repos/tidepool-org/viz/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tidepool-org/viz/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tidepool-org/viz/git/refs{/sha}","trees_url":"https://api.github.com/repos/tidepool-org/viz/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tidepool-org/viz/statuses/{sha}","languages_url":"https://api.github.com/repos/tidepool-org/viz/languages","stargazers_url":"https://api.github.com/repos/tidepool-org/viz/stargazers","contributors_url":"https://api.github.com/repos/tidepool-org/viz/contributors","subscribers_url":"https://api.github.com/repos/tidepool-org/viz/subscribers","subscription_url":"https://api.github.com/repos/tidepool-org/viz/subscription","commits_url":"https://api.github.com/repos/tidepool-org/viz/commits{/sha}","git_commits_url":"https://api.github.com/repos/tidepool-org/viz/git/commits{/sha}","comments_url":"https://api.github.com/repos/tidepool-org/viz/comments{/number}","issue_comment_url":"https://api.github.com/repos/tidepool-org/viz/issues/comments{/number}","contents_url":"https://api.github.com/repos/tidepool-org/viz/contents/{+path}","compare_url":"https://api.github.com/repos/tidepool-org/viz/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tidepool-org/viz/merges","archive_url":"https://api.github.com/repos/tidepool-org/viz/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tidepool-org/viz/downloads","issues_url":"https://api.github.com/repos/tidepool-org/viz/issues{/number}","pulls_url":"https://api.github.com/repos/tidepool-org/viz/pulls{/number}","milestones_url":"https://api.github.com/repos/tidepool-org/viz/milestones{/number}","notifications_url":"https://api.github.com/repos/tidepool-org/viz/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tidepool-org/viz/labels{/name}","releases_url":"https://api.github.com/repos/tidepool-org/viz/releases{/id}","deployments_url":"https://api.github.com/repos/tidepool-org/viz/deployments","created_at":"2016-07-07T21:30:33Z","updated_at":"2016-07-11T20:07:44Z","pushed_at":"2016-10-17T23:11:22Z","git_url":"git://github.com/tidepool-org/viz.git","ssh_url":"git@github.com:tidepool-org/viz.git","clone_url":"https://github.com/tidepool-org/viz.git","svn_url":"https://github.com/tidepool-org/viz","homepage":"","size":572,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":5,"forks":0,"open_issues":5,"watchers":0,"default_branch":"master"}},"base":{"label":"tidepool-org:port-smbg-trends","ref":"port-smbg-trends","sha":"fb656ed575026bbd94b96e582565b3f47d93f33c","user":{"login":"tidepool-org","id":4390820,"avatar_url":"https://avatars.githubusercontent.com/u/4390820?v=3","gravatar_id":"","url":"https://api.github.com/users/tidepool-org","html_url":"https://github.com/tidepool-org","followers_url":"https://api.github.com/users/tidepool-org/followers","following_url":"https://api.github.com/users/tidepool-org/following{/other_user}","gists_url":"https://api.github.com/users/tidepool-org/gists{/gist_id}","starred_url":"https://api.github.com/users/tidepool-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tidepool-org/subscriptions","organizations_url":"https://api.github.com/users/tidepool-org/orgs","repos_url":"https://api.github.com/users/tidepool-org/repos","events_url":"https://api.github.com/users/tidepool-org/events{/privacy}","received_events_url":"https://api.github.com/users/tidepool-org/received_events","type":"Organization","site_admin":false},"repo":{"id":62839276,"name":"viz","full_name":"tidepool-org/viz","owner":{"login":"tidepool-org","id":4390820,"avatar_url":"https://avatars.githubusercontent.com/u/4390820?v=3","gravatar_id":"","url":"https://api.github.com/users/tidepool-org","html_url":"https://github.com/tidepool-org","followers_url":"https://api.github.com/users/tidepool-org/followers","following_url":"https://api.github.com/users/tidepool-org/following{/other_user}","gists_url":"https://api.github.com/users/tidepool-org/gists{/gist_id}","starred_url":"https://api.github.com/users/tidepool-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tidepool-org/subscriptions","organizations_url":"https://api.github.com/users/tidepool-org/orgs","repos_url":"https://api.github.com/users/tidepool-org/repos","events_url":"https://api.github.com/users/tidepool-org/events{/privacy}","received_events_url":"https://api.github.com/users/tidepool-org/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/tidepool-org/viz","description":"Tidepool data visualization for diabetes device data.","fork":false,"url":"https://api.github.com/repos/tidepool-org/viz","forks_url":"https://api.github.com/repos/tidepool-org/viz/forks","keys_url":"https://api.github.com/repos/tidepool-org/viz/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tidepool-org/viz/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tidepool-org/viz/teams","hooks_url":"https://api.github.com/repos/tidepool-org/viz/hooks","issue_events_url":"https://api.github.com/repos/tidepool-org/viz/issues/events{/number}","events_url":"https://api.github.com/repos/tidepool-org/viz/events","assignees_url":"https://api.github.com/repos/tidepool-org/viz/assignees{/user}","branches_url":"https://api.github.com/repos/tidepool-org/viz/branches{/branch}","tags_url":"https://api.github.com/repos/tidepool-org/viz/tags","blobs_url":"https://api.github.com/repos/tidepool-org/viz/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tidepool-org/viz/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tidepool-org/viz/git/refs{/sha}","trees_url":"https://api.github.com/repos/tidepool-org/viz/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tidepool-org/viz/statuses/{sha}","languages_url":"https://api.github.com/repos/tidepool-org/viz/languages","stargazers_url":"https://api.github.com/repos/tidepool-org/viz/stargazers","contributors_url":"https://api.github.com/repos/tidepool-org/viz/contributors","subscribers_url":"https://api.github.com/repos/tidepool-org/viz/subscribers","subscription_url":"https://api.github.com/repos/tidepool-org/viz/subscription","commits_url":"https://api.github.com/repos/tidepool-org/viz/commits{/sha}","git_commits_url":"https://api.github.com/repos/tidepool-org/viz/git/commits{/sha}","comments_url":"https://api.github.com/repos/tidepool-org/viz/comments{/number}","issue_comment_url":"https://api.github.com/repos/tidepool-org/viz/issues/comments{/number}","contents_url":"https://api.github.com/repos/tidepool-org/viz/contents/{+path}","compare_url":"https://api.github.com/repos/tidepool-org/viz/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tidepool-org/viz/merges","archive_url":"https://api.github.com/repos/tidepool-org/viz/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tidepool-org/viz/downloads","issues_url":"https://api.github.com/repos/tidepool-org/viz/issues{/number}","pulls_url":"https://api.github.com/repos/tidepool-org/viz/pulls{/number}","milestones_url":"https://api.github.com/repos/tidepool-org/viz/milestones{/number}","notifications_url":"https://api.github.com/repos/tidepool-org/viz/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tidepool-org/viz/labels{/name}","releases_url":"https://api.github.com/repos/tidepool-org/viz/releases{/id}","deployments_url":"https://api.github.com/repos/tidepool-org/viz/deployments","created_at":"2016-07-07T21:30:33Z","updated_at":"2016-07-11T20:07:44Z","pushed_at":"2016-10-17T23:11:22Z","git_url":"git://github.com/tidepool-org/viz.git","ssh_url":"git@github.com:tidepool-org/viz.git","clone_url":"https://github.com/tidepool-org/viz.git","svn_url":"https://github.com/tidepool-org/viz","homepage":"","size":572,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":5,"forks":0,"open_issues":5,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/tidepool-org/viz/pulls/19"},"html":{"href":"https://github.com/tidepool-org/viz/pull/19"},"issue":{"href":"https://api.github.com/repos/tidepool-org/viz/issues/19"},"comments":{"href":"https://api.github.com/repos/tidepool-org/viz/issues/19/comments"},"review_comments":{"href":"https://api.github.com/repos/tidepool-org/viz/pulls/19/comments"},"review_comment":{"href":"https://api.github.com/repos/tidepool-org/viz/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/tidepool-org/viz/pulls/19/commits"},"statuses":{"href":"https://api.github.com/repos/tidepool-org/viz/statuses/8e8b2bfc4c74c7f705676c24fe2c6a8479aa3c2c"}}}}
{"actor":{"display_login":"jebeck"}}