{"action":"closed","number":751,"pull_request":{"url":"https://api.github.com/repos/instedd/ask/pulls/751","id":110691234,"html_url":"https://github.com/instedd/ask/pull/751","diff_url":"https://github.com/instedd/ask/pull/751.diff","patch_url":"https://github.com/instedd/ask/pull/751.patch","issue_url":"https://api.github.com/repos/instedd/ask/issues/751","number":751,"state":"closed","locked":false,"title":"Feature/draft js styling mobile web","user":{"login":"lmatayoshi","id":8591752,"avatar_url":"https://avatars1.githubusercontent.com/u/8591752?v=3","gravatar_id":"","url":"https://api.github.com/users/lmatayoshi","html_url":"https://github.com/lmatayoshi","followers_url":"https://api.github.com/users/lmatayoshi/followers","following_url":"https://api.github.com/users/lmatayoshi/following{/other_user}","gists_url":"https://api.github.com/users/lmatayoshi/gists{/gist_id}","starred_url":"https://api.github.com/users/lmatayoshi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lmatayoshi/subscriptions","organizations_url":"https://api.github.com/users/lmatayoshi/orgs","repos_url":"https://api.github.com/users/lmatayoshi/repos","events_url":"https://api.github.com/users/lmatayoshi/events{/privacy}","received_events_url":"https://api.github.com/users/lmatayoshi/received_events","type":"User","site_admin":false},"body":"Fixes #710 \r\n\r\nThe rich-text for mobile-web questionnaire is being saved in HTML format. I chose this approach because of two reasons:\r\n- **JSON** format seems unnecessary, and it adds an extra level of complexity. It is difficult for the user to edit, and is not a trivial task to reconstruct the rich text from JSON annotations.\r\n- The library for reconstructing anotated input from **markdown** to draft.js format was not working well\r\n\r\nChanges that are still pending for this task\r\n\r\n- [x] Check CSS style for Draft component (added in global.css)\r\n- [x] Add label and check placeholder for Draft component. Style should match with SMS and IVR prompts\r\n- [x] A different component that don't allow edition should be rendered in readOnlyMode\r\n- [x] Input errors are not being displayed\r\n- [x] Build in TRAVIS is failing because flow checks are not passing in 'node_modules/draft-js/lib/'\r\n- [x] Underline is not being displayed well in the questionnaire editor, even though it is being saved correctly in the database.","created_at":"2017-03-14T18:43:14Z","updated_at":"2017-05-10T14:57:17Z","closed_at":"2017-05-10T14:57:17Z","merged_at":"2017-05-10T14:57:16Z","merge_commit_sha":"86c05ee6547494e50fec28a7a5a17d138fc3b8d6","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":{"url":"https://api.github.com/repos/instedd/ask/milestones/20","html_url":"https://github.com/instedd/ask/milestone/20","labels_url":"https://api.github.com/repos/instedd/ask/milestones/20/labels","id":2434519,"number":20,"title":"0.9 (Ironwood)","description":"","creator":{"login":"spalladino","id":429604,"avatar_url":"https://avatars1.githubusercontent.com/u/429604?v=3","gravatar_id":"","url":"https://api.github.com/users/spalladino","html_url":"https://github.com/spalladino","followers_url":"https://api.github.com/users/spalladino/followers","following_url":"https://api.github.com/users/spalladino/following{/other_user}","gists_url":"https://api.github.com/users/spalladino/gists{/gist_id}","starred_url":"https://api.github.com/users/spalladino/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spalladino/subscriptions","organizations_url":"https://api.github.com/users/spalladino/orgs","repos_url":"https://api.github.com/users/spalladino/repos","events_url":"https://api.github.com/users/spalladino/events{/privacy}","received_events_url":"https://api.github.com/users/spalladino/received_events","type":"User","site_admin":false},"open_issues":8,"closed_issues":61,"state":"open","created_at":"2017-04-04T18:55:09Z","updated_at":"2017-05-10T14:57:17Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/instedd/ask/pulls/751/commits","review_comments_url":"https://api.github.com/repos/instedd/ask/pulls/751/comments","review_comment_url":"https://api.github.com/repos/instedd/ask/pulls/comments{/number}","comments_url":"https://api.github.com/repos/instedd/ask/issues/751/comments","statuses_url":"https://api.github.com/repos/instedd/ask/statuses/94f65037d17a6801da5dc0018c94d2c67d1d6d4e","head":{"label":"instedd:feature/draft-js-styling-mobile-web","ref":"feature/draft-js-styling-mobile-web","sha":"94f65037d17a6801da5dc0018c94d2c67d1d6d4e","user":{"login":"instedd","id":1354872,"avatar_url":"https://avatars1.githubusercontent.com/u/1354872?v=3","gravatar_id":"","url":"https://api.github.com/users/instedd","html_url":"https://github.com/instedd","followers_url":"https://api.github.com/users/instedd/followers","following_url":"https://api.github.com/users/instedd/following{/other_user}","gists_url":"https://api.github.com/users/instedd/gists{/gist_id}","starred_url":"https://api.github.com/users/instedd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/instedd/subscriptions","organizations_url":"https://api.github.com/users/instedd/orgs","repos_url":"https://api.github.com/users/instedd/repos","events_url":"https://api.github.com/users/instedd/events{/privacy}","received_events_url":"https://api.github.com/users/instedd/received_events","type":"Organization","site_admin":false},"repo":{"id":64226398,"name":"ask","full_name":"instedd/ask","owner":{"login":"instedd","id":1354872,"avatar_url":"https://avatars1.githubusercontent.com/u/1354872?v=3","gravatar_id":"","url":"https://api.github.com/users/instedd","html_url":"https://github.com/instedd","followers_url":"https://api.github.com/users/instedd/followers","following_url":"https://api.github.com/users/instedd/following{/other_user}","gists_url":"https://api.github.com/users/instedd/gists{/gist_id}","starred_url":"https://api.github.com/users/instedd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/instedd/subscriptions","organizations_url":"https://api.github.com/users/instedd/orgs","repos_url":"https://api.github.com/users/instedd/repos","events_url":"https://api.github.com/users/instedd/events{/privacy}","received_events_url":"https://api.github.com/users/instedd/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/instedd/ask","description":"InSTEDD Ask","fork":false,"url":"https://api.github.com/repos/instedd/ask","forks_url":"https://api.github.com/repos/instedd/ask/forks","keys_url":"https://api.github.com/repos/instedd/ask/keys{/key_id}","collaborators_url":"https://api.github.com/repos/instedd/ask/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/instedd/ask/teams","hooks_url":"https://api.github.com/repos/instedd/ask/hooks","issue_events_url":"https://api.github.com/repos/instedd/ask/issues/events{/number}","events_url":"https://api.github.com/repos/instedd/ask/events","assignees_url":"https://api.github.com/repos/instedd/ask/assignees{/user}","branches_url":"https://api.github.com/repos/instedd/ask/branches{/branch}","tags_url":"https://api.github.com/repos/instedd/ask/tags","blobs_url":"https://api.github.com/repos/instedd/ask/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/instedd/ask/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/instedd/ask/git/refs{/sha}","trees_url":"https://api.github.com/repos/instedd/ask/git/trees{/sha}","statuses_url":"https://api.github.com/repos/instedd/ask/statuses/{sha}","languages_url":"https://api.github.com/repos/instedd/ask/languages","stargazers_url":"https://api.github.com/repos/instedd/ask/stargazers","contributors_url":"https://api.github.com/repos/instedd/ask/contributors","subscribers_url":"https://api.github.com/repos/instedd/ask/subscribers","subscription_url":"https://api.github.com/repos/instedd/ask/subscription","commits_url":"https://api.github.com/repos/instedd/ask/commits{/sha}","git_commits_url":"https://api.github.com/repos/instedd/ask/git/commits{/sha}","comments_url":"https://api.github.com/repos/instedd/ask/comments{/number}","issue_comment_url":"https://api.github.com/repos/instedd/ask/issues/comments{/number}","contents_url":"https://api.github.com/repos/instedd/ask/contents/{+path}","compare_url":"https://api.github.com/repos/instedd/ask/compare/{base}...{head}","merges_url":"https://api.github.com/repos/instedd/ask/merges","archive_url":"https://api.github.com/repos/instedd/ask/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/instedd/ask/downloads","issues_url":"https://api.github.com/repos/instedd/ask/issues{/number}","pulls_url":"https://api.github.com/repos/instedd/ask/pulls{/number}","milestones_url":"https://api.github.com/repos/instedd/ask/milestones{/number}","notifications_url":"https://api.github.com/repos/instedd/ask/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/instedd/ask/labels{/name}","releases_url":"https://api.github.com/repos/instedd/ask/releases{/id}","deployments_url":"https://api.github.com/repos/instedd/ask/deployments","created_at":"2016-07-26T14:08:44Z","updated_at":"2017-02-22T17:07:40Z","pushed_at":"2017-05-10T14:57:16Z","git_url":"git://github.com/instedd/ask.git","ssh_url":"git@github.com:instedd/ask.git","clone_url":"https://github.com/instedd/ask.git","svn_url":"https://github.com/instedd/ask","homepage":"","size":5074,"stargazers_count":4,"watchers_count":4,"language":"Elixir","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":108,"forks":2,"open_issues":108,"watchers":4,"default_branch":"master"}},"base":{"label":"instedd:master","ref":"master","sha":"777b29f8985881a3e16f1012f89c020ba9ef519a","user":{"login":"instedd","id":1354872,"avatar_url":"https://avatars1.githubusercontent.com/u/1354872?v=3","gravatar_id":"","url":"https://api.github.com/users/instedd","html_url":"https://github.com/instedd","followers_url":"https://api.github.com/users/instedd/followers","following_url":"https://api.github.com/users/instedd/following{/other_user}","gists_url":"https://api.github.com/users/instedd/gists{/gist_id}","starred_url":"https://api.github.com/users/instedd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/instedd/subscriptions","organizations_url":"https://api.github.com/users/instedd/orgs","repos_url":"https://api.github.com/users/instedd/repos","events_url":"https://api.github.com/users/instedd/events{/privacy}","received_events_url":"https://api.github.com/users/instedd/received_events","type":"Organization","site_admin":false},"repo":{"id":64226398,"name":"ask","full_name":"instedd/ask","owner":{"login":"instedd","id":1354872,"avatar_url":"https://avatars1.githubusercontent.com/u/1354872?v=3","gravatar_id":"","url":"https://api.github.com/users/instedd","html_url":"https://github.com/instedd","followers_url":"https://api.github.com/users/instedd/followers","following_url":"https://api.github.com/users/instedd/following{/other_user}","gists_url":"https://api.github.com/users/instedd/gists{/gist_id}","starred_url":"https://api.github.com/users/instedd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/instedd/subscriptions","organizations_url":"https://api.github.com/users/instedd/orgs","repos_url":"https://api.github.com/users/instedd/repos","events_url":"https://api.github.com/users/instedd/events{/privacy}","received_events_url":"https://api.github.com/users/instedd/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/instedd/ask","description":"InSTEDD Ask","fork":false,"url":"https://api.github.com/repos/instedd/ask","forks_url":"https://api.github.com/repos/instedd/ask/forks","keys_url":"https://api.github.com/repos/instedd/ask/keys{/key_id}","collaborators_url":"https://api.github.com/repos/instedd/ask/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/instedd/ask/teams","hooks_url":"https://api.github.com/repos/instedd/ask/hooks","issue_events_url":"https://api.github.com/repos/instedd/ask/issues/events{/number}","events_url":"https://api.github.com/repos/instedd/ask/events","assignees_url":"https://api.github.com/repos/instedd/ask/assignees{/user}","branches_url":"https://api.github.com/repos/instedd/ask/branches{/branch}","tags_url":"https://api.github.com/repos/instedd/ask/tags","blobs_url":"https://api.github.com/repos/instedd/ask/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/instedd/ask/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/instedd/ask/git/refs{/sha}","trees_url":"https://api.github.com/repos/instedd/ask/git/trees{/sha}","statuses_url":"https://api.github.com/repos/instedd/ask/statuses/{sha}","languages_url":"https://api.github.com/repos/instedd/ask/languages","stargazers_url":"https://api.github.com/repos/instedd/ask/stargazers","contributors_url":"https://api.github.com/repos/instedd/ask/contributors","subscribers_url":"https://api.github.com/repos/instedd/ask/subscribers","subscription_url":"https://api.github.com/repos/instedd/ask/subscription","commits_url":"https://api.github.com/repos/instedd/ask/commits{/sha}","git_commits_url":"https://api.github.com/repos/instedd/ask/git/commits{/sha}","comments_url":"https://api.github.com/repos/instedd/ask/comments{/number}","issue_comment_url":"https://api.github.com/repos/instedd/ask/issues/comments{/number}","contents_url":"https://api.github.com/repos/instedd/ask/contents/{+path}","compare_url":"https://api.github.com/repos/instedd/ask/compare/{base}...{head}","merges_url":"https://api.github.com/repos/instedd/ask/merges","archive_url":"https://api.github.com/repos/instedd/ask/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/instedd/ask/downloads","issues_url":"https://api.github.com/repos/instedd/ask/issues{/number}","pulls_url":"https://api.github.com/repos/instedd/ask/pulls{/number}","milestones_url":"https://api.github.com/repos/instedd/ask/milestones{/number}","notifications_url":"https://api.github.com/repos/instedd/ask/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/instedd/ask/labels{/name}","releases_url":"https://api.github.com/repos/instedd/ask/releases{/id}","deployments_url":"https://api.github.com/repos/instedd/ask/deployments","created_at":"2016-07-26T14:08:44Z","updated_at":"2017-02-22T17:07:40Z","pushed_at":"2017-05-10T14:57:16Z","git_url":"git://github.com/instedd/ask.git","ssh_url":"git@github.com:instedd/ask.git","clone_url":"https://github.com/instedd/ask.git","svn_url":"https://github.com/instedd/ask","homepage":"","size":5074,"stargazers_count":4,"watchers_count":4,"language":"Elixir","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":108,"forks":2,"open_issues":108,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/instedd/ask/pulls/751"},"html":{"href":"https://github.com/instedd/ask/pull/751"},"issue":{"href":"https://api.github.com/repos/instedd/ask/issues/751"},"comments":{"href":"https://api.github.com/repos/instedd/ask/issues/751/comments"},"review_comments":{"href":"https://api.github.com/repos/instedd/ask/pulls/751/comments"},"review_comment":{"href":"https://api.github.com/repos/instedd/ask/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/instedd/ask/pulls/751/commits"},"statuses":{"href":"https://api.github.com/repos/instedd/ask/statuses/94f65037d17a6801da5dc0018c94d2c67d1d6d4e"}},"merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"nekron","id":957103,"avatar_url":"https://avatars0.githubusercontent.com/u/957103?v=3","gravatar_id":"","url":"https://api.github.com/users/nekron","html_url":"https://github.com/nekron","followers_url":"https://api.github.com/users/nekron/followers","following_url":"https://api.github.com/users/nekron/following{/other_user}","gists_url":"https://api.github.com/users/nekron/gists{/gist_id}","starred_url":"https://api.github.com/users/nekron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nekron/subscriptions","organizations_url":"https://api.github.com/users/nekron/orgs","repos_url":"https://api.github.com/users/nekron/repos","events_url":"https://api.github.com/users/nekron/events{/privacy}","received_events_url":"https://api.github.com/users/nekron/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"maintainer_can_modify":false,"commits":14,"additions":309,"deletions":18,"changed_files":8}}
{"actor":{"display_login":"nekron"}}