GitHub PullRequestReviewCommentEvent at 2014-08-01 18:03:01
Repository: helpful-web
Actor: lachlanjc
Payload: {"action":"created","comment":{"url":"https://api.github.com/repos/asm-helpful/helpful-web/pulls/comments/15709752","id":15709752,"diff_hunk":"@@ -7,10 +7,20 @@\n \n   <div class=\"form-group\">\n     <%= f.label :messsage, t('.message'), class: 'control-label' %>\n-    <%= f.text_area :message, placeholder: t('.message_placeholder'), class: 'form-control' %>\n+    <div class=\"editable form-control medium-editor\" data-placeholder=\"<%= t('.message_placeholder') %>\" contenteditable=\"true\" id=\"canned-div\">\n+      <%= @canned_response.message && @canned_response.message.html_safe %>\n+    </div>\n+    <%= f.hidden_field :message, id: 'canned-field' %>\n   </div>\n \n+  <style>\n+    .editable::after {\n+      padding: 8px 0 0 13px;\n+    }\n+  </style>","path":"app/views/canned_responses/_form.html.erb","position":15,"original_position":15,"commit_id":"68971e889cf868d5e785954770f6ec803e475a2c","original_commit_id":"68971e889cf868d5e785954770f6ec803e475a2c","user":{"login":"lachlanjc","id":5074763,"avatar_url":"https://avatars.githubusercontent.com/u/5074763?v=1","gravatar_id":"0f72e858995c2171f8b0616d5f0f776f","url":"https://api.github.com/users/lachlanjc","html_url":"https://github.com/lachlanjc","followers_url":"https://api.github.com/users/lachlanjc/followers","following_url":"https://api.github.com/users/lachlanjc/following{/other_user}","gists_url":"https://api.github.com/users/lachlanjc/gists{/gist_id}","starred_url":"https://api.github.com/users/lachlanjc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lachlanjc/subscriptions","organizations_url":"https://api.github.com/users/lachlanjc/orgs","repos_url":"https://api.github.com/users/lachlanjc/repos","events_url":"https://api.github.com/users/lachlanjc/events{/privacy}","received_events_url":"https://api.github.com/users/lachlanjc/received_events","type":"User","site_admin":false},"body":"Can the medium editor CSS file look like this?\r\n\r\n```\r\n.medium-editor {\r\n  color: $gray-darker;\r\n  font-size: $font-size-base;\r\n  min-height: 100px;\r\n}\r\n\r\n.medium-editor-placeholder::after {\r\n  color: $gray-light;\r\n  font-size: $font-size-base;\r\n  font-style: normal;\r\n}\r\n\r\n.editable::after {\r\n  color: $gray-light;\r\n  font-size: $font-size-base;\r\n  font-style: normal;\r\n  padding: 8px 0 0 13px;\r\n}\r\n```\r\n","created_at":"2014-08-01T18:03:01Z","updated_at":"2014-08-01T18:03:01Z","html_url":"https://github.com/asm-helpful/helpful-web/pull/294#discussion_r15709752","pull_request_url":"https://api.github.com/repos/asm-helpful/helpful-web/pulls/294","_links":{"self":{"href":"https://api.github.com/repos/asm-helpful/helpful-web/pulls/comments/15709752"},"html":{"href":"https://github.com/asm-helpful/helpful-web/pull/294#discussion_r15709752"},"pull_request":{"href":"https://api.github.com/repos/asm-helpful/helpful-web/pulls/294"}}},"pull_request":{"url":"https://api.github.com/repos/asm-helpful/helpful-web/pulls/294","id":19192218,"html_url":"https://github.com/asm-helpful/helpful-web/pull/294","diff_url":"https://github.com/asm-helpful/helpful-web/pull/294.diff","patch_url":"https://github.com/asm-helpful/helpful-web/pull/294.patch","issue_url":"https://api.github.com/repos/asm-helpful/helpful-web/issues/294","number":294,"state":"open","title":"#495 Use Medium editor for canned responses","user":{"login":"lachlanjc","id":5074763,"avatar_url":"https://avatars.githubusercontent.com/u/5074763?v=1","gravatar_id":"0f72e858995c2171f8b0616d5f0f776f","url":"https://api.github.com/users/lachlanjc","html_url":"https://github.com/lachlanjc","followers_url":"https://api.github.com/users/lachlanjc/followers","following_url":"https://api.github.com/users/lachlanjc/following{/other_user}","gists_url":"https://api.github.com/users/lachlanjc/gists{/gist_id}","starred_url":"https://api.github.com/users/lachlanjc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lachlanjc/subscriptions","organizations_url":"https://api.github.com/users/lachlanjc/orgs","repos_url":"https://api.github.com/users/lachlanjc/repos","events_url":"https://api.github.com/users/lachlanjc/events{/privacy}","received_events_url":"https://api.github.com/users/lachlanjc/received_events","type":"User","site_admin":false},"body":"","created_at":"2014-08-01T03:56:17Z","updated_at":"2014-08-01T18:03:01Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5a8860aca616b11a7448d71cedbc4f950f6105a6","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/asm-helpful/helpful-web/pulls/294/commits","review_comments_url":"https://api.github.com/repos/asm-helpful/helpful-web/pulls/294/comments","review_comment_url":"https://api.github.com/repos/asm-helpful/helpful-web/pulls/comments/{number}","comments_url":"https://api.github.com/repos/asm-helpful/helpful-web/issues/294/comments","statuses_url":"https://api.github.com/repos/asm-helpful/helpful-web/statuses/68971e889cf868d5e785954770f6ec803e475a2c","head":{"label":"lachlanjc:bounty-495","ref":"bounty-495","sha":"68971e889cf868d5e785954770f6ec803e475a2c","user":{"login":"lachlanjc","id":5074763,"avatar_url":"https://avatars.githubusercontent.com/u/5074763?v=1","gravatar_id":"0f72e858995c2171f8b0616d5f0f776f","url":"https://api.github.com/users/lachlanjc","html_url":"https://github.com/lachlanjc","followers_url":"https://api.github.com/users/lachlanjc/followers","following_url":"https://api.github.com/users/lachlanjc/following{/other_user}","gists_url":"https://api.github.com/users/lachlanjc/gists{/gist_id}","starred_url":"https://api.github.com/users/lachlanjc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lachlanjc/subscriptions","organizations_url":"https://api.github.com/users/lachlanjc/orgs","repos_url":"https://api.github.com/users/lachlanjc/repos","events_url":"https://api.github.com/users/lachlanjc/events{/privacy}","received_events_url":"https://api.github.com/users/lachlanjc/received_events","type":"User","site_admin":false},"repo":{"id":20626989,"name":"helpful-web","full_name":"lachlanjc/helpful-web","owner":{"login":"lachlanjc","id":5074763,"avatar_url":"https://avatars.githubusercontent.com/u/5074763?v=1","gravatar_id":"0f72e858995c2171f8b0616d5f0f776f","url":"https://api.github.com/users/lachlanjc","html_url":"https://github.com/lachlanjc","followers_url":"https://api.github.com/users/lachlanjc/followers","following_url":"https://api.github.com/users/lachlanjc/following{/other_user}","gists_url":"https://api.github.com/users/lachlanjc/gists{/gist_id}","starred_url":"https://api.github.com/users/lachlanjc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lachlanjc/subscriptions","organizations_url":"https://api.github.com/users/lachlanjc/orgs","repos_url":"https://api.github.com/users/lachlanjc/repos","events_url":"https://api.github.com/users/lachlanjc/events{/privacy}","received_events_url":"https://api.github.com/users/lachlanjc/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lachlanjc/helpful-web","description":"Help shouldn't hurt","fork":true,"url":"https://api.github.com/repos/lachlanjc/helpful-web","forks_url":"https://api.github.com/repos/lachlanjc/helpful-web/forks","keys_url":"https://api.github.com/repos/lachlanjc/helpful-web/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lachlanjc/helpful-web/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lachlanjc/helpful-web/teams","hooks_url":"https://api.github.com/repos/lachlanjc/helpful-web/hooks","issue_events_url":"https://api.github.com/repos/lachlanjc/helpful-web/issues/events{/number}","events_url":"https://api.github.com/repos/lachlanjc/helpful-web/events","assignees_url":"https://api.github.com/repos/lachlanjc/helpful-web/assignees{/user}","branches_url":"https://api.github.com/repos/lachlanjc/helpful-web/branches{/branch}","tags_url":"https://api.github.com/repos/lachlanjc/helpful-web/tags","blobs_url":"https://api.github.com/repos/lachlanjc/helpful-web/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lachlanjc/helpful-web/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lachlanjc/helpful-web/git/refs{/sha}","trees_url":"https://api.github.com/repos/lachlanjc/helpful-web/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lachlanjc/helpful-web/statuses/{sha}","languages_url":"https://api.github.com/repos/lachlanjc/helpful-web/languages","stargazers_url":"https://api.github.com/repos/lachlanjc/helpful-web/stargazers","contributors_url":"https://api.github.com/repos/lachlanjc/helpful-web/contributors","subscribers_url":"https://api.github.com/repos/lachlanjc/helpful-web/subscribers","subscription_url":"https://api.github.com/repos/lachlanjc/helpful-web/subscription","commits_url":"https://api.github.com/repos/lachlanjc/helpful-web/commits{/sha}","git_commits_url":"https://api.github.com/repos/lachlanjc/helpful-web/git/commits{/sha}","comments_url":"https://api.github.com/repos/lachlanjc/helpful-web/comments{/number}","issue_comment_url":"https://api.github.com/repos/lachlanjc/helpful-web/issues/comments/{number}","contents_url":"https://api.github.com/repos/lachlanjc/helpful-web/contents/{+path}","compare_url":"https://api.github.com/repos/lachlanjc/helpful-web/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lachlanjc/helpful-web/merges","archive_url":"https://api.github.com/repos/lachlanjc/helpful-web/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lachlanjc/helpful-web/downloads","issues_url":"https://api.github.com/repos/lachlanjc/helpful-web/issues{/number}","pulls_url":"https://api.github.com/repos/lachlanjc/helpful-web/pulls{/number}","milestones_url":"https://api.github.com/repos/lachlanjc/helpful-web/milestones{/number}","notifications_url":"https://api.github.com/repos/lachlanjc/helpful-web/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lachlanjc/helpful-web/labels{/name}","releases_url":"https://api.github.com/repos/lachlanjc/helpful-web/releases{/id}","created_at":"2014-06-08T21:31:55Z","updated_at":"2014-06-23T16:36:55Z","pushed_at":"2014-08-01T03:55:49Z","git_url":"git://github.com/lachlanjc/helpful-web.git","ssh_url":"git@github.com:lachlanjc/helpful-web.git","clone_url":"https://github.com/lachlanjc/helpful-web.git","svn_url":"https://github.com/lachlanjc/helpful-web","homepage":"http://helpful.io","size":5671,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"asm-helpful:master","ref":"master","sha":"04f70729f8115a186547d5a1ba776c357850bd48","user":{"login":"asm-helpful","id":5805541,"avatar_url":"https://avatars.githubusercontent.com/u/5805541?v=1","gravatar_id":"f241b69a71138a13bd70532669786c21","url":"https://api.github.com/users/asm-helpful","html_url":"https://github.com/asm-helpful","followers_url":"https://api.github.com/users/asm-helpful/followers","following_url":"https://api.github.com/users/asm-helpful/following{/other_user}","gists_url":"https://api.github.com/users/asm-helpful/gists{/gist_id}","starred_url":"https://api.github.com/users/asm-helpful/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asm-helpful/subscriptions","organizations_url":"https://api.github.com/users/asm-helpful/orgs","repos_url":"https://api.github.com/users/asm-helpful/repos","events_url":"https://api.github.com/users/asm-helpful/events{/privacy}","received_events_url":"https://api.github.com/users/asm-helpful/received_events","type":"Organization","site_admin":false},"repo":{"id":13961022,"name":"helpful-web","full_name":"asm-helpful/helpful-web","owner":{"login":"asm-helpful","id":5805541,"avatar_url":"https://avatars.githubusercontent.com/u/5805541?v=1","gravatar_id":"f241b69a71138a13bd70532669786c21","url":"https://api.github.com/users/asm-helpful","html_url":"https://github.com/asm-helpful","followers_url":"https://api.github.com/users/asm-helpful/followers","following_url":"https://api.github.com/users/asm-helpful/following{/other_user}","gists_url":"https://api.github.com/users/asm-helpful/gists{/gist_id}","starred_url":"https://api.github.com/users/asm-helpful/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asm-helpful/subscriptions","organizations_url":"https://api.github.com/users/asm-helpful/orgs","repos_url":"https://api.github.com/users/asm-helpful/repos","events_url":"https://api.github.com/users/asm-helpful/events{/privacy}","received_events_url":"https://api.github.com/users/asm-helpful/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/asm-helpful/helpful-web","description":"Help shouldn't hurt","fork":false,"url":"https://api.github.com/repos/asm-helpful/helpful-web","forks_url":"https://api.github.com/repos/asm-helpful/helpful-web/forks","keys_url":"https://api.github.com/repos/asm-helpful/helpful-web/keys{/key_id}","collaborators_url":"https://api.github.com/repos/asm-helpful/helpful-web/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/asm-helpful/helpful-web/teams","hooks_url":"https://api.github.com/repos/asm-helpful/helpful-web/hooks","issue_events_url":"https://api.github.com/repos/asm-helpful/helpful-web/issues/events{/number}","events_url":"https://api.github.com/repos/asm-helpful/helpful-web/events","assignees_url":"https://api.github.com/repos/asm-helpful/helpful-web/assignees{/user}","branches_url":"https://api.github.com/repos/asm-helpful/helpful-web/branches{/branch}","tags_url":"https://api.github.com/repos/asm-helpful/helpful-web/tags","blobs_url":"https://api.github.com/repos/asm-helpful/helpful-web/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/asm-helpful/helpful-web/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/asm-helpful/helpful-web/git/refs{/sha}","trees_url":"https://api.github.com/repos/asm-helpful/helpful-web/git/trees{/sha}","statuses_url":"https://api.github.com/repos/asm-helpful/helpful-web/statuses/{sha}","languages_url":"https://api.github.com/repos/asm-helpful/helpful-web/languages","stargazers_url":"https://api.github.com/repos/asm-helpful/helpful-web/stargazers","contributors_url":"https://api.github.com/repos/asm-helpful/helpful-web/contributors","subscribers_url":"https://api.github.com/repos/asm-helpful/helpful-web/subscribers","subscription_url":"https://api.github.com/repos/asm-helpful/helpful-web/subscription","commits_url":"https://api.github.com/repos/asm-helpful/helpful-web/commits{/sha}","git_commits_url":"https://api.github.com/repos/asm-helpful/helpful-web/git/commits{/sha}","comments_url":"https://api.github.com/repos/asm-helpful/helpful-web/comments{/number}","issue_comment_url":"https://api.github.com/repos/asm-helpful/helpful-web/issues/comments/{number}","contents_url":"https://api.github.com/repos/asm-helpful/helpful-web/contents/{+path}","compare_url":"https://api.github.com/repos/asm-helpful/helpful-web/compare/{base}...{head}","merges_url":"https://api.github.com/repos/asm-helpful/helpful-web/merges","archive_url":"https://api.github.com/repos/asm-helpful/helpful-web/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/asm-helpful/helpful-web/downloads","issues_url":"https://api.github.com/repos/asm-helpful/helpful-web/issues{/number}","pulls_url":"https://api.github.com/repos/asm-helpful/helpful-web/pulls{/number}","milestones_url":"https://api.github.com/repos/asm-helpful/helpful-web/milestones{/number}","notifications_url":"https://api.github.com/repos/asm-helpful/helpful-web/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/asm-helpful/helpful-web/labels{/name}","releases_url":"https://api.github.com/repos/asm-helpful/helpful-web/releases{/id}","created_at":"2013-10-29T16:09:11Z","updated_at":"2014-08-01T14:20:36Z","pushed_at":"2014-08-01T16:42:41Z","git_url":"git://github.com/asm-helpful/helpful-web.git","ssh_url":"git@github.com:asm-helpful/helpful-web.git","clone_url":"https://github.com/asm-helpful/helpful-web.git","svn_url":"https://github.com/asm-helpful/helpful-web","homepage":"http://helpful.io","size":14585,"stargazers_count":99,"watchers_count":99,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":false,"forks_count":81,"mirror_url":null,"open_issues_count":8,"forks":81,"open_issues":8,"watchers":99,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/asm-helpful/helpful-web/pulls/294"},"html":{"href":"https://github.com/asm-helpful/helpful-web/pull/294"},"issue":{"href":"https://api.github.com/repos/asm-helpful/helpful-web/issues/294"},"comments":{"href":"https://api.github.com/repos/asm-helpful/helpful-web/issues/294/comments"},"review_comments":{"href":"https://api.github.com/repos/asm-helpful/helpful-web/pulls/294/comments"},"review_comment":{"href":"https://api.github.com/repos/asm-helpful/helpful-web/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/asm-helpful/helpful-web/pulls/294/commits"},"statuses":{"href":"https://api.github.com/repos/asm-helpful/helpful-web/statuses/68971e889cf868d5e785954770f6ec803e475a2c"}}}}