{"action":"created","comment":{"url":"https://api.github.com/repos/reddit/reddit-mobile/pulls/comments/50350630","id":50350630,"diff_hunk":"@@ -0,0 +1,211 @@\n+import React from 'react';\n+\n+import SquareButton from '../formElements/SquareButton';\n+\n+const T = React.PropTypes;\n+\n+export default class CommentDropdownContent extends React.Component {","path":"src/views/components/comment/CommentDropdownContent.jsx","position":7,"original_position":7,"commit_id":"89f10f1f99c810f15089b63e2a83c8d75e83e63b","original_commit_id":"89f10f1f99c810f15089b63e2a83c8d75e83e63b","user":{"login":"schwers","id":307983,"avatar_url":"https://avatars.githubusercontent.com/u/307983?v=3","gravatar_id":"","url":"https://api.github.com/users/schwers","html_url":"https://github.com/schwers","followers_url":"https://api.github.com/users/schwers/followers","following_url":"https://api.github.com/users/schwers/following{/other_user}","gists_url":"https://api.github.com/users/schwers/gists{/gist_id}","starred_url":"https://api.github.com/users/schwers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/schwers/subscriptions","organizations_url":"https://api.github.com/users/schwers/orgs","repos_url":"https://api.github.com/users/schwers/repos","events_url":"https://api.github.com/users/schwers/events{/privacy}","received_events_url":"https://api.github.com/users/schwers/received_events","type":"User","site_admin":false},"body":"It looks like this and a few other of these components opt out of using `BaseComponent`, is that intentional?","created_at":"2016-01-21T01:47:37Z","updated_at":"2016-01-21T01:47:37Z","html_url":"https://github.com/reddit/reddit-mobile/pull/457#discussion_r50350630","pull_request_url":"https://api.github.com/repos/reddit/reddit-mobile/pulls/457","_links":{"self":{"href":"https://api.github.com/repos/reddit/reddit-mobile/pulls/comments/50350630"},"html":{"href":"https://github.com/reddit/reddit-mobile/pull/457#discussion_r50350630"},"pull_request":{"href":"https://api.github.com/repos/reddit/reddit-mobile/pulls/457"}}},"pull_request":{"url":"https://api.github.com/repos/reddit/reddit-mobile/pulls/457","id":56658334,"html_url":"https://github.com/reddit/reddit-mobile/pull/457","diff_url":"https://github.com/reddit/reddit-mobile/pull/457.diff","patch_url":"https://github.com/reddit/reddit-mobile/pull/457.patch","issue_url":"https://api.github.com/repos/reddit/reddit-mobile/issues/457","number":457,"state":"open","locked":false,"title":"Change the look of comments","user":{"login":"nramadas","id":1679892,"avatar_url":"https://avatars.githubusercontent.com/u/1679892?v=3","gravatar_id":"","url":"https://api.github.com/users/nramadas","html_url":"https://github.com/nramadas","followers_url":"https://api.github.com/users/nramadas/followers","following_url":"https://api.github.com/users/nramadas/following{/other_user}","gists_url":"https://api.github.com/users/nramadas/gists{/gist_id}","starred_url":"https://api.github.com/users/nramadas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nramadas/subscriptions","organizations_url":"https://api.github.com/users/nramadas/orgs","repos_url":"https://api.github.com/users/nramadas/repos","events_url":"https://api.github.com/users/nramadas/events{/privacy}","received_events_url":"https://api.github.com/users/nramadas/received_events","type":"User","site_admin":false},"body":"Large(ish) patch. Aims to completely re-do the comments on mobileweb.\r\n\r\nAddresses: https://reddit.atlassian.net/browse/MOBILEWEB-335\r\n\r\n**Key changes:**\r\n1) New `<Comment />` component to replace the old.\r\n2) New `<DropdownController />` component to create a simpler dropdown.\r\n3) Brand new design for comments, thanks to our design team.\r\n4) A few new icons.\r\n\r\n**Feature checklist (really, regression testing):**\r\n* [ ] Reply to posts\r\n* [ ] Reply to comments\r\n* [ ] Upvote/Downvote comments\r\n* [ ] Edit comments\r\n* [ ] Report comments\r\n* [ ] Permalink, save comments, user profiles, etc\r\n\r\n**Engineering checklist:**\r\n* [ ] More stateless subcomponents\r\n* [ ] More centralized logic; the `<Comment />` component does more\r\n* [ ] Two new generic Form Elements\r\n* [ ] CSS (less) is now split into subfolders\r\n\r\n**How to review:**\r\nI would start with `/comment/Comment.jsx` as it holds the bulk of the logic. The subcomponents you can review as you get to them. Really, they are fairly simple and single-purposed, so there shouldn't be too much to review there.\r\n\r\n**Screenshots:**\r\n![screen shot 2016-01-20 at 1 08 04 pm](https://cloud.githubusercontent.com/assets/1679892/12463295/97814c7c-bf77-11e5-9ad2-61c639d8c46e.png)\r\n\r\n![screen shot 2016-01-20 at 1 08 37 pm](https://cloud.githubusercontent.com/assets/1679892/12463298/9c143d44-bf77-11e5-8525-ae5c74e2e4bc.png)\r\n\r\n![screen shot 2016-01-20 at 1 09 14 pm](https://cloud.githubusercontent.com/assets/1679892/12463299/a01daa1a-bf77-11e5-901a-f90d58eebe5d.png)\r\n\r\n![screen shot 2016-01-20 at 1 09 40 pm](https://cloud.githubusercontent.com/assets/1679892/12463303/a481aeda-bf77-11e5-843a-5bd95707894b.png)\r\n\r\n![screen shot 2016-01-20 at 1 12 28 pm](https://cloud.githubusercontent.com/assets/1679892/12463308/a7e68064-bf77-11e5-8d46-463bc6171760.png)\r\n\r\n**Todo Items (will get resolved before shipping):**\r\n1) Remove old `<Comment />` component code\r\n2) Remove unneeded styles\r\n\r\n:eyeglasses: @schwers @ajacksified @curioussavage ","created_at":"2016-01-20T19:54:58Z","updated_at":"2016-01-21T01:47:37Z","closed_at":null,"merged_at":null,"merge_commit_sha":"babd84dfe60b0317099d42810ddddb15516a0cf1","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/reddit/reddit-mobile/pulls/457/commits","review_comments_url":"https://api.github.com/repos/reddit/reddit-mobile/pulls/457/comments","review_comment_url":"https://api.github.com/repos/reddit/reddit-mobile/pulls/comments{/number}","comments_url":"https://api.github.com/repos/reddit/reddit-mobile/issues/457/comments","statuses_url":"https://api.github.com/repos/reddit/reddit-mobile/statuses/89f10f1f99c810f15089b63e2a83c8d75e83e63b","head":{"label":"nramadas:new_comment_style","ref":"new_comment_style","sha":"89f10f1f99c810f15089b63e2a83c8d75e83e63b","user":{"login":"nramadas","id":1679892,"avatar_url":"https://avatars.githubusercontent.com/u/1679892?v=3","gravatar_id":"","url":"https://api.github.com/users/nramadas","html_url":"https://github.com/nramadas","followers_url":"https://api.github.com/users/nramadas/followers","following_url":"https://api.github.com/users/nramadas/following{/other_user}","gists_url":"https://api.github.com/users/nramadas/gists{/gist_id}","starred_url":"https://api.github.com/users/nramadas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nramadas/subscriptions","organizations_url":"https://api.github.com/users/nramadas/orgs","repos_url":"https://api.github.com/users/nramadas/repos","events_url":"https://api.github.com/users/nramadas/events{/privacy}","received_events_url":"https://api.github.com/users/nramadas/received_events","type":"User","site_admin":false},"repo":{"id":49025435,"name":"reddit-mobile","full_name":"nramadas/reddit-mobile","owner":{"login":"nramadas","id":1679892,"avatar_url":"https://avatars.githubusercontent.com/u/1679892?v=3","gravatar_id":"","url":"https://api.github.com/users/nramadas","html_url":"https://github.com/nramadas","followers_url":"https://api.github.com/users/nramadas/followers","following_url":"https://api.github.com/users/nramadas/following{/other_user}","gists_url":"https://api.github.com/users/nramadas/gists{/gist_id}","starred_url":"https://api.github.com/users/nramadas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nramadas/subscriptions","organizations_url":"https://api.github.com/users/nramadas/orgs","repos_url":"https://api.github.com/users/nramadas/repos","events_url":"https://api.github.com/users/nramadas/events{/privacy}","received_events_url":"https://api.github.com/users/nramadas/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nramadas/reddit-mobile","description":"","fork":true,"url":"https://api.github.com/repos/nramadas/reddit-mobile","forks_url":"https://api.github.com/repos/nramadas/reddit-mobile/forks","keys_url":"https://api.github.com/repos/nramadas/reddit-mobile/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nramadas/reddit-mobile/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nramadas/reddit-mobile/teams","hooks_url":"https://api.github.com/repos/nramadas/reddit-mobile/hooks","issue_events_url":"https://api.github.com/repos/nramadas/reddit-mobile/issues/events{/number}","events_url":"https://api.github.com/repos/nramadas/reddit-mobile/events","assignees_url":"https://api.github.com/repos/nramadas/reddit-mobile/assignees{/user}","branches_url":"https://api.github.com/repos/nramadas/reddit-mobile/branches{/branch}","tags_url":"https://api.github.com/repos/nramadas/reddit-mobile/tags","blobs_url":"https://api.github.com/repos/nramadas/reddit-mobile/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nramadas/reddit-mobile/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nramadas/reddit-mobile/git/refs{/sha}","trees_url":"https://api.github.com/repos/nramadas/reddit-mobile/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nramadas/reddit-mobile/statuses/{sha}","languages_url":"https://api.github.com/repos/nramadas/reddit-mobile/languages","stargazers_url":"https://api.github.com/repos/nramadas/reddit-mobile/stargazers","contributors_url":"https://api.github.com/repos/nramadas/reddit-mobile/contributors","subscribers_url":"https://api.github.com/repos/nramadas/reddit-mobile/subscribers","subscription_url":"https://api.github.com/repos/nramadas/reddit-mobile/subscription","commits_url":"https://api.github.com/repos/nramadas/reddit-mobile/commits{/sha}","git_commits_url":"https://api.github.com/repos/nramadas/reddit-mobile/git/commits{/sha}","comments_url":"https://api.github.com/repos/nramadas/reddit-mobile/comments{/number}","issue_comment_url":"https://api.github.com/repos/nramadas/reddit-mobile/issues/comments{/number}","contents_url":"https://api.github.com/repos/nramadas/reddit-mobile/contents/{+path}","compare_url":"https://api.github.com/repos/nramadas/reddit-mobile/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nramadas/reddit-mobile/merges","archive_url":"https://api.github.com/repos/nramadas/reddit-mobile/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nramadas/reddit-mobile/downloads","issues_url":"https://api.github.com/repos/nramadas/reddit-mobile/issues{/number}","pulls_url":"https://api.github.com/repos/nramadas/reddit-mobile/pulls{/number}","milestones_url":"https://api.github.com/repos/nramadas/reddit-mobile/milestones{/number}","notifications_url":"https://api.github.com/repos/nramadas/reddit-mobile/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nramadas/reddit-mobile/labels{/name}","releases_url":"https://api.github.com/repos/nramadas/reddit-mobile/releases{/id}","created_at":"2016-01-04T21:52:12Z","updated_at":"2016-01-04T21:52:14Z","pushed_at":"2016-01-21T00:38:47Z","git_url":"git://github.com/nramadas/reddit-mobile.git","ssh_url":"git@github.com:nramadas/reddit-mobile.git","clone_url":"https://github.com/nramadas/reddit-mobile.git","svn_url":"https://github.com/nramadas/reddit-mobile","homepage":null,"size":2865,"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":"reddit:master","ref":"master","sha":"184a50b1840d51947ed008a069d048513f7fd055","user":{"login":"reddit","id":14248,"avatar_url":"https://avatars.githubusercontent.com/u/14248?v=3","gravatar_id":"","url":"https://api.github.com/users/reddit","html_url":"https://github.com/reddit","followers_url":"https://api.github.com/users/reddit/followers","following_url":"https://api.github.com/users/reddit/following{/other_user}","gists_url":"https://api.github.com/users/reddit/gists{/gist_id}","starred_url":"https://api.github.com/users/reddit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reddit/subscriptions","organizations_url":"https://api.github.com/users/reddit/orgs","repos_url":"https://api.github.com/users/reddit/repos","events_url":"https://api.github.com/users/reddit/events{/privacy}","received_events_url":"https://api.github.com/users/reddit/received_events","type":"Organization","site_admin":false},"repo":{"id":23087554,"name":"reddit-mobile","full_name":"reddit/reddit-mobile","owner":{"login":"reddit","id":14248,"avatar_url":"https://avatars.githubusercontent.com/u/14248?v=3","gravatar_id":"","url":"https://api.github.com/users/reddit","html_url":"https://github.com/reddit","followers_url":"https://api.github.com/users/reddit/followers","following_url":"https://api.github.com/users/reddit/following{/other_user}","gists_url":"https://api.github.com/users/reddit/gists{/gist_id}","starred_url":"https://api.github.com/users/reddit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reddit/subscriptions","organizations_url":"https://api.github.com/users/reddit/orgs","repos_url":"https://api.github.com/users/reddit/repos","events_url":"https://api.github.com/users/reddit/events{/privacy}","received_events_url":"https://api.github.com/users/reddit/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/reddit/reddit-mobile","description":"","fork":false,"url":"https://api.github.com/repos/reddit/reddit-mobile","forks_url":"https://api.github.com/repos/reddit/reddit-mobile/forks","keys_url":"https://api.github.com/repos/reddit/reddit-mobile/keys{/key_id}","collaborators_url":"https://api.github.com/repos/reddit/reddit-mobile/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/reddit/reddit-mobile/teams","hooks_url":"https://api.github.com/repos/reddit/reddit-mobile/hooks","issue_events_url":"https://api.github.com/repos/reddit/reddit-mobile/issues/events{/number}","events_url":"https://api.github.com/repos/reddit/reddit-mobile/events","assignees_url":"https://api.github.com/repos/reddit/reddit-mobile/assignees{/user}","branches_url":"https://api.github.com/repos/reddit/reddit-mobile/branches{/branch}","tags_url":"https://api.github.com/repos/reddit/reddit-mobile/tags","blobs_url":"https://api.github.com/repos/reddit/reddit-mobile/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/reddit/reddit-mobile/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/reddit/reddit-mobile/git/refs{/sha}","trees_url":"https://api.github.com/repos/reddit/reddit-mobile/git/trees{/sha}","statuses_url":"https://api.github.com/repos/reddit/reddit-mobile/statuses/{sha}","languages_url":"https://api.github.com/repos/reddit/reddit-mobile/languages","stargazers_url":"https://api.github.com/repos/reddit/reddit-mobile/stargazers","contributors_url":"https://api.github.com/repos/reddit/reddit-mobile/contributors","subscribers_url":"https://api.github.com/repos/reddit/reddit-mobile/subscribers","subscription_url":"https://api.github.com/repos/reddit/reddit-mobile/subscription","commits_url":"https://api.github.com/repos/reddit/reddit-mobile/commits{/sha}","git_commits_url":"https://api.github.com/repos/reddit/reddit-mobile/git/commits{/sha}","comments_url":"https://api.github.com/repos/reddit/reddit-mobile/comments{/number}","issue_comment_url":"https://api.github.com/repos/reddit/reddit-mobile/issues/comments{/number}","contents_url":"https://api.github.com/repos/reddit/reddit-mobile/contents/{+path}","compare_url":"https://api.github.com/repos/reddit/reddit-mobile/compare/{base}...{head}","merges_url":"https://api.github.com/repos/reddit/reddit-mobile/merges","archive_url":"https://api.github.com/repos/reddit/reddit-mobile/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/reddit/reddit-mobile/downloads","issues_url":"https://api.github.com/repos/reddit/reddit-mobile/issues{/number}","pulls_url":"https://api.github.com/repos/reddit/reddit-mobile/pulls{/number}","milestones_url":"https://api.github.com/repos/reddit/reddit-mobile/milestones{/number}","notifications_url":"https://api.github.com/repos/reddit/reddit-mobile/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/reddit/reddit-mobile/labels{/name}","releases_url":"https://api.github.com/repos/reddit/reddit-mobile/releases{/id}","created_at":"2014-08-18T21:42:05Z","updated_at":"2016-01-17T19:45:47Z","pushed_at":"2016-01-21T01:42:17Z","git_url":"git://github.com/reddit/reddit-mobile.git","ssh_url":"git@github.com:reddit/reddit-mobile.git","clone_url":"https://github.com/reddit/reddit-mobile.git","svn_url":"https://github.com/reddit/reddit-mobile","homepage":null,"size":6285,"stargazers_count":669,"watchers_count":669,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":98,"mirror_url":null,"open_issues_count":15,"forks":98,"open_issues":15,"watchers":669,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/reddit/reddit-mobile/pulls/457"},"html":{"href":"https://github.com/reddit/reddit-mobile/pull/457"},"issue":{"href":"https://api.github.com/repos/reddit/reddit-mobile/issues/457"},"comments":{"href":"https://api.github.com/repos/reddit/reddit-mobile/issues/457/comments"},"review_comments":{"href":"https://api.github.com/repos/reddit/reddit-mobile/pulls/457/comments"},"review_comment":{"href":"https://api.github.com/repos/reddit/reddit-mobile/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/reddit/reddit-mobile/pulls/457/commits"},"statuses":{"href":"https://api.github.com/repos/reddit/reddit-mobile/statuses/89f10f1f99c810f15089b63e2a83c8d75e83e63b"}}}}