{"action":"created","comment":{"url":"https://api.github.com/repos/18F/fs-permit-platform/pulls/comments/200364556","pull_request_review_id":134665321,"id":200364556,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwMDM2NDU1Ng==","diff_hunk":"@@ -63,14 +63,19 @@ describe('FileUploadComponent', () => {\n     filter = { name: 'mimeType' };\n     component.onWhenAddingFileFailed(file, filter, null);\n     expect(component.errorMessage).toEqual(\n-      `The file type you selected is not allowed. The allowed file types are .pdf, .doc, .docx, or .rtf`\n+      `The file type you selected is not allowed. The allowed file types are .doc, .docx, .rtf, or .pdf`\n     );\n+    component.allowImg = true;\n+    component.onWhenAddingFileFailed(file, filter, null);\n+    expect(component.errorMessage).toEqual(\n+      `The file type you selected is not allowed. The allowed file types are .jpg, .png, or .pdf`\n+    );\n+    component.allowImg = false;\n     component.allowXls = true;\n     component.onWhenAddingFileFailed(file, filter, null);\n     expect(component.errorMessage).toEqual(\n-      `The file type you selected is not allowed. The allowed file types are .pdf, .doc, .docx, .xls, .xlsx, or .rtf`\n+      `The file type you selected is not allowed. The allowed file types are .doc, .docx, .rtf, .xls, .xlsx, or .pdf`","path":"frontend/src/app/application-forms/fields/file-upload.component.spec.ts","position":17,"original_position":17,"commit_id":"92ef488e23573a29a05781bca9ff622f2d6046f2","original_commit_id":"92ef488e23573a29a05781bca9ff622f2d6046f2","user":{"login":"lauraGgit","id":5840989,"node_id":"MDQ6VXNlcjU4NDA5ODk=","avatar_url":"https://avatars2.githubusercontent.com/u/5840989?v=4","gravatar_id":"","url":"https://api.github.com/users/lauraGgit","html_url":"https://github.com/lauraGgit","followers_url":"https://api.github.com/users/lauraGgit/followers","following_url":"https://api.github.com/users/lauraGgit/following{/other_user}","gists_url":"https://api.github.com/users/lauraGgit/gists{/gist_id}","starred_url":"https://api.github.com/users/lauraGgit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lauraGgit/subscriptions","organizations_url":"https://api.github.com/users/lauraGgit/orgs","repos_url":"https://api.github.com/users/lauraGgit/repos","events_url":"https://api.github.com/users/lauraGgit/events{/privacy}","received_events_url":"https://api.github.com/users/lauraGgit/received_events","type":"User","site_admin":false},"body":"Oh yes, rereading this now, looks good! 👍 ","created_at":"2018-07-05T14:06:15Z","updated_at":"2018-07-05T14:06:15Z","html_url":"https://github.com/18F/fs-permit-platform/pull/252#discussion_r200364556","pull_request_url":"https://api.github.com/repos/18F/fs-permit-platform/pulls/252","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/18F/fs-permit-platform/pulls/comments/200364556"},"html":{"href":"https://github.com/18F/fs-permit-platform/pull/252#discussion_r200364556"},"pull_request":{"href":"https://api.github.com/repos/18F/fs-permit-platform/pulls/252"}},"in_reply_to_id":199614406},"pull_request":{"url":"https://api.github.com/repos/18F/fs-permit-platform/pulls/252","id":198765341,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk4NzY1MzQx","html_url":"https://github.com/18F/fs-permit-platform/pull/252","diff_url":"https://github.com/18F/fs-permit-platform/pull/252.diff","patch_url":"https://github.com/18F/fs-permit-platform/pull/252.patch","issue_url":"https://api.github.com/repos/18F/fs-permit-platform/issues/252","number":252,"state":"open","locked":false,"title":"Add ability to upload map","user":{"login":"hursey013","id":1178494,"node_id":"MDQ6VXNlcjExNzg0OTQ=","avatar_url":"https://avatars2.githubusercontent.com/u/1178494?v=4","gravatar_id":"","url":"https://api.github.com/users/hursey013","html_url":"https://github.com/hursey013","followers_url":"https://api.github.com/users/hursey013/followers","following_url":"https://api.github.com/users/hursey013/following{/other_user}","gists_url":"https://api.github.com/users/hursey013/gists{/gist_id}","starred_url":"https://api.github.com/users/hursey013/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hursey013/subscriptions","organizations_url":"https://api.github.com/users/hursey013/orgs","repos_url":"https://api.github.com/users/hursey013/repos","events_url":"https://api.github.com/users/hursey013/events{/privacy}","received_events_url":"https://api.github.com/users/hursey013/received_events","type":"User","site_admin":false},"body":"Adds the option to upload a map in support of the location description textarea. File types are restricted to .jpg, .png, and .jpg.\r\n\r\n- [x] update the UI\r\n- [x] update the server handling\r\n- [ ] update the `accept to suds`\r\n- [ ] update the middlelayer\r\n\r\n<img width=\"514\" alt=\"screen shot 2018-07-02 at 3 10 10 pm\" src=\"https://user-images.githubusercontent.com/1178494/42181768-0819fe0e-7e0a-11e8-8256-5e2707a7fd77.png\">\r\n","created_at":"2018-07-02T19:10:56Z","updated_at":"2018-07-05T14:06:15Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d652f68313fe05a02a914c074b65c886244ae524","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/18F/fs-permit-platform/pulls/252/commits","review_comments_url":"https://api.github.com/repos/18F/fs-permit-platform/pulls/252/comments","review_comment_url":"https://api.github.com/repos/18F/fs-permit-platform/pulls/comments{/number}","comments_url":"https://api.github.com/repos/18F/fs-permit-platform/issues/252/comments","statuses_url":"https://api.github.com/repos/18F/fs-permit-platform/statuses/92ef488e23573a29a05781bca9ff622f2d6046f2","head":{"label":"18F:79_location_map_upload","ref":"79_location_map_upload","sha":"92ef488e23573a29a05781bca9ff622f2d6046f2","user":{"login":"18F","id":6233994,"node_id":"MDEyOk9yZ2FuaXphdGlvbjYyMzM5OTQ=","avatar_url":"https://avatars0.githubusercontent.com/u/6233994?v=4","gravatar_id":"","url":"https://api.github.com/users/18F","html_url":"https://github.com/18F","followers_url":"https://api.github.com/users/18F/followers","following_url":"https://api.github.com/users/18F/following{/other_user}","gists_url":"https://api.github.com/users/18F/gists{/gist_id}","starred_url":"https://api.github.com/users/18F/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/18F/subscriptions","organizations_url":"https://api.github.com/users/18F/orgs","repos_url":"https://api.github.com/users/18F/repos","events_url":"https://api.github.com/users/18F/events{/privacy}","received_events_url":"https://api.github.com/users/18F/received_events","type":"Organization","site_admin":false},"repo":{"id":88538878,"node_id":"MDEwOlJlcG9zaXRvcnk4ODUzODg3OA==","name":"fs-permit-platform","full_name":"18F/fs-permit-platform","owner":{"login":"18F","id":6233994,"node_id":"MDEyOk9yZ2FuaXphdGlvbjYyMzM5OTQ=","avatar_url":"https://avatars0.githubusercontent.com/u/6233994?v=4","gravatar_id":"","url":"https://api.github.com/users/18F","html_url":"https://github.com/18F","followers_url":"https://api.github.com/users/18F/followers","following_url":"https://api.github.com/users/18F/following{/other_user}","gists_url":"https://api.github.com/users/18F/gists{/gist_id}","starred_url":"https://api.github.com/users/18F/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/18F/subscriptions","organizations_url":"https://api.github.com/users/18F/orgs","repos_url":"https://api.github.com/users/18F/repos","events_url":"https://api.github.com/users/18F/events{/privacy}","received_events_url":"https://api.github.com/users/18F/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/18F/fs-permit-platform","description":"Module for intake of special use applications for Forest Service Application Permits","fork":false,"url":"https://api.github.com/repos/18F/fs-permit-platform","forks_url":"https://api.github.com/repos/18F/fs-permit-platform/forks","keys_url":"https://api.github.com/repos/18F/fs-permit-platform/keys{/key_id}","collaborators_url":"https://api.github.com/repos/18F/fs-permit-platform/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/18F/fs-permit-platform/teams","hooks_url":"https://api.github.com/repos/18F/fs-permit-platform/hooks","issue_events_url":"https://api.github.com/repos/18F/fs-permit-platform/issues/events{/number}","events_url":"https://api.github.com/repos/18F/fs-permit-platform/events","assignees_url":"https://api.github.com/repos/18F/fs-permit-platform/assignees{/user}","branches_url":"https://api.github.com/repos/18F/fs-permit-platform/branches{/branch}","tags_url":"https://api.github.com/repos/18F/fs-permit-platform/tags","blobs_url":"https://api.github.com/repos/18F/fs-permit-platform/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/18F/fs-permit-platform/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/18F/fs-permit-platform/git/refs{/sha}","trees_url":"https://api.github.com/repos/18F/fs-permit-platform/git/trees{/sha}","statuses_url":"https://api.github.com/repos/18F/fs-permit-platform/statuses/{sha}","languages_url":"https://api.github.com/repos/18F/fs-permit-platform/languages","stargazers_url":"https://api.github.com/repos/18F/fs-permit-platform/stargazers","contributors_url":"https://api.github.com/repos/18F/fs-permit-platform/contributors","subscribers_url":"https://api.github.com/repos/18F/fs-permit-platform/subscribers","subscription_url":"https://api.github.com/repos/18F/fs-permit-platform/subscription","commits_url":"https://api.github.com/repos/18F/fs-permit-platform/commits{/sha}","git_commits_url":"https://api.github.com/repos/18F/fs-permit-platform/git/commits{/sha}","comments_url":"https://api.github.com/repos/18F/fs-permit-platform/comments{/number}","issue_comment_url":"https://api.github.com/repos/18F/fs-permit-platform/issues/comments{/number}","contents_url":"https://api.github.com/repos/18F/fs-permit-platform/contents/{+path}","compare_url":"https://api.github.com/repos/18F/fs-permit-platform/compare/{base}...{head}","merges_url":"https://api.github.com/repos/18F/fs-permit-platform/merges","archive_url":"https://api.github.com/repos/18F/fs-permit-platform/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/18F/fs-permit-platform/downloads","issues_url":"https://api.github.com/repos/18F/fs-permit-platform/issues{/number}","pulls_url":"https://api.github.com/repos/18F/fs-permit-platform/pulls{/number}","milestones_url":"https://api.github.com/repos/18F/fs-permit-platform/milestones{/number}","notifications_url":"https://api.github.com/repos/18F/fs-permit-platform/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/18F/fs-permit-platform/labels{/name}","releases_url":"https://api.github.com/repos/18F/fs-permit-platform/releases{/id}","deployments_url":"https://api.github.com/repos/18F/fs-permit-platform/deployments","created_at":"2017-04-17T18:40:09Z","updated_at":"2018-07-02T18:27:50Z","pushed_at":"2018-07-03T20:52:25Z","git_url":"git://github.com/18F/fs-permit-platform.git","ssh_url":"git@github.com:18F/fs-permit-platform.git","clone_url":"https://github.com/18F/fs-permit-platform.git","svn_url":"https://github.com/18F/fs-permit-platform","homepage":null,"size":352895,"stargazers_count":7,"watchers_count":7,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":10,"mirror_url":null,"archived":false,"open_issues_count":55,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":10,"open_issues":55,"watchers":7,"default_branch":"dev"}},"base":{"label":"18F:dev","ref":"dev","sha":"cf20c9f1c00684325b2abcbb988415e7321cec9a","user":{"login":"18F","id":6233994,"node_id":"MDEyOk9yZ2FuaXphdGlvbjYyMzM5OTQ=","avatar_url":"https://avatars0.githubusercontent.com/u/6233994?v=4","gravatar_id":"","url":"https://api.github.com/users/18F","html_url":"https://github.com/18F","followers_url":"https://api.github.com/users/18F/followers","following_url":"https://api.github.com/users/18F/following{/other_user}","gists_url":"https://api.github.com/users/18F/gists{/gist_id}","starred_url":"https://api.github.com/users/18F/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/18F/subscriptions","organizations_url":"https://api.github.com/users/18F/orgs","repos_url":"https://api.github.com/users/18F/repos","events_url":"https://api.github.com/users/18F/events{/privacy}","received_events_url":"https://api.github.com/users/18F/received_events","type":"Organization","site_admin":false},"repo":{"id":88538878,"node_id":"MDEwOlJlcG9zaXRvcnk4ODUzODg3OA==","name":"fs-permit-platform","full_name":"18F/fs-permit-platform","owner":{"login":"18F","id":6233994,"node_id":"MDEyOk9yZ2FuaXphdGlvbjYyMzM5OTQ=","avatar_url":"https://avatars0.githubusercontent.com/u/6233994?v=4","gravatar_id":"","url":"https://api.github.com/users/18F","html_url":"https://github.com/18F","followers_url":"https://api.github.com/users/18F/followers","following_url":"https://api.github.com/users/18F/following{/other_user}","gists_url":"https://api.github.com/users/18F/gists{/gist_id}","starred_url":"https://api.github.com/users/18F/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/18F/subscriptions","organizations_url":"https://api.github.com/users/18F/orgs","repos_url":"https://api.github.com/users/18F/repos","events_url":"https://api.github.com/users/18F/events{/privacy}","received_events_url":"https://api.github.com/users/18F/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/18F/fs-permit-platform","description":"Module for intake of special use applications for Forest Service Application Permits","fork":false,"url":"https://api.github.com/repos/18F/fs-permit-platform","forks_url":"https://api.github.com/repos/18F/fs-permit-platform/forks","keys_url":"https://api.github.com/repos/18F/fs-permit-platform/keys{/key_id}","collaborators_url":"https://api.github.com/repos/18F/fs-permit-platform/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/18F/fs-permit-platform/teams","hooks_url":"https://api.github.com/repos/18F/fs-permit-platform/hooks","issue_events_url":"https://api.github.com/repos/18F/fs-permit-platform/issues/events{/number}","events_url":"https://api.github.com/repos/18F/fs-permit-platform/events","assignees_url":"https://api.github.com/repos/18F/fs-permit-platform/assignees{/user}","branches_url":"https://api.github.com/repos/18F/fs-permit-platform/branches{/branch}","tags_url":"https://api.github.com/repos/18F/fs-permit-platform/tags","blobs_url":"https://api.github.com/repos/18F/fs-permit-platform/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/18F/fs-permit-platform/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/18F/fs-permit-platform/git/refs{/sha}","trees_url":"https://api.github.com/repos/18F/fs-permit-platform/git/trees{/sha}","statuses_url":"https://api.github.com/repos/18F/fs-permit-platform/statuses/{sha}","languages_url":"https://api.github.com/repos/18F/fs-permit-platform/languages","stargazers_url":"https://api.github.com/repos/18F/fs-permit-platform/stargazers","contributors_url":"https://api.github.com/repos/18F/fs-permit-platform/contributors","subscribers_url":"https://api.github.com/repos/18F/fs-permit-platform/subscribers","subscription_url":"https://api.github.com/repos/18F/fs-permit-platform/subscription","commits_url":"https://api.github.com/repos/18F/fs-permit-platform/commits{/sha}","git_commits_url":"https://api.github.com/repos/18F/fs-permit-platform/git/commits{/sha}","comments_url":"https://api.github.com/repos/18F/fs-permit-platform/comments{/number}","issue_comment_url":"https://api.github.com/repos/18F/fs-permit-platform/issues/comments{/number}","contents_url":"https://api.github.com/repos/18F/fs-permit-platform/contents/{+path}","compare_url":"https://api.github.com/repos/18F/fs-permit-platform/compare/{base}...{head}","merges_url":"https://api.github.com/repos/18F/fs-permit-platform/merges","archive_url":"https://api.github.com/repos/18F/fs-permit-platform/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/18F/fs-permit-platform/downloads","issues_url":"https://api.github.com/repos/18F/fs-permit-platform/issues{/number}","pulls_url":"https://api.github.com/repos/18F/fs-permit-platform/pulls{/number}","milestones_url":"https://api.github.com/repos/18F/fs-permit-platform/milestones{/number}","notifications_url":"https://api.github.com/repos/18F/fs-permit-platform/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/18F/fs-permit-platform/labels{/name}","releases_url":"https://api.github.com/repos/18F/fs-permit-platform/releases{/id}","deployments_url":"https://api.github.com/repos/18F/fs-permit-platform/deployments","created_at":"2017-04-17T18:40:09Z","updated_at":"2018-07-02T18:27:50Z","pushed_at":"2018-07-03T20:52:25Z","git_url":"git://github.com/18F/fs-permit-platform.git","ssh_url":"git@github.com:18F/fs-permit-platform.git","clone_url":"https://github.com/18F/fs-permit-platform.git","svn_url":"https://github.com/18F/fs-permit-platform","homepage":null,"size":352895,"stargazers_count":7,"watchers_count":7,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":10,"mirror_url":null,"archived":false,"open_issues_count":55,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":10,"open_issues":55,"watchers":7,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/18F/fs-permit-platform/pulls/252"},"html":{"href":"https://github.com/18F/fs-permit-platform/pull/252"},"issue":{"href":"https://api.github.com/repos/18F/fs-permit-platform/issues/252"},"comments":{"href":"https://api.github.com/repos/18F/fs-permit-platform/issues/252/comments"},"review_comments":{"href":"https://api.github.com/repos/18F/fs-permit-platform/pulls/252/comments"},"review_comment":{"href":"https://api.github.com/repos/18F/fs-permit-platform/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/18F/fs-permit-platform/pulls/252/commits"},"statuses":{"href":"https://api.github.com/repos/18F/fs-permit-platform/statuses/92ef488e23573a29a05781bca9ff622f2d6046f2"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"lauraGgit"}}