{"action":"closed","number":783,"pull_request":{"url":"https://api.github.com/repos/okfn/opendatacensus/pulls/783","id":86322182,"html_url":"https://github.com/okfn/opendatacensus/pull/783","diff_url":"https://github.com/okfn/opendatacensus/pull/783.diff","patch_url":"https://github.com/okfn/opendatacensus/pull/783.patch","issue_url":"https://api.github.com/repos/okfn/opendatacensus/issues/783","number":783,"state":"closed","locked":false,"title":"Add QuestionFieldText React component","user":{"login":"brew","id":3993,"avatar_url":"https://avatars.githubusercontent.com/u/3993?v=3","gravatar_id":"","url":"https://api.github.com/users/brew","html_url":"https://github.com/brew","followers_url":"https://api.github.com/users/brew/followers","following_url":"https://api.github.com/users/brew/following{/other_user}","gists_url":"https://api.github.com/users/brew/gists{/gist_id}","starred_url":"https://api.github.com/users/brew/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brew/subscriptions","organizations_url":"https://api.github.com/users/brew/orgs","repos_url":"https://api.github.com/users/brew/repos","events_url":"https://api.github.com/users/brew/events{/privacy}","received_events_url":"https://api.github.com/users/brew/received_events","type":"User","site_admin":false},"body":"This new React component renders text questions, corresponding with the `text` question type. This forms part of the \"Implement all Question types\" requirement of #753.\r\n\r\nThe two question components (`QuestionFieldText`, `QuestionFieldYesNo`) now share common features, first by using composition, sharing `QuestionComment` and `QuestionInstructions` components, and also by using the Higher-order Component pattern, where shared functions are in the `baseQuestionField` component.\r\n\r\nWhen reviewing, ignore changed files in `census/static/scripts/`, as these are compiled by webpack from files in `census/ui_app/` (which should be reviewed).","created_at":"2016-09-22T11:45:06Z","updated_at":"2016-09-22T15:47:09Z","closed_at":"2016-09-22T15:47:09Z","merged_at":"2016-09-22T15:47:09Z","merge_commit_sha":"59d65e13f57e396bfbc5b340263ac3f5dcc3422e","assignee":{"login":"nightsh","id":1579997,"avatar_url":"https://avatars.githubusercontent.com/u/1579997?v=3","gravatar_id":"","url":"https://api.github.com/users/nightsh","html_url":"https://github.com/nightsh","followers_url":"https://api.github.com/users/nightsh/followers","following_url":"https://api.github.com/users/nightsh/following{/other_user}","gists_url":"https://api.github.com/users/nightsh/gists{/gist_id}","starred_url":"https://api.github.com/users/nightsh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nightsh/subscriptions","organizations_url":"https://api.github.com/users/nightsh/orgs","repos_url":"https://api.github.com/users/nightsh/repos","events_url":"https://api.github.com/users/nightsh/events{/privacy}","received_events_url":"https://api.github.com/users/nightsh/received_events","type":"User","site_admin":false},"assignees":[{"login":"nightsh","id":1579997,"avatar_url":"https://avatars.githubusercontent.com/u/1579997?v=3","gravatar_id":"","url":"https://api.github.com/users/nightsh","html_url":"https://github.com/nightsh","followers_url":"https://api.github.com/users/nightsh/followers","following_url":"https://api.github.com/users/nightsh/following{/other_user}","gists_url":"https://api.github.com/users/nightsh/gists{/gist_id}","starred_url":"https://api.github.com/users/nightsh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nightsh/subscriptions","organizations_url":"https://api.github.com/users/nightsh/orgs","repos_url":"https://api.github.com/users/nightsh/repos","events_url":"https://api.github.com/users/nightsh/events{/privacy}","received_events_url":"https://api.github.com/users/nightsh/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/okfn/opendatacensus/pulls/783/commits","review_comments_url":"https://api.github.com/repos/okfn/opendatacensus/pulls/783/comments","review_comment_url":"https://api.github.com/repos/okfn/opendatacensus/pulls/comments{/number}","comments_url":"https://api.github.com/repos/okfn/opendatacensus/issues/783/comments","statuses_url":"https://api.github.com/repos/okfn/opendatacensus/statuses/59d65e13f57e396bfbc5b340263ac3f5dcc3422e","head":{"label":"okfn:survey-strat/questionfieldtext","ref":"survey-strat/questionfieldtext","sha":"59d65e13f57e396bfbc5b340263ac3f5dcc3422e","user":{"login":"okfn","id":304263,"avatar_url":"https://avatars.githubusercontent.com/u/304263?v=3","gravatar_id":"","url":"https://api.github.com/users/okfn","html_url":"https://github.com/okfn","followers_url":"https://api.github.com/users/okfn/followers","following_url":"https://api.github.com/users/okfn/following{/other_user}","gists_url":"https://api.github.com/users/okfn/gists{/gist_id}","starred_url":"https://api.github.com/users/okfn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/okfn/subscriptions","organizations_url":"https://api.github.com/users/okfn/orgs","repos_url":"https://api.github.com/users/okfn/repos","events_url":"https://api.github.com/users/okfn/events{/privacy}","received_events_url":"https://api.github.com/users/okfn/received_events","type":"Organization","site_admin":false},"repo":{"id":5691560,"name":"opendatacensus","full_name":"okfn/opendatacensus","owner":{"login":"okfn","id":304263,"avatar_url":"https://avatars.githubusercontent.com/u/304263?v=3","gravatar_id":"","url":"https://api.github.com/users/okfn","html_url":"https://github.com/okfn","followers_url":"https://api.github.com/users/okfn/followers","following_url":"https://api.github.com/users/okfn/following{/other_user}","gists_url":"https://api.github.com/users/okfn/gists{/gist_id}","starred_url":"https://api.github.com/users/okfn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/okfn/subscriptions","organizations_url":"https://api.github.com/users/okfn/orgs","repos_url":"https://api.github.com/users/okfn/repos","events_url":"https://api.github.com/users/okfn/events{/privacy}","received_events_url":"https://api.github.com/users/okfn/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/okfn/opendatacensus","description":"The Open Data Census application.","fork":false,"url":"https://api.github.com/repos/okfn/opendatacensus","forks_url":"https://api.github.com/repos/okfn/opendatacensus/forks","keys_url":"https://api.github.com/repos/okfn/opendatacensus/keys{/key_id}","collaborators_url":"https://api.github.com/repos/okfn/opendatacensus/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/okfn/opendatacensus/teams","hooks_url":"https://api.github.com/repos/okfn/opendatacensus/hooks","issue_events_url":"https://api.github.com/repos/okfn/opendatacensus/issues/events{/number}","events_url":"https://api.github.com/repos/okfn/opendatacensus/events","assignees_url":"https://api.github.com/repos/okfn/opendatacensus/assignees{/user}","branches_url":"https://api.github.com/repos/okfn/opendatacensus/branches{/branch}","tags_url":"https://api.github.com/repos/okfn/opendatacensus/tags","blobs_url":"https://api.github.com/repos/okfn/opendatacensus/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/okfn/opendatacensus/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/okfn/opendatacensus/git/refs{/sha}","trees_url":"https://api.github.com/repos/okfn/opendatacensus/git/trees{/sha}","statuses_url":"https://api.github.com/repos/okfn/opendatacensus/statuses/{sha}","languages_url":"https://api.github.com/repos/okfn/opendatacensus/languages","stargazers_url":"https://api.github.com/repos/okfn/opendatacensus/stargazers","contributors_url":"https://api.github.com/repos/okfn/opendatacensus/contributors","subscribers_url":"https://api.github.com/repos/okfn/opendatacensus/subscribers","subscription_url":"https://api.github.com/repos/okfn/opendatacensus/subscription","commits_url":"https://api.github.com/repos/okfn/opendatacensus/commits{/sha}","git_commits_url":"https://api.github.com/repos/okfn/opendatacensus/git/commits{/sha}","comments_url":"https://api.github.com/repos/okfn/opendatacensus/comments{/number}","issue_comment_url":"https://api.github.com/repos/okfn/opendatacensus/issues/comments{/number}","contents_url":"https://api.github.com/repos/okfn/opendatacensus/contents/{+path}","compare_url":"https://api.github.com/repos/okfn/opendatacensus/compare/{base}...{head}","merges_url":"https://api.github.com/repos/okfn/opendatacensus/merges","archive_url":"https://api.github.com/repos/okfn/opendatacensus/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/okfn/opendatacensus/downloads","issues_url":"https://api.github.com/repos/okfn/opendatacensus/issues{/number}","pulls_url":"https://api.github.com/repos/okfn/opendatacensus/pulls{/number}","milestones_url":"https://api.github.com/repos/okfn/opendatacensus/milestones{/number}","notifications_url":"https://api.github.com/repos/okfn/opendatacensus/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/okfn/opendatacensus/labels{/name}","releases_url":"https://api.github.com/repos/okfn/opendatacensus/releases{/id}","deployments_url":"https://api.github.com/repos/okfn/opendatacensus/deployments","created_at":"2012-09-05T18:34:13Z","updated_at":"2016-08-24T18:28:33Z","pushed_at":"2016-09-22T15:47:08Z","git_url":"git://github.com/okfn/opendatacensus.git","ssh_url":"git@github.com:okfn/opendatacensus.git","clone_url":"https://github.com/okfn/opendatacensus.git","svn_url":"https://github.com/okfn/opendatacensus","homepage":"http://census.okfn.org/","size":8485,"stargazers_count":88,"watchers_count":88,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":70,"mirror_url":null,"open_issues_count":21,"forks":70,"open_issues":21,"watchers":88,"default_branch":"master"}},"base":{"label":"okfn:master","ref":"master","sha":"c445fd8ecac99b2974e049b188955df23d8cbfbb","user":{"login":"okfn","id":304263,"avatar_url":"https://avatars.githubusercontent.com/u/304263?v=3","gravatar_id":"","url":"https://api.github.com/users/okfn","html_url":"https://github.com/okfn","followers_url":"https://api.github.com/users/okfn/followers","following_url":"https://api.github.com/users/okfn/following{/other_user}","gists_url":"https://api.github.com/users/okfn/gists{/gist_id}","starred_url":"https://api.github.com/users/okfn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/okfn/subscriptions","organizations_url":"https://api.github.com/users/okfn/orgs","repos_url":"https://api.github.com/users/okfn/repos","events_url":"https://api.github.com/users/okfn/events{/privacy}","received_events_url":"https://api.github.com/users/okfn/received_events","type":"Organization","site_admin":false},"repo":{"id":5691560,"name":"opendatacensus","full_name":"okfn/opendatacensus","owner":{"login":"okfn","id":304263,"avatar_url":"https://avatars.githubusercontent.com/u/304263?v=3","gravatar_id":"","url":"https://api.github.com/users/okfn","html_url":"https://github.com/okfn","followers_url":"https://api.github.com/users/okfn/followers","following_url":"https://api.github.com/users/okfn/following{/other_user}","gists_url":"https://api.github.com/users/okfn/gists{/gist_id}","starred_url":"https://api.github.com/users/okfn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/okfn/subscriptions","organizations_url":"https://api.github.com/users/okfn/orgs","repos_url":"https://api.github.com/users/okfn/repos","events_url":"https://api.github.com/users/okfn/events{/privacy}","received_events_url":"https://api.github.com/users/okfn/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/okfn/opendatacensus","description":"The Open Data Census application.","fork":false,"url":"https://api.github.com/repos/okfn/opendatacensus","forks_url":"https://api.github.com/repos/okfn/opendatacensus/forks","keys_url":"https://api.github.com/repos/okfn/opendatacensus/keys{/key_id}","collaborators_url":"https://api.github.com/repos/okfn/opendatacensus/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/okfn/opendatacensus/teams","hooks_url":"https://api.github.com/repos/okfn/opendatacensus/hooks","issue_events_url":"https://api.github.com/repos/okfn/opendatacensus/issues/events{/number}","events_url":"https://api.github.com/repos/okfn/opendatacensus/events","assignees_url":"https://api.github.com/repos/okfn/opendatacensus/assignees{/user}","branches_url":"https://api.github.com/repos/okfn/opendatacensus/branches{/branch}","tags_url":"https://api.github.com/repos/okfn/opendatacensus/tags","blobs_url":"https://api.github.com/repos/okfn/opendatacensus/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/okfn/opendatacensus/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/okfn/opendatacensus/git/refs{/sha}","trees_url":"https://api.github.com/repos/okfn/opendatacensus/git/trees{/sha}","statuses_url":"https://api.github.com/repos/okfn/opendatacensus/statuses/{sha}","languages_url":"https://api.github.com/repos/okfn/opendatacensus/languages","stargazers_url":"https://api.github.com/repos/okfn/opendatacensus/stargazers","contributors_url":"https://api.github.com/repos/okfn/opendatacensus/contributors","subscribers_url":"https://api.github.com/repos/okfn/opendatacensus/subscribers","subscription_url":"https://api.github.com/repos/okfn/opendatacensus/subscription","commits_url":"https://api.github.com/repos/okfn/opendatacensus/commits{/sha}","git_commits_url":"https://api.github.com/repos/okfn/opendatacensus/git/commits{/sha}","comments_url":"https://api.github.com/repos/okfn/opendatacensus/comments{/number}","issue_comment_url":"https://api.github.com/repos/okfn/opendatacensus/issues/comments{/number}","contents_url":"https://api.github.com/repos/okfn/opendatacensus/contents/{+path}","compare_url":"https://api.github.com/repos/okfn/opendatacensus/compare/{base}...{head}","merges_url":"https://api.github.com/repos/okfn/opendatacensus/merges","archive_url":"https://api.github.com/repos/okfn/opendatacensus/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/okfn/opendatacensus/downloads","issues_url":"https://api.github.com/repos/okfn/opendatacensus/issues{/number}","pulls_url":"https://api.github.com/repos/okfn/opendatacensus/pulls{/number}","milestones_url":"https://api.github.com/repos/okfn/opendatacensus/milestones{/number}","notifications_url":"https://api.github.com/repos/okfn/opendatacensus/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/okfn/opendatacensus/labels{/name}","releases_url":"https://api.github.com/repos/okfn/opendatacensus/releases{/id}","deployments_url":"https://api.github.com/repos/okfn/opendatacensus/deployments","created_at":"2012-09-05T18:34:13Z","updated_at":"2016-08-24T18:28:33Z","pushed_at":"2016-09-22T15:47:08Z","git_url":"git://github.com/okfn/opendatacensus.git","ssh_url":"git@github.com:okfn/opendatacensus.git","clone_url":"https://github.com/okfn/opendatacensus.git","svn_url":"https://github.com/okfn/opendatacensus","homepage":"http://census.okfn.org/","size":8485,"stargazers_count":88,"watchers_count":88,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":70,"mirror_url":null,"open_issues_count":21,"forks":70,"open_issues":21,"watchers":88,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/okfn/opendatacensus/pulls/783"},"html":{"href":"https://github.com/okfn/opendatacensus/pull/783"},"issue":{"href":"https://api.github.com/repos/okfn/opendatacensus/issues/783"},"comments":{"href":"https://api.github.com/repos/okfn/opendatacensus/issues/783/comments"},"review_comments":{"href":"https://api.github.com/repos/okfn/opendatacensus/pulls/783/comments"},"review_comment":{"href":"https://api.github.com/repos/okfn/opendatacensus/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/okfn/opendatacensus/pulls/783/commits"},"statuses":{"href":"https://api.github.com/repos/okfn/opendatacensus/statuses/59d65e13f57e396bfbc5b340263ac3f5dcc3422e"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"brew","id":3993,"avatar_url":"https://avatars.githubusercontent.com/u/3993?v=3","gravatar_id":"","url":"https://api.github.com/users/brew","html_url":"https://github.com/brew","followers_url":"https://api.github.com/users/brew/followers","following_url":"https://api.github.com/users/brew/following{/other_user}","gists_url":"https://api.github.com/users/brew/gists{/gist_id}","starred_url":"https://api.github.com/users/brew/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brew/subscriptions","organizations_url":"https://api.github.com/users/brew/orgs","repos_url":"https://api.github.com/users/brew/repos","events_url":"https://api.github.com/users/brew/events{/privacy}","received_events_url":"https://api.github.com/users/brew/received_events","type":"User","site_admin":false},"comments":3,"review_comments":9,"commits":8,"additions":404,"deletions":44930,"changed_files":15}}
{"actor":{"display_login":"brew"}}