{"action":"created","comment":{"url":"https://api.github.com/repos/bebraven/platform/pulls/comments/344275959","pull_request_review_id":314337900,"id":344275959,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDM0NDI3NTk1OQ==","diff_hunk":"@@ -20,7 +20,25 @@\n \n   <div class=\"field\">\n     <%= form.label :body %>\n-    <%= react_component('ContentEditor', { data: content.body }) %>\n+    <%= react_component('ContentEditor', { data: content.body,\n+        contentParts: [","path":"app/views/contents/_form.html.erb","position":6,"original_position":6,"commit_id":"b0e441148f8d3a37ad94d8e8acc89db37e21f52e","original_commit_id":"b0e441148f8d3a37ad94d8e8acc89db37e21f52e","user":{"login":"rshipp","id":1382374,"node_id":"MDQ6VXNlcjEzODIzNzQ=","avatar_url":"https://avatars0.githubusercontent.com/u/1382374?v=4","gravatar_id":"","url":"https://api.github.com/users/rshipp","html_url":"https://github.com/rshipp","followers_url":"https://api.github.com/users/rshipp/followers","following_url":"https://api.github.com/users/rshipp/following{/other_user}","gists_url":"https://api.github.com/users/rshipp/gists{/gist_id}","starred_url":"https://api.github.com/users/rshipp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rshipp/subscriptions","organizations_url":"https://api.github.com/users/rshipp/orgs","repos_url":"https://api.github.com/users/rshipp/repos","events_url":"https://api.github.com/users/rshipp/events{/privacy}","received_events_url":"https://api.github.com/users/rshipp/received_events","type":"User","site_admin":false},"body":"we'd read this `contentParts` thing from the database, this hardcoded list is just for the demo","created_at":"2019-11-08T17:07:12Z","updated_at":"2019-11-08T17:07:13Z","html_url":"https://github.com/bebraven/platform/pull/27#discussion_r344275959","pull_request_url":"https://api.github.com/repos/bebraven/platform/pulls/27","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/bebraven/platform/pulls/comments/344275959"},"html":{"href":"https://github.com/bebraven/platform/pull/27#discussion_r344275959"},"pull_request":{"href":"https://api.github.com/repos/bebraven/platform/pulls/27"}}},"pull_request":{"url":"https://api.github.com/repos/bebraven/platform/pulls/27","id":338765984,"node_id":"MDExOlB1bGxSZXF1ZXN0MzM4NzY1OTg0","html_url":"https://github.com/bebraven/platform/pull/27","diff_url":"https://github.com/bebraven/platform/pull/27.diff","patch_url":"https://github.com/bebraven/platform/pull/27.patch","issue_url":"https://api.github.com/repos/bebraven/platform/issues/27","number":27,"state":"open","locked":false,"title":"Initial editor demo implementation","user":{"login":"rshipp","id":1382374,"node_id":"MDQ6VXNlcjEzODIzNzQ=","avatar_url":"https://avatars0.githubusercontent.com/u/1382374?v=4","gravatar_id":"","url":"https://api.github.com/users/rshipp","html_url":"https://github.com/rshipp","followers_url":"https://api.github.com/users/rshipp/followers","following_url":"https://api.github.com/users/rshipp/following{/other_user}","gists_url":"https://api.github.com/users/rshipp/gists{/gist_id}","starred_url":"https://api.github.com/users/rshipp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rshipp/subscriptions","organizations_url":"https://api.github.com/users/rshipp/orgs","repos_url":"https://api.github.com/users/rshipp/repos","events_url":"https://api.github.com/users/rshipp/events{/privacy}","received_events_url":"https://api.github.com/users/rshipp/received_events","type":"User","site_admin":false},"body":"Task: https://app.asana.com/0/1143269577537246/1147692631250862/f\r\n\r\nSummary: Implement a barebones demo of inserting custom React components into an editor with balloon and block toolbars, and an HTML view. Edit/create functionality is restored.\r\n\r\nPlay around with the demo (as admin): https://platform-editor-feature-gvhjaq.herokuapp.com/contents/new\r\n\r\n(You can just collapse the ckeditor inspector on the bottom half of the page - that's there for debugging purposes only.)\r\n\r\nThis is basically pieces taken from CKEditor's [React widget demo](https://ckeditor.com/docs/ckeditor5/latest/framework/guides/tutorials/using-react-in-a-widget.html), and [balloon-block editor build](https://ckeditor.com/docs/ckeditor5/latest/builds/guides/overview.html#balloon-block-editor), and fit into our app.","created_at":"2019-11-08T16:54:51Z","updated_at":"2019-11-08T17:07:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7d6c3d1d4f08043f8a7a2329fc4da45b93fcedc3","assignee":null,"assignees":[],"requested_reviewers":[{"login":"sadleb","id":5596986,"node_id":"MDQ6VXNlcjU1OTY5ODY=","avatar_url":"https://avatars3.githubusercontent.com/u/5596986?v=4","gravatar_id":"","url":"https://api.github.com/users/sadleb","html_url":"https://github.com/sadleb","followers_url":"https://api.github.com/users/sadleb/followers","following_url":"https://api.github.com/users/sadleb/following{/other_user}","gists_url":"https://api.github.com/users/sadleb/gists{/gist_id}","starred_url":"https://api.github.com/users/sadleb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sadleb/subscriptions","organizations_url":"https://api.github.com/users/sadleb/orgs","repos_url":"https://api.github.com/users/sadleb/repos","events_url":"https://api.github.com/users/sadleb/events{/privacy}","received_events_url":"https://api.github.com/users/sadleb/received_events","type":"User","site_admin":false},{"login":"StetsenTech","id":6282624,"node_id":"MDQ6VXNlcjYyODI2MjQ=","avatar_url":"https://avatars1.githubusercontent.com/u/6282624?v=4","gravatar_id":"","url":"https://api.github.com/users/StetsenTech","html_url":"https://github.com/StetsenTech","followers_url":"https://api.github.com/users/StetsenTech/followers","following_url":"https://api.github.com/users/StetsenTech/following{/other_user}","gists_url":"https://api.github.com/users/StetsenTech/gists{/gist_id}","starred_url":"https://api.github.com/users/StetsenTech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StetsenTech/subscriptions","organizations_url":"https://api.github.com/users/StetsenTech/orgs","repos_url":"https://api.github.com/users/StetsenTech/repos","events_url":"https://api.github.com/users/StetsenTech/events{/privacy}","received_events_url":"https://api.github.com/users/StetsenTech/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/bebraven/platform/pulls/27/commits","review_comments_url":"https://api.github.com/repos/bebraven/platform/pulls/27/comments","review_comment_url":"https://api.github.com/repos/bebraven/platform/pulls/comments{/number}","comments_url":"https://api.github.com/repos/bebraven/platform/issues/27/comments","statuses_url":"https://api.github.com/repos/bebraven/platform/statuses/b0e441148f8d3a37ad94d8e8acc89db37e21f52e","head":{"label":"bebraven:editor-features","ref":"editor-features","sha":"b0e441148f8d3a37ad94d8e8acc89db37e21f52e","user":{"login":"bebraven","id":13038402,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEzMDM4NDAy","avatar_url":"https://avatars1.githubusercontent.com/u/13038402?v=4","gravatar_id":"","url":"https://api.github.com/users/bebraven","html_url":"https://github.com/bebraven","followers_url":"https://api.github.com/users/bebraven/followers","following_url":"https://api.github.com/users/bebraven/following{/other_user}","gists_url":"https://api.github.com/users/bebraven/gists{/gist_id}","starred_url":"https://api.github.com/users/bebraven/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bebraven/subscriptions","organizations_url":"https://api.github.com/users/bebraven/orgs","repos_url":"https://api.github.com/users/bebraven/repos","events_url":"https://api.github.com/users/bebraven/events{/privacy}","received_events_url":"https://api.github.com/users/bebraven/received_events","type":"Organization","site_admin":false},"repo":{"id":213703502,"node_id":"MDEwOlJlcG9zaXRvcnkyMTM3MDM1MDI=","name":"platform","full_name":"bebraven/platform","private":false,"owner":{"login":"bebraven","id":13038402,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEzMDM4NDAy","avatar_url":"https://avatars1.githubusercontent.com/u/13038402?v=4","gravatar_id":"","url":"https://api.github.com/users/bebraven","html_url":"https://github.com/bebraven","followers_url":"https://api.github.com/users/bebraven/followers","following_url":"https://api.github.com/users/bebraven/following{/other_user}","gists_url":"https://api.github.com/users/bebraven/gists{/gist_id}","starred_url":"https://api.github.com/users/bebraven/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bebraven/subscriptions","organizations_url":"https://api.github.com/users/bebraven/orgs","repos_url":"https://api.github.com/users/bebraven/repos","events_url":"https://api.github.com/users/bebraven/events{/privacy}","received_events_url":"https://api.github.com/users/bebraven/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/bebraven/platform","description":"The new Braven Platform that we're going to consolidate all of our disparate apps into over the coming year or two.","fork":false,"url":"https://api.github.com/repos/bebraven/platform","forks_url":"https://api.github.com/repos/bebraven/platform/forks","keys_url":"https://api.github.com/repos/bebraven/platform/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bebraven/platform/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bebraven/platform/teams","hooks_url":"https://api.github.com/repos/bebraven/platform/hooks","issue_events_url":"https://api.github.com/repos/bebraven/platform/issues/events{/number}","events_url":"https://api.github.com/repos/bebraven/platform/events","assignees_url":"https://api.github.com/repos/bebraven/platform/assignees{/user}","branches_url":"https://api.github.com/repos/bebraven/platform/branches{/branch}","tags_url":"https://api.github.com/repos/bebraven/platform/tags","blobs_url":"https://api.github.com/repos/bebraven/platform/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bebraven/platform/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bebraven/platform/git/refs{/sha}","trees_url":"https://api.github.com/repos/bebraven/platform/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bebraven/platform/statuses/{sha}","languages_url":"https://api.github.com/repos/bebraven/platform/languages","stargazers_url":"https://api.github.com/repos/bebraven/platform/stargazers","contributors_url":"https://api.github.com/repos/bebraven/platform/contributors","subscribers_url":"https://api.github.com/repos/bebraven/platform/subscribers","subscription_url":"https://api.github.com/repos/bebraven/platform/subscription","commits_url":"https://api.github.com/repos/bebraven/platform/commits{/sha}","git_commits_url":"https://api.github.com/repos/bebraven/platform/git/commits{/sha}","comments_url":"https://api.github.com/repos/bebraven/platform/comments{/number}","issue_comment_url":"https://api.github.com/repos/bebraven/platform/issues/comments{/number}","contents_url":"https://api.github.com/repos/bebraven/platform/contents/{+path}","compare_url":"https://api.github.com/repos/bebraven/platform/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bebraven/platform/merges","archive_url":"https://api.github.com/repos/bebraven/platform/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bebraven/platform/downloads","issues_url":"https://api.github.com/repos/bebraven/platform/issues{/number}","pulls_url":"https://api.github.com/repos/bebraven/platform/pulls{/number}","milestones_url":"https://api.github.com/repos/bebraven/platform/milestones{/number}","notifications_url":"https://api.github.com/repos/bebraven/platform/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bebraven/platform/labels{/name}","releases_url":"https://api.github.com/repos/bebraven/platform/releases{/id}","deployments_url":"https://api.github.com/repos/bebraven/platform/deployments","created_at":"2019-10-08T17:06:39Z","updated_at":"2019-11-08T00:08:07Z","pushed_at":"2019-11-08T16:54:52Z","git_url":"git://github.com/bebraven/platform.git","ssh_url":"git@github.com:bebraven/platform.git","clone_url":"https://github.com/bebraven/platform.git","svn_url":"https://github.com/bebraven/platform","homepage":null,"size":441,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":2,"license":null,"forks":0,"open_issues":2,"watchers":0,"default_branch":"staging"}},"base":{"label":"bebraven:staging","ref":"staging","sha":"6f7fb0c48b21ded1ef3b3fdb1b9f7463d53b331c","user":{"login":"bebraven","id":13038402,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEzMDM4NDAy","avatar_url":"https://avatars1.githubusercontent.com/u/13038402?v=4","gravatar_id":"","url":"https://api.github.com/users/bebraven","html_url":"https://github.com/bebraven","followers_url":"https://api.github.com/users/bebraven/followers","following_url":"https://api.github.com/users/bebraven/following{/other_user}","gists_url":"https://api.github.com/users/bebraven/gists{/gist_id}","starred_url":"https://api.github.com/users/bebraven/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bebraven/subscriptions","organizations_url":"https://api.github.com/users/bebraven/orgs","repos_url":"https://api.github.com/users/bebraven/repos","events_url":"https://api.github.com/users/bebraven/events{/privacy}","received_events_url":"https://api.github.com/users/bebraven/received_events","type":"Organization","site_admin":false},"repo":{"id":213703502,"node_id":"MDEwOlJlcG9zaXRvcnkyMTM3MDM1MDI=","name":"platform","full_name":"bebraven/platform","private":false,"owner":{"login":"bebraven","id":13038402,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEzMDM4NDAy","avatar_url":"https://avatars1.githubusercontent.com/u/13038402?v=4","gravatar_id":"","url":"https://api.github.com/users/bebraven","html_url":"https://github.com/bebraven","followers_url":"https://api.github.com/users/bebraven/followers","following_url":"https://api.github.com/users/bebraven/following{/other_user}","gists_url":"https://api.github.com/users/bebraven/gists{/gist_id}","starred_url":"https://api.github.com/users/bebraven/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bebraven/subscriptions","organizations_url":"https://api.github.com/users/bebraven/orgs","repos_url":"https://api.github.com/users/bebraven/repos","events_url":"https://api.github.com/users/bebraven/events{/privacy}","received_events_url":"https://api.github.com/users/bebraven/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/bebraven/platform","description":"The new Braven Platform that we're going to consolidate all of our disparate apps into over the coming year or two.","fork":false,"url":"https://api.github.com/repos/bebraven/platform","forks_url":"https://api.github.com/repos/bebraven/platform/forks","keys_url":"https://api.github.com/repos/bebraven/platform/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bebraven/platform/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bebraven/platform/teams","hooks_url":"https://api.github.com/repos/bebraven/platform/hooks","issue_events_url":"https://api.github.com/repos/bebraven/platform/issues/events{/number}","events_url":"https://api.github.com/repos/bebraven/platform/events","assignees_url":"https://api.github.com/repos/bebraven/platform/assignees{/user}","branches_url":"https://api.github.com/repos/bebraven/platform/branches{/branch}","tags_url":"https://api.github.com/repos/bebraven/platform/tags","blobs_url":"https://api.github.com/repos/bebraven/platform/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bebraven/platform/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bebraven/platform/git/refs{/sha}","trees_url":"https://api.github.com/repos/bebraven/platform/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bebraven/platform/statuses/{sha}","languages_url":"https://api.github.com/repos/bebraven/platform/languages","stargazers_url":"https://api.github.com/repos/bebraven/platform/stargazers","contributors_url":"https://api.github.com/repos/bebraven/platform/contributors","subscribers_url":"https://api.github.com/repos/bebraven/platform/subscribers","subscription_url":"https://api.github.com/repos/bebraven/platform/subscription","commits_url":"https://api.github.com/repos/bebraven/platform/commits{/sha}","git_commits_url":"https://api.github.com/repos/bebraven/platform/git/commits{/sha}","comments_url":"https://api.github.com/repos/bebraven/platform/comments{/number}","issue_comment_url":"https://api.github.com/repos/bebraven/platform/issues/comments{/number}","contents_url":"https://api.github.com/repos/bebraven/platform/contents/{+path}","compare_url":"https://api.github.com/repos/bebraven/platform/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bebraven/platform/merges","archive_url":"https://api.github.com/repos/bebraven/platform/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bebraven/platform/downloads","issues_url":"https://api.github.com/repos/bebraven/platform/issues{/number}","pulls_url":"https://api.github.com/repos/bebraven/platform/pulls{/number}","milestones_url":"https://api.github.com/repos/bebraven/platform/milestones{/number}","notifications_url":"https://api.github.com/repos/bebraven/platform/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bebraven/platform/labels{/name}","releases_url":"https://api.github.com/repos/bebraven/platform/releases{/id}","deployments_url":"https://api.github.com/repos/bebraven/platform/deployments","created_at":"2019-10-08T17:06:39Z","updated_at":"2019-11-08T00:08:07Z","pushed_at":"2019-11-08T16:54:52Z","git_url":"git://github.com/bebraven/platform.git","ssh_url":"git@github.com:bebraven/platform.git","clone_url":"https://github.com/bebraven/platform.git","svn_url":"https://github.com/bebraven/platform","homepage":null,"size":441,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":2,"license":null,"forks":0,"open_issues":2,"watchers":0,"default_branch":"staging"}},"_links":{"self":{"href":"https://api.github.com/repos/bebraven/platform/pulls/27"},"html":{"href":"https://github.com/bebraven/platform/pull/27"},"issue":{"href":"https://api.github.com/repos/bebraven/platform/issues/27"},"comments":{"href":"https://api.github.com/repos/bebraven/platform/issues/27/comments"},"review_comments":{"href":"https://api.github.com/repos/bebraven/platform/pulls/27/comments"},"review_comment":{"href":"https://api.github.com/repos/bebraven/platform/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/bebraven/platform/pulls/27/commits"},"statuses":{"href":"https://api.github.com/repos/bebraven/platform/statuses/b0e441148f8d3a37ad94d8e8acc89db37e21f52e"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"rshipp"}}