{"action":"created","comment":{"url":"https://api.github.com/repos/ciscospark/spark-js-sdk/pulls/comments/84748110","pull_request_review_id":5504576,"id":84748110,"diff_hunk":"@@ -0,0 +1,44 @@\n+import React, {PropTypes} from 'react';\n+import classNames from 'classnames';\n+import injectScrollable from '../wrapper-scrollable';\n+\n+import TypingIndicator from '../../components/typing-indicator';\n+import ActivityList from '../../components/activity-list';\n+\n+import styles from './styles.css';\n+\n+function ScrollingActivity(props) {\n+  const {\n+    activities,\n+    currentUserId,\n+    isTyping,\n+    onActivityDelete\n+  } = props;\n+  let typingIndicator;\n+  if (isTyping) {\n+    typingIndicator = <TypingIndicator />;\n+  }\n+\n+  return (\n+    <div>\n+      <ActivityList\n+        activities={activities}\n+        currentUserId={currentUserId}\n+        onActivityDelete={onActivityDelete}\n+      />\n+      <div className={classNames(`indicators`, styles.indicators)}>\n+        {typingIndicator}\n+      </div>\n+    </div>\n+  );\n+}\n+\n+ScrollingActivity.propTypes = {\n+  activities: PropTypes.array,\n+  currentUserId: PropTypes.string,\n+  isTyping: PropTypes.bool,\n+  onActivityDelete: PropTypes.func.isRequired,\n+  onScrollToBottom: PropTypes.func","path":"packages/widget-chat/src/containers/scrolling-activity/index.js","position":41,"original_position":41,"commit_id":"6122a1606b339545899ca8cfdcb89f86255fabcb","original_commit_id":"6122a1606b339545899ca8cfdcb89f86255fabcb","user":{"login":"bzang","id":99547,"avatar_url":"https://avatars.githubusercontent.com/u/99547?v=3","gravatar_id":"","url":"https://api.github.com/users/bzang","html_url":"https://github.com/bzang","followers_url":"https://api.github.com/users/bzang/followers","following_url":"https://api.github.com/users/bzang/following{/other_user}","gists_url":"https://api.github.com/users/bzang/gists{/gist_id}","starred_url":"https://api.github.com/users/bzang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bzang/subscriptions","organizations_url":"https://api.github.com/users/bzang/orgs","repos_url":"https://api.github.com/users/bzang/repos","events_url":"https://api.github.com/users/bzang/events{/privacy}","received_events_url":"https://api.github.com/users/bzang/received_events","type":"User","site_admin":false},"body":"Is this an extra prop that isn't being used?","created_at":"2016-10-24T18:10:49Z","updated_at":"2016-10-24T18:11:52Z","html_url":"https://github.com/ciscospark/spark-js-sdk/pull/276#discussion_r84748110","pull_request_url":"https://api.github.com/repos/ciscospark/spark-js-sdk/pulls/276","_links":{"self":{"href":"https://api.github.com/repos/ciscospark/spark-js-sdk/pulls/comments/84748110"},"html":{"href":"https://github.com/ciscospark/spark-js-sdk/pull/276#discussion_r84748110"},"pull_request":{"href":"https://api.github.com/repos/ciscospark/spark-js-sdk/pulls/276"}}},"pull_request":{"url":"https://api.github.com/repos/ciscospark/spark-js-sdk/pulls/276","id":90623108,"html_url":"https://github.com/ciscospark/spark-js-sdk/pull/276","diff_url":"https://github.com/ciscospark/spark-js-sdk/pull/276.diff","patch_url":"https://github.com/ciscospark/spark-js-sdk/pull/276.patch","issue_url":"https://api.github.com/repos/ciscospark/spark-js-sdk/issues/276","number":276,"state":"open","locked":false,"title":"feat(widget-chat): Typing indicator","user":{"login":"adamweeks","id":190647,"avatar_url":"https://avatars.githubusercontent.com/u/190647?v=3","gravatar_id":"","url":"https://api.github.com/users/adamweeks","html_url":"https://github.com/adamweeks","followers_url":"https://api.github.com/users/adamweeks/followers","following_url":"https://api.github.com/users/adamweeks/following{/other_user}","gists_url":"https://api.github.com/users/adamweeks/gists{/gist_id}","starred_url":"https://api.github.com/users/adamweeks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adamweeks/subscriptions","organizations_url":"https://api.github.com/users/adamweeks/orgs","repos_url":"https://api.github.com/users/adamweeks/repos","events_url":"https://api.github.com/users/adamweeks/events{/privacy}","received_events_url":"https://api.github.com/users/adamweeks/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-10-24T14:27:44Z","updated_at":"2016-10-24T18:11:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d4f25471e8dd57304217546fc4cf49acdbdac3d5","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/ciscospark/spark-js-sdk/pulls/276/commits","review_comments_url":"https://api.github.com/repos/ciscospark/spark-js-sdk/pulls/276/comments","review_comment_url":"https://api.github.com/repos/ciscospark/spark-js-sdk/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ciscospark/spark-js-sdk/issues/276/comments","statuses_url":"https://api.github.com/repos/ciscospark/spark-js-sdk/statuses/6122a1606b339545899ca8cfdcb89f86255fabcb","head":{"label":"adamweeks:typing-indicator","ref":"typing-indicator","sha":"6122a1606b339545899ca8cfdcb89f86255fabcb","user":{"login":"adamweeks","id":190647,"avatar_url":"https://avatars.githubusercontent.com/u/190647?v=3","gravatar_id":"","url":"https://api.github.com/users/adamweeks","html_url":"https://github.com/adamweeks","followers_url":"https://api.github.com/users/adamweeks/followers","following_url":"https://api.github.com/users/adamweeks/following{/other_user}","gists_url":"https://api.github.com/users/adamweeks/gists{/gist_id}","starred_url":"https://api.github.com/users/adamweeks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adamweeks/subscriptions","organizations_url":"https://api.github.com/users/adamweeks/orgs","repos_url":"https://api.github.com/users/adamweeks/repos","events_url":"https://api.github.com/users/adamweeks/events{/privacy}","received_events_url":"https://api.github.com/users/adamweeks/received_events","type":"User","site_admin":false},"repo":{"id":68234934,"name":"spark-js-sdk","full_name":"adamweeks/spark-js-sdk","owner":{"login":"adamweeks","id":190647,"avatar_url":"https://avatars.githubusercontent.com/u/190647?v=3","gravatar_id":"","url":"https://api.github.com/users/adamweeks","html_url":"https://github.com/adamweeks","followers_url":"https://api.github.com/users/adamweeks/followers","following_url":"https://api.github.com/users/adamweeks/following{/other_user}","gists_url":"https://api.github.com/users/adamweeks/gists{/gist_id}","starred_url":"https://api.github.com/users/adamweeks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adamweeks/subscriptions","organizations_url":"https://api.github.com/users/adamweeks/orgs","repos_url":"https://api.github.com/users/adamweeks/repos","events_url":"https://api.github.com/users/adamweeks/events{/privacy}","received_events_url":"https://api.github.com/users/adamweeks/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/adamweeks/spark-js-sdk","description":null,"fork":true,"url":"https://api.github.com/repos/adamweeks/spark-js-sdk","forks_url":"https://api.github.com/repos/adamweeks/spark-js-sdk/forks","keys_url":"https://api.github.com/repos/adamweeks/spark-js-sdk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/adamweeks/spark-js-sdk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/adamweeks/spark-js-sdk/teams","hooks_url":"https://api.github.com/repos/adamweeks/spark-js-sdk/hooks","issue_events_url":"https://api.github.com/repos/adamweeks/spark-js-sdk/issues/events{/number}","events_url":"https://api.github.com/repos/adamweeks/spark-js-sdk/events","assignees_url":"https://api.github.com/repos/adamweeks/spark-js-sdk/assignees{/user}","branches_url":"https://api.github.com/repos/adamweeks/spark-js-sdk/branches{/branch}","tags_url":"https://api.github.com/repos/adamweeks/spark-js-sdk/tags","blobs_url":"https://api.github.com/repos/adamweeks/spark-js-sdk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/adamweeks/spark-js-sdk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/adamweeks/spark-js-sdk/git/refs{/sha}","trees_url":"https://api.github.com/repos/adamweeks/spark-js-sdk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/adamweeks/spark-js-sdk/statuses/{sha}","languages_url":"https://api.github.com/repos/adamweeks/spark-js-sdk/languages","stargazers_url":"https://api.github.com/repos/adamweeks/spark-js-sdk/stargazers","contributors_url":"https://api.github.com/repos/adamweeks/spark-js-sdk/contributors","subscribers_url":"https://api.github.com/repos/adamweeks/spark-js-sdk/subscribers","subscription_url":"https://api.github.com/repos/adamweeks/spark-js-sdk/subscription","commits_url":"https://api.github.com/repos/adamweeks/spark-js-sdk/commits{/sha}","git_commits_url":"https://api.github.com/repos/adamweeks/spark-js-sdk/git/commits{/sha}","comments_url":"https://api.github.com/repos/adamweeks/spark-js-sdk/comments{/number}","issue_comment_url":"https://api.github.com/repos/adamweeks/spark-js-sdk/issues/comments{/number}","contents_url":"https://api.github.com/repos/adamweeks/spark-js-sdk/contents/{+path}","compare_url":"https://api.github.com/repos/adamweeks/spark-js-sdk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/adamweeks/spark-js-sdk/merges","archive_url":"https://api.github.com/repos/adamweeks/spark-js-sdk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/adamweeks/spark-js-sdk/downloads","issues_url":"https://api.github.com/repos/adamweeks/spark-js-sdk/issues{/number}","pulls_url":"https://api.github.com/repos/adamweeks/spark-js-sdk/pulls{/number}","milestones_url":"https://api.github.com/repos/adamweeks/spark-js-sdk/milestones{/number}","notifications_url":"https://api.github.com/repos/adamweeks/spark-js-sdk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/adamweeks/spark-js-sdk/labels{/name}","releases_url":"https://api.github.com/repos/adamweeks/spark-js-sdk/releases{/id}","deployments_url":"https://api.github.com/repos/adamweeks/spark-js-sdk/deployments","created_at":"2016-09-14T19:08:30Z","updated_at":"2016-09-14T19:08:33Z","pushed_at":"2016-10-24T14:26:42Z","git_url":"git://github.com/adamweeks/spark-js-sdk.git","ssh_url":"git@github.com:adamweeks/spark-js-sdk.git","clone_url":"https://github.com/adamweeks/spark-js-sdk.git","svn_url":"https://github.com/adamweeks/spark-js-sdk","homepage":"https://ciscospark.github.io/spark-js-sdk/","size":14745,"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":"ciscospark:widget-dev","ref":"widget-dev","sha":"99cd18c8fb3aa5ec531c37d5a898e0686f08e145","user":{"login":"ciscospark","id":15900782,"avatar_url":"https://avatars.githubusercontent.com/u/15900782?v=3","gravatar_id":"","url":"https://api.github.com/users/ciscospark","html_url":"https://github.com/ciscospark","followers_url":"https://api.github.com/users/ciscospark/followers","following_url":"https://api.github.com/users/ciscospark/following{/other_user}","gists_url":"https://api.github.com/users/ciscospark/gists{/gist_id}","starred_url":"https://api.github.com/users/ciscospark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ciscospark/subscriptions","organizations_url":"https://api.github.com/users/ciscospark/orgs","repos_url":"https://api.github.com/users/ciscospark/repos","events_url":"https://api.github.com/users/ciscospark/events{/privacy}","received_events_url":"https://api.github.com/users/ciscospark/received_events","type":"Organization","site_admin":false},"repo":{"id":62836827,"name":"spark-js-sdk","full_name":"ciscospark/spark-js-sdk","owner":{"login":"ciscospark","id":15900782,"avatar_url":"https://avatars.githubusercontent.com/u/15900782?v=3","gravatar_id":"","url":"https://api.github.com/users/ciscospark","html_url":"https://github.com/ciscospark","followers_url":"https://api.github.com/users/ciscospark/followers","following_url":"https://api.github.com/users/ciscospark/following{/other_user}","gists_url":"https://api.github.com/users/ciscospark/gists{/gist_id}","starred_url":"https://api.github.com/users/ciscospark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ciscospark/subscriptions","organizations_url":"https://api.github.com/users/ciscospark/orgs","repos_url":"https://api.github.com/users/ciscospark/repos","events_url":"https://api.github.com/users/ciscospark/events{/privacy}","received_events_url":"https://api.github.com/users/ciscospark/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ciscospark/spark-js-sdk","description":null,"fork":false,"url":"https://api.github.com/repos/ciscospark/spark-js-sdk","forks_url":"https://api.github.com/repos/ciscospark/spark-js-sdk/forks","keys_url":"https://api.github.com/repos/ciscospark/spark-js-sdk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ciscospark/spark-js-sdk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ciscospark/spark-js-sdk/teams","hooks_url":"https://api.github.com/repos/ciscospark/spark-js-sdk/hooks","issue_events_url":"https://api.github.com/repos/ciscospark/spark-js-sdk/issues/events{/number}","events_url":"https://api.github.com/repos/ciscospark/spark-js-sdk/events","assignees_url":"https://api.github.com/repos/ciscospark/spark-js-sdk/assignees{/user}","branches_url":"https://api.github.com/repos/ciscospark/spark-js-sdk/branches{/branch}","tags_url":"https://api.github.com/repos/ciscospark/spark-js-sdk/tags","blobs_url":"https://api.github.com/repos/ciscospark/spark-js-sdk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ciscospark/spark-js-sdk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ciscospark/spark-js-sdk/git/refs{/sha}","trees_url":"https://api.github.com/repos/ciscospark/spark-js-sdk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ciscospark/spark-js-sdk/statuses/{sha}","languages_url":"https://api.github.com/repos/ciscospark/spark-js-sdk/languages","stargazers_url":"https://api.github.com/repos/ciscospark/spark-js-sdk/stargazers","contributors_url":"https://api.github.com/repos/ciscospark/spark-js-sdk/contributors","subscribers_url":"https://api.github.com/repos/ciscospark/spark-js-sdk/subscribers","subscription_url":"https://api.github.com/repos/ciscospark/spark-js-sdk/subscription","commits_url":"https://api.github.com/repos/ciscospark/spark-js-sdk/commits{/sha}","git_commits_url":"https://api.github.com/repos/ciscospark/spark-js-sdk/git/commits{/sha}","comments_url":"https://api.github.com/repos/ciscospark/spark-js-sdk/comments{/number}","issue_comment_url":"https://api.github.com/repos/ciscospark/spark-js-sdk/issues/comments{/number}","contents_url":"https://api.github.com/repos/ciscospark/spark-js-sdk/contents/{+path}","compare_url":"https://api.github.com/repos/ciscospark/spark-js-sdk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ciscospark/spark-js-sdk/merges","archive_url":"https://api.github.com/repos/ciscospark/spark-js-sdk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ciscospark/spark-js-sdk/downloads","issues_url":"https://api.github.com/repos/ciscospark/spark-js-sdk/issues{/number}","pulls_url":"https://api.github.com/repos/ciscospark/spark-js-sdk/pulls{/number}","milestones_url":"https://api.github.com/repos/ciscospark/spark-js-sdk/milestones{/number}","notifications_url":"https://api.github.com/repos/ciscospark/spark-js-sdk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ciscospark/spark-js-sdk/labels{/name}","releases_url":"https://api.github.com/repos/ciscospark/spark-js-sdk/releases{/id}","deployments_url":"https://api.github.com/repos/ciscospark/spark-js-sdk/deployments","created_at":"2016-07-07T20:41:12Z","updated_at":"2016-10-17T20:52:37Z","pushed_at":"2016-10-24T14:27:44Z","git_url":"git://github.com/ciscospark/spark-js-sdk.git","ssh_url":"git@github.com:ciscospark/spark-js-sdk.git","clone_url":"https://github.com/ciscospark/spark-js-sdk.git","svn_url":"https://github.com/ciscospark/spark-js-sdk","homepage":"https://ciscospark.github.io/spark-js-sdk/","size":15103,"stargazers_count":17,"watchers_count":17,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":22,"mirror_url":null,"open_issues_count":112,"forks":22,"open_issues":112,"watchers":17,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ciscospark/spark-js-sdk/pulls/276"},"html":{"href":"https://github.com/ciscospark/spark-js-sdk/pull/276"},"issue":{"href":"https://api.github.com/repos/ciscospark/spark-js-sdk/issues/276"},"comments":{"href":"https://api.github.com/repos/ciscospark/spark-js-sdk/issues/276/comments"},"review_comments":{"href":"https://api.github.com/repos/ciscospark/spark-js-sdk/pulls/276/comments"},"review_comment":{"href":"https://api.github.com/repos/ciscospark/spark-js-sdk/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ciscospark/spark-js-sdk/pulls/276/commits"},"statuses":{"href":"https://api.github.com/repos/ciscospark/spark-js-sdk/statuses/6122a1606b339545899ca8cfdcb89f86255fabcb"}}}}
{"actor":{"display_login":"bzang"}}