{"action":"created","comment":{"url":"https://api.github.com/repos/assembl/assembl/pulls/comments/123689202","pull_request_review_id":45917442,"id":123689202,"diff_hunk":"@@ -78,19 +79,21 @@ class Question extends React.Component {\n     const maxChars = this.txtarea.props.maxLength;\n     const { questionId, scrollToQuestion, index, refetchTheme } = this.props;\n     const body = this.state.postBody;\n-    this.props.mutate({ variables: { ideaId: questionId, body: body } })\n-    .then(() => {\n-      scrollToQuestion(true, index + 1);\n-      displayAlert('success', I18n.t('debate.survey.postSuccess'));\n-      refetchTheme();\n-      this.setState({\n-        postBody: '',\n-        showSubmitButton: false,\n-        remainingChars: maxChars\n+    this.props\n+      .mutate({ variables: { ideaId: questionId, body: body } })\n+      .then(() => {\n+        scrollToQuestion(true, index + 1);\n+        displayAlert('success', I18n.t('debate.survey.postSuccess'));\n+        refetchTheme();\n+        this.setState({\n+          postBody: '',","path":"assembl/static2/js/app/components/debate/survey/question.jsx","position":36,"original_position":36,"commit_id":"13be03532bd8134d5ef356e4f6c40955f0f78b62","original_commit_id":"13be03532bd8134d5ef356e4f6c40955f0f78b62","user":{"login":"paolina92","id":17748791,"avatar_url":"https://avatars1.githubusercontent.com/u/17748791?v=3","gravatar_id":"","url":"https://api.github.com/users/paolina92","html_url":"https://github.com/paolina92","followers_url":"https://api.github.com/users/paolina92/followers","following_url":"https://api.github.com/users/paolina92/following{/other_user}","gists_url":"https://api.github.com/users/paolina92/gists{/gist_id}","starred_url":"https://api.github.com/users/paolina92/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paolina92/subscriptions","organizations_url":"https://api.github.com/users/paolina92/orgs","repos_url":"https://api.github.com/users/paolina92/repos","events_url":"https://api.github.com/users/paolina92/events{/privacy}","received_events_url":"https://api.github.com/users/paolina92/received_events","type":"User","site_admin":false},"body":"I want to empty the textarea after submitting ","created_at":"2017-06-23T07:40:59Z","updated_at":"2017-06-23T07:40:59Z","html_url":"https://github.com/assembl/assembl/pull/113#discussion_r123689202","pull_request_url":"https://api.github.com/repos/assembl/assembl/pulls/113","_links":{"self":{"href":"https://api.github.com/repos/assembl/assembl/pulls/comments/123689202"},"html":{"href":"https://github.com/assembl/assembl/pull/113#discussion_r123689202"},"pull_request":{"href":"https://api.github.com/repos/assembl/assembl/pulls/113"}}},"pull_request":{"url":"https://api.github.com/repos/assembl/assembl/pulls/113","id":127010479,"html_url":"https://github.com/assembl/assembl/pull/113","diff_url":"https://github.com/assembl/assembl/pull/113.diff","patch_url":"https://github.com/assembl/assembl/pull/113.patch","issue_url":"https://api.github.com/repos/assembl/assembl/issues/113","number":113,"state":"open","locked":false,"title":"Graphql loader clean","user":{"login":"cedricmessiant","id":405172,"avatar_url":"https://avatars2.githubusercontent.com/u/405172?v=3","gravatar_id":"","url":"https://api.github.com/users/cedricmessiant","html_url":"https://github.com/cedricmessiant","followers_url":"https://api.github.com/users/cedricmessiant/followers","following_url":"https://api.github.com/users/cedricmessiant/following{/other_user}","gists_url":"https://api.github.com/users/cedricmessiant/gists{/gist_id}","starred_url":"https://api.github.com/users/cedricmessiant/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cedricmessiant/subscriptions","organizations_url":"https://api.github.com/users/cedricmessiant/orgs","repos_url":"https://api.github.com/users/cedricmessiant/repos","events_url":"https://api.github.com/users/cedricmessiant/events{/privacy}","received_events_url":"https://api.github.com/users/cedricmessiant/received_events","type":"User","site_admin":false},"body":"and some other improvements","created_at":"2017-06-22T14:45:05Z","updated_at":"2017-06-23T07:40:59Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a89fd2cd2a9be9782250f6b689b9e13b9fe40d38","assignee":null,"assignees":[],"requested_reviewers":[{"login":"paolina92","id":17748791,"avatar_url":"https://avatars1.githubusercontent.com/u/17748791?v=3","gravatar_id":"","url":"https://api.github.com/users/paolina92","html_url":"https://github.com/paolina92","followers_url":"https://api.github.com/users/paolina92/followers","following_url":"https://api.github.com/users/paolina92/following{/other_user}","gists_url":"https://api.github.com/users/paolina92/gists{/gist_id}","starred_url":"https://api.github.com/users/paolina92/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paolina92/subscriptions","organizations_url":"https://api.github.com/users/paolina92/orgs","repos_url":"https://api.github.com/users/paolina92/repos","events_url":"https://api.github.com/users/paolina92/events{/privacy}","received_events_url":"https://api.github.com/users/paolina92/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/assembl/assembl/pulls/113/commits","review_comments_url":"https://api.github.com/repos/assembl/assembl/pulls/113/comments","review_comment_url":"https://api.github.com/repos/assembl/assembl/pulls/comments{/number}","comments_url":"https://api.github.com/repos/assembl/assembl/issues/113/comments","statuses_url":"https://api.github.com/repos/assembl/assembl/statuses/13be03532bd8134d5ef356e4f6c40955f0f78b62","head":{"label":"assembl:graphql_loader_clean","ref":"graphql_loader_clean","sha":"13be03532bd8134d5ef356e4f6c40955f0f78b62","user":{"login":"assembl","id":20449542,"avatar_url":"https://avatars0.githubusercontent.com/u/20449542?v=3","gravatar_id":"","url":"https://api.github.com/users/assembl","html_url":"https://github.com/assembl","followers_url":"https://api.github.com/users/assembl/followers","following_url":"https://api.github.com/users/assembl/following{/other_user}","gists_url":"https://api.github.com/users/assembl/gists{/gist_id}","starred_url":"https://api.github.com/users/assembl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/assembl/subscriptions","organizations_url":"https://api.github.com/users/assembl/orgs","repos_url":"https://api.github.com/users/assembl/repos","events_url":"https://api.github.com/users/assembl/events{/privacy}","received_events_url":"https://api.github.com/users/assembl/received_events","type":"Organization","site_admin":false},"repo":{"id":18962634,"name":"assembl","full_name":"assembl/assembl","owner":{"login":"assembl","id":20449542,"avatar_url":"https://avatars0.githubusercontent.com/u/20449542?v=3","gravatar_id":"","url":"https://api.github.com/users/assembl","html_url":"https://github.com/assembl","followers_url":"https://api.github.com/users/assembl/followers","following_url":"https://api.github.com/users/assembl/following{/other_user}","gists_url":"https://api.github.com/users/assembl/gists{/gist_id}","starred_url":"https://api.github.com/users/assembl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/assembl/subscriptions","organizations_url":"https://api.github.com/users/assembl/orgs","repos_url":"https://api.github.com/users/assembl/repos","events_url":"https://api.github.com/users/assembl/events{/privacy}","received_events_url":"https://api.github.com/users/assembl/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/assembl/assembl","description":"Assembl is an online debate and synthesis platform","fork":false,"url":"https://api.github.com/repos/assembl/assembl","forks_url":"https://api.github.com/repos/assembl/assembl/forks","keys_url":"https://api.github.com/repos/assembl/assembl/keys{/key_id}","collaborators_url":"https://api.github.com/repos/assembl/assembl/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/assembl/assembl/teams","hooks_url":"https://api.github.com/repos/assembl/assembl/hooks","issue_events_url":"https://api.github.com/repos/assembl/assembl/issues/events{/number}","events_url":"https://api.github.com/repos/assembl/assembl/events","assignees_url":"https://api.github.com/repos/assembl/assembl/assignees{/user}","branches_url":"https://api.github.com/repos/assembl/assembl/branches{/branch}","tags_url":"https://api.github.com/repos/assembl/assembl/tags","blobs_url":"https://api.github.com/repos/assembl/assembl/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/assembl/assembl/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/assembl/assembl/git/refs{/sha}","trees_url":"https://api.github.com/repos/assembl/assembl/git/trees{/sha}","statuses_url":"https://api.github.com/repos/assembl/assembl/statuses/{sha}","languages_url":"https://api.github.com/repos/assembl/assembl/languages","stargazers_url":"https://api.github.com/repos/assembl/assembl/stargazers","contributors_url":"https://api.github.com/repos/assembl/assembl/contributors","subscribers_url":"https://api.github.com/repos/assembl/assembl/subscribers","subscription_url":"https://api.github.com/repos/assembl/assembl/subscription","commits_url":"https://api.github.com/repos/assembl/assembl/commits{/sha}","git_commits_url":"https://api.github.com/repos/assembl/assembl/git/commits{/sha}","comments_url":"https://api.github.com/repos/assembl/assembl/comments{/number}","issue_comment_url":"https://api.github.com/repos/assembl/assembl/issues/comments{/number}","contents_url":"https://api.github.com/repos/assembl/assembl/contents/{+path}","compare_url":"https://api.github.com/repos/assembl/assembl/compare/{base}...{head}","merges_url":"https://api.github.com/repos/assembl/assembl/merges","archive_url":"https://api.github.com/repos/assembl/assembl/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/assembl/assembl/downloads","issues_url":"https://api.github.com/repos/assembl/assembl/issues{/number}","pulls_url":"https://api.github.com/repos/assembl/assembl/pulls{/number}","milestones_url":"https://api.github.com/repos/assembl/assembl/milestones{/number}","notifications_url":"https://api.github.com/repos/assembl/assembl/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/assembl/assembl/labels{/name}","releases_url":"https://api.github.com/repos/assembl/assembl/releases{/id}","deployments_url":"https://api.github.com/repos/assembl/assembl/deployments","created_at":"2014-04-20T10:52:11Z","updated_at":"2017-06-22T08:10:06Z","pushed_at":"2017-06-22T19:50:45Z","git_url":"git://github.com/assembl/assembl.git","ssh_url":"git@github.com:assembl/assembl.git","clone_url":"https://github.com/assembl/assembl.git","svn_url":"https://github.com/assembl/assembl","homepage":"http://assembl.org","size":60779,"stargazers_count":69,"watchers_count":69,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":24,"mirror_url":null,"open_issues_count":19,"forks":24,"open_issues":19,"watchers":69,"default_branch":"develop"}},"base":{"label":"assembl:develop","ref":"develop","sha":"30eee9b4395bbba79505e49fb7b8aab9972ab70c","user":{"login":"assembl","id":20449542,"avatar_url":"https://avatars0.githubusercontent.com/u/20449542?v=3","gravatar_id":"","url":"https://api.github.com/users/assembl","html_url":"https://github.com/assembl","followers_url":"https://api.github.com/users/assembl/followers","following_url":"https://api.github.com/users/assembl/following{/other_user}","gists_url":"https://api.github.com/users/assembl/gists{/gist_id}","starred_url":"https://api.github.com/users/assembl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/assembl/subscriptions","organizations_url":"https://api.github.com/users/assembl/orgs","repos_url":"https://api.github.com/users/assembl/repos","events_url":"https://api.github.com/users/assembl/events{/privacy}","received_events_url":"https://api.github.com/users/assembl/received_events","type":"Organization","site_admin":false},"repo":{"id":18962634,"name":"assembl","full_name":"assembl/assembl","owner":{"login":"assembl","id":20449542,"avatar_url":"https://avatars0.githubusercontent.com/u/20449542?v=3","gravatar_id":"","url":"https://api.github.com/users/assembl","html_url":"https://github.com/assembl","followers_url":"https://api.github.com/users/assembl/followers","following_url":"https://api.github.com/users/assembl/following{/other_user}","gists_url":"https://api.github.com/users/assembl/gists{/gist_id}","starred_url":"https://api.github.com/users/assembl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/assembl/subscriptions","organizations_url":"https://api.github.com/users/assembl/orgs","repos_url":"https://api.github.com/users/assembl/repos","events_url":"https://api.github.com/users/assembl/events{/privacy}","received_events_url":"https://api.github.com/users/assembl/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/assembl/assembl","description":"Assembl is an online debate and synthesis platform","fork":false,"url":"https://api.github.com/repos/assembl/assembl","forks_url":"https://api.github.com/repos/assembl/assembl/forks","keys_url":"https://api.github.com/repos/assembl/assembl/keys{/key_id}","collaborators_url":"https://api.github.com/repos/assembl/assembl/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/assembl/assembl/teams","hooks_url":"https://api.github.com/repos/assembl/assembl/hooks","issue_events_url":"https://api.github.com/repos/assembl/assembl/issues/events{/number}","events_url":"https://api.github.com/repos/assembl/assembl/events","assignees_url":"https://api.github.com/repos/assembl/assembl/assignees{/user}","branches_url":"https://api.github.com/repos/assembl/assembl/branches{/branch}","tags_url":"https://api.github.com/repos/assembl/assembl/tags","blobs_url":"https://api.github.com/repos/assembl/assembl/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/assembl/assembl/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/assembl/assembl/git/refs{/sha}","trees_url":"https://api.github.com/repos/assembl/assembl/git/trees{/sha}","statuses_url":"https://api.github.com/repos/assembl/assembl/statuses/{sha}","languages_url":"https://api.github.com/repos/assembl/assembl/languages","stargazers_url":"https://api.github.com/repos/assembl/assembl/stargazers","contributors_url":"https://api.github.com/repos/assembl/assembl/contributors","subscribers_url":"https://api.github.com/repos/assembl/assembl/subscribers","subscription_url":"https://api.github.com/repos/assembl/assembl/subscription","commits_url":"https://api.github.com/repos/assembl/assembl/commits{/sha}","git_commits_url":"https://api.github.com/repos/assembl/assembl/git/commits{/sha}","comments_url":"https://api.github.com/repos/assembl/assembl/comments{/number}","issue_comment_url":"https://api.github.com/repos/assembl/assembl/issues/comments{/number}","contents_url":"https://api.github.com/repos/assembl/assembl/contents/{+path}","compare_url":"https://api.github.com/repos/assembl/assembl/compare/{base}...{head}","merges_url":"https://api.github.com/repos/assembl/assembl/merges","archive_url":"https://api.github.com/repos/assembl/assembl/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/assembl/assembl/downloads","issues_url":"https://api.github.com/repos/assembl/assembl/issues{/number}","pulls_url":"https://api.github.com/repos/assembl/assembl/pulls{/number}","milestones_url":"https://api.github.com/repos/assembl/assembl/milestones{/number}","notifications_url":"https://api.github.com/repos/assembl/assembl/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/assembl/assembl/labels{/name}","releases_url":"https://api.github.com/repos/assembl/assembl/releases{/id}","deployments_url":"https://api.github.com/repos/assembl/assembl/deployments","created_at":"2014-04-20T10:52:11Z","updated_at":"2017-06-22T08:10:06Z","pushed_at":"2017-06-22T19:50:45Z","git_url":"git://github.com/assembl/assembl.git","ssh_url":"git@github.com:assembl/assembl.git","clone_url":"https://github.com/assembl/assembl.git","svn_url":"https://github.com/assembl/assembl","homepage":"http://assembl.org","size":60779,"stargazers_count":69,"watchers_count":69,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":24,"mirror_url":null,"open_issues_count":19,"forks":24,"open_issues":19,"watchers":69,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/assembl/assembl/pulls/113"},"html":{"href":"https://github.com/assembl/assembl/pull/113"},"issue":{"href":"https://api.github.com/repos/assembl/assembl/issues/113"},"comments":{"href":"https://api.github.com/repos/assembl/assembl/issues/113/comments"},"review_comments":{"href":"https://api.github.com/repos/assembl/assembl/pulls/113/comments"},"review_comment":{"href":"https://api.github.com/repos/assembl/assembl/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/assembl/assembl/pulls/113/commits"},"statuses":{"href":"https://api.github.com/repos/assembl/assembl/statuses/13be03532bd8134d5ef356e4f6c40955f0f78b62"}}}}
{"actor":{"display_login":"paolina92"}}