{"action":"opened","number":770,"pull_request":{"url":"https://api.github.com/repos/DoSomething/phoenix-next/pulls/770","id":175626726,"html_url":"https://github.com/DoSomething/phoenix-next/pull/770","diff_url":"https://github.com/DoSomething/phoenix-next/pull/770.diff","patch_url":"https://github.com/DoSomething/phoenix-next/pull/770.patch","issue_url":"https://api.github.com/repos/DoSomething/phoenix-next/issues/770","number":770,"state":"open","locked":false,"title":"Add entity in backend to transform text submission action instance","user":{"login":"weerd","id":105849,"avatar_url":"https://avatars1.githubusercontent.com/u/105849?v=4","gravatar_id":"","url":"https://api.github.com/users/weerd","html_url":"https://github.com/weerd","followers_url":"https://api.github.com/users/weerd/followers","following_url":"https://api.github.com/users/weerd/following{/other_user}","gists_url":"https://api.github.com/users/weerd/gists{/gist_id}","starred_url":"https://api.github.com/users/weerd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/weerd/subscriptions","organizations_url":"https://api.github.com/users/weerd/orgs","repos_url":"https://api.github.com/users/weerd/repos","events_url":"https://api.github.com/users/weerd/events{/privacy}","received_events_url":"https://api.github.com/users/weerd/received_events","type":"User","site_admin":false},"body":"## _PULL REQUEST OVERVIEW_\r\n\r\n\r\n### What does this PR do?\r\nThis PR adds the entity transformer for the `TextSubmissionAction` so we can transform the data and send what we want to the frontend as JSON.\r\n\r\nIt also does a little alphabetizing of the cases in the `parseBlock()` 👌 \r\n\r\n\r\n\r\n### What are the relevant tickets/cards?\r\nRefs [Pivotal Tracker ID #155866202](https://www.pivotaltracker.com/story/show/155866202)\r\nRefs #769 \r\n","created_at":"2018-03-16T19:32:17Z","updated_at":"2018-03-16T19:32:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ed64617f263211873574b758c0492c0bf4301303","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[{"name":"Team Rocket","id":2558270,"slug":"team-rocket","description":"Blasting off at the speed of light!","privacy":"closed","url":"https://api.github.com/teams/2558270","members_url":"https://api.github.com/teams/2558270/members{/member}","repositories_url":"https://api.github.com/teams/2558270/repos","permission":"pull"}],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/DoSomething/phoenix-next/pulls/770/commits","review_comments_url":"https://api.github.com/repos/DoSomething/phoenix-next/pulls/770/comments","review_comment_url":"https://api.github.com/repos/DoSomething/phoenix-next/pulls/comments{/number}","comments_url":"https://api.github.com/repos/DoSomething/phoenix-next/issues/770/comments","statuses_url":"https://api.github.com/repos/DoSomething/phoenix-next/statuses/8f06333a5088188c750c5afd08ba175edaa5217c","head":{"label":"DoSomething:text-submission-action-entity","ref":"text-submission-action-entity","sha":"8f06333a5088188c750c5afd08ba175edaa5217c","user":{"login":"DoSomething","id":731685,"avatar_url":"https://avatars2.githubusercontent.com/u/731685?v=4","gravatar_id":"","url":"https://api.github.com/users/DoSomething","html_url":"https://github.com/DoSomething","followers_url":"https://api.github.com/users/DoSomething/followers","following_url":"https://api.github.com/users/DoSomething/following{/other_user}","gists_url":"https://api.github.com/users/DoSomething/gists{/gist_id}","starred_url":"https://api.github.com/users/DoSomething/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DoSomething/subscriptions","organizations_url":"https://api.github.com/users/DoSomething/orgs","repos_url":"https://api.github.com/users/DoSomething/repos","events_url":"https://api.github.com/users/DoSomething/events{/privacy}","received_events_url":"https://api.github.com/users/DoSomething/received_events","type":"Organization","site_admin":false},"repo":{"id":75642790,"name":"phoenix-next","full_name":"DoSomething/phoenix-next","owner":{"login":"DoSomething","id":731685,"avatar_url":"https://avatars2.githubusercontent.com/u/731685?v=4","gravatar_id":"","url":"https://api.github.com/users/DoSomething","html_url":"https://github.com/DoSomething","followers_url":"https://api.github.com/users/DoSomething/followers","following_url":"https://api.github.com/users/DoSomething/following{/other_user}","gists_url":"https://api.github.com/users/DoSomething/gists{/gist_id}","starred_url":"https://api.github.com/users/DoSomething/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DoSomething/subscriptions","organizations_url":"https://api.github.com/users/DoSomething/orgs","repos_url":"https://api.github.com/users/DoSomething/repos","events_url":"https://api.github.com/users/DoSomething/events{/privacy}","received_events_url":"https://api.github.com/users/DoSomething/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/DoSomething/phoenix-next","description":"🔥 The new DoSomething.org campaign template.","fork":false,"url":"https://api.github.com/repos/DoSomething/phoenix-next","forks_url":"https://api.github.com/repos/DoSomething/phoenix-next/forks","keys_url":"https://api.github.com/repos/DoSomething/phoenix-next/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DoSomething/phoenix-next/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DoSomething/phoenix-next/teams","hooks_url":"https://api.github.com/repos/DoSomething/phoenix-next/hooks","issue_events_url":"https://api.github.com/repos/DoSomething/phoenix-next/issues/events{/number}","events_url":"https://api.github.com/repos/DoSomething/phoenix-next/events","assignees_url":"https://api.github.com/repos/DoSomething/phoenix-next/assignees{/user}","branches_url":"https://api.github.com/repos/DoSomething/phoenix-next/branches{/branch}","tags_url":"https://api.github.com/repos/DoSomething/phoenix-next/tags","blobs_url":"https://api.github.com/repos/DoSomething/phoenix-next/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DoSomething/phoenix-next/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DoSomething/phoenix-next/git/refs{/sha}","trees_url":"https://api.github.com/repos/DoSomething/phoenix-next/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DoSomething/phoenix-next/statuses/{sha}","languages_url":"https://api.github.com/repos/DoSomething/phoenix-next/languages","stargazers_url":"https://api.github.com/repos/DoSomething/phoenix-next/stargazers","contributors_url":"https://api.github.com/repos/DoSomething/phoenix-next/contributors","subscribers_url":"https://api.github.com/repos/DoSomething/phoenix-next/subscribers","subscription_url":"https://api.github.com/repos/DoSomething/phoenix-next/subscription","commits_url":"https://api.github.com/repos/DoSomething/phoenix-next/commits{/sha}","git_commits_url":"https://api.github.com/repos/DoSomething/phoenix-next/git/commits{/sha}","comments_url":"https://api.github.com/repos/DoSomething/phoenix-next/comments{/number}","issue_comment_url":"https://api.github.com/repos/DoSomething/phoenix-next/issues/comments{/number}","contents_url":"https://api.github.com/repos/DoSomething/phoenix-next/contents/{+path}","compare_url":"https://api.github.com/repos/DoSomething/phoenix-next/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DoSomething/phoenix-next/merges","archive_url":"https://api.github.com/repos/DoSomething/phoenix-next/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DoSomething/phoenix-next/downloads","issues_url":"https://api.github.com/repos/DoSomething/phoenix-next/issues{/number}","pulls_url":"https://api.github.com/repos/DoSomething/phoenix-next/pulls{/number}","milestones_url":"https://api.github.com/repos/DoSomething/phoenix-next/milestones{/number}","notifications_url":"https://api.github.com/repos/DoSomething/phoenix-next/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DoSomething/phoenix-next/labels{/name}","releases_url":"https://api.github.com/repos/DoSomething/phoenix-next/releases{/id}","deployments_url":"https://api.github.com/repos/DoSomething/phoenix-next/deployments","created_at":"2016-12-05T16:08:36Z","updated_at":"2018-03-15T21:28:04Z","pushed_at":"2018-03-16T19:32:18Z","git_url":"git://github.com/DoSomething/phoenix-next.git","ssh_url":"git@github.com:DoSomething/phoenix-next.git","clone_url":"https://github.com/DoSomething/phoenix-next.git","svn_url":"https://github.com/DoSomething/phoenix-next","homepage":"https://next.dosomething.org","size":10086,"stargazers_count":1,"watchers_count":1,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"archived":false,"open_issues_count":19,"license":null,"forks":7,"open_issues":19,"watchers":1,"default_branch":"master"}},"base":{"label":"DoSomething:master","ref":"master","sha":"696317b10790eedcd8bb45fb50792a0d273035e0","user":{"login":"DoSomething","id":731685,"avatar_url":"https://avatars2.githubusercontent.com/u/731685?v=4","gravatar_id":"","url":"https://api.github.com/users/DoSomething","html_url":"https://github.com/DoSomething","followers_url":"https://api.github.com/users/DoSomething/followers","following_url":"https://api.github.com/users/DoSomething/following{/other_user}","gists_url":"https://api.github.com/users/DoSomething/gists{/gist_id}","starred_url":"https://api.github.com/users/DoSomething/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DoSomething/subscriptions","organizations_url":"https://api.github.com/users/DoSomething/orgs","repos_url":"https://api.github.com/users/DoSomething/repos","events_url":"https://api.github.com/users/DoSomething/events{/privacy}","received_events_url":"https://api.github.com/users/DoSomething/received_events","type":"Organization","site_admin":false},"repo":{"id":75642790,"name":"phoenix-next","full_name":"DoSomething/phoenix-next","owner":{"login":"DoSomething","id":731685,"avatar_url":"https://avatars2.githubusercontent.com/u/731685?v=4","gravatar_id":"","url":"https://api.github.com/users/DoSomething","html_url":"https://github.com/DoSomething","followers_url":"https://api.github.com/users/DoSomething/followers","following_url":"https://api.github.com/users/DoSomething/following{/other_user}","gists_url":"https://api.github.com/users/DoSomething/gists{/gist_id}","starred_url":"https://api.github.com/users/DoSomething/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DoSomething/subscriptions","organizations_url":"https://api.github.com/users/DoSomething/orgs","repos_url":"https://api.github.com/users/DoSomething/repos","events_url":"https://api.github.com/users/DoSomething/events{/privacy}","received_events_url":"https://api.github.com/users/DoSomething/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/DoSomething/phoenix-next","description":"🔥 The new DoSomething.org campaign template.","fork":false,"url":"https://api.github.com/repos/DoSomething/phoenix-next","forks_url":"https://api.github.com/repos/DoSomething/phoenix-next/forks","keys_url":"https://api.github.com/repos/DoSomething/phoenix-next/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DoSomething/phoenix-next/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DoSomething/phoenix-next/teams","hooks_url":"https://api.github.com/repos/DoSomething/phoenix-next/hooks","issue_events_url":"https://api.github.com/repos/DoSomething/phoenix-next/issues/events{/number}","events_url":"https://api.github.com/repos/DoSomething/phoenix-next/events","assignees_url":"https://api.github.com/repos/DoSomething/phoenix-next/assignees{/user}","branches_url":"https://api.github.com/repos/DoSomething/phoenix-next/branches{/branch}","tags_url":"https://api.github.com/repos/DoSomething/phoenix-next/tags","blobs_url":"https://api.github.com/repos/DoSomething/phoenix-next/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DoSomething/phoenix-next/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DoSomething/phoenix-next/git/refs{/sha}","trees_url":"https://api.github.com/repos/DoSomething/phoenix-next/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DoSomething/phoenix-next/statuses/{sha}","languages_url":"https://api.github.com/repos/DoSomething/phoenix-next/languages","stargazers_url":"https://api.github.com/repos/DoSomething/phoenix-next/stargazers","contributors_url":"https://api.github.com/repos/DoSomething/phoenix-next/contributors","subscribers_url":"https://api.github.com/repos/DoSomething/phoenix-next/subscribers","subscription_url":"https://api.github.com/repos/DoSomething/phoenix-next/subscription","commits_url":"https://api.github.com/repos/DoSomething/phoenix-next/commits{/sha}","git_commits_url":"https://api.github.com/repos/DoSomething/phoenix-next/git/commits{/sha}","comments_url":"https://api.github.com/repos/DoSomething/phoenix-next/comments{/number}","issue_comment_url":"https://api.github.com/repos/DoSomething/phoenix-next/issues/comments{/number}","contents_url":"https://api.github.com/repos/DoSomething/phoenix-next/contents/{+path}","compare_url":"https://api.github.com/repos/DoSomething/phoenix-next/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DoSomething/phoenix-next/merges","archive_url":"https://api.github.com/repos/DoSomething/phoenix-next/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DoSomething/phoenix-next/downloads","issues_url":"https://api.github.com/repos/DoSomething/phoenix-next/issues{/number}","pulls_url":"https://api.github.com/repos/DoSomething/phoenix-next/pulls{/number}","milestones_url":"https://api.github.com/repos/DoSomething/phoenix-next/milestones{/number}","notifications_url":"https://api.github.com/repos/DoSomething/phoenix-next/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DoSomething/phoenix-next/labels{/name}","releases_url":"https://api.github.com/repos/DoSomething/phoenix-next/releases{/id}","deployments_url":"https://api.github.com/repos/DoSomething/phoenix-next/deployments","created_at":"2016-12-05T16:08:36Z","updated_at":"2018-03-15T21:28:04Z","pushed_at":"2018-03-16T19:32:18Z","git_url":"git://github.com/DoSomething/phoenix-next.git","ssh_url":"git@github.com:DoSomething/phoenix-next.git","clone_url":"https://github.com/DoSomething/phoenix-next.git","svn_url":"https://github.com/DoSomething/phoenix-next","homepage":"https://next.dosomething.org","size":10086,"stargazers_count":1,"watchers_count":1,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"archived":false,"open_issues_count":19,"license":null,"forks":7,"open_issues":19,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/DoSomething/phoenix-next/pulls/770"},"html":{"href":"https://github.com/DoSomething/phoenix-next/pull/770"},"issue":{"href":"https://api.github.com/repos/DoSomething/phoenix-next/issues/770"},"comments":{"href":"https://api.github.com/repos/DoSomething/phoenix-next/issues/770/comments"},"review_comments":{"href":"https://api.github.com/repos/DoSomething/phoenix-next/pulls/770/comments"},"review_comment":{"href":"https://api.github.com/repos/DoSomething/phoenix-next/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/DoSomething/phoenix-next/pulls/770/commits"},"statuses":{"href":"https://api.github.com/repos/DoSomething/phoenix-next/statuses/8f06333a5088188c750c5afd08ba175edaa5217c"}},"author_association":"OWNER","merged":false,"mergeable":true,"rebaseable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":38,"deletions":8,"changed_files":2}}
{"actor":{"display_login":"weerd"}}