{"action":"created","comment":{"url":"https://api.github.com/repos/Exygy/sf-dahlia-web/pulls/comments/87054542","pull_request_review_id":7682257,"id":87054542,"diff_hunk":"@@ -322,12 +335,132 @@ ListingService = ($http, $localStorage, $modal, $q, $state) ->\n     # by default will just return the id, unless it finds a matching slug\n     return if mapping[slug] then mapping[slug] else id\n \n-  Service.listingIs = (listing, name) ->\n-    Service.LISTING_MAP[listing.Id] == name\n+  Service.listingIs = (name) ->\n+    Service.LISTING_MAP[Service.listing.Id] == name\n \n   Service.listingIsAny = (listing, names) ->","path":"app/assets/javascripts/listings/ListingService.js.coffee","position":29,"original_position":29,"commit_id":"ee70cfd24ff85c3163a08ba7c717ee219e9553d5","original_commit_id":"ee70cfd24ff85c3163a08ba7c717ee219e9553d5","user":{"login":"kaptron","id":318100,"avatar_url":"https://avatars.githubusercontent.com/u/318100?v=3","gravatar_id":"","url":"https://api.github.com/users/kaptron","html_url":"https://github.com/kaptron","followers_url":"https://api.github.com/users/kaptron/followers","following_url":"https://api.github.com/users/kaptron/following{/other_user}","gists_url":"https://api.github.com/users/kaptron/gists{/gist_id}","starred_url":"https://api.github.com/users/kaptron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaptron/subscriptions","organizations_url":"https://api.github.com/users/kaptron/orgs","repos_url":"https://api.github.com/users/kaptron/repos","events_url":"https://api.github.com/users/kaptron/events{/privacy}","received_events_url":"https://api.github.com/users/kaptron/received_events","type":"User","site_admin":false},"body":"ah gotcha. For now, that one is being used for ` $scope.showDownloadLotteryResultsButton` in the ListingsController. However if you look at the download lottery button PR (which also includes this one), it gets removed there since it's no longer used. ","created_at":"2016-11-08T18:38:23Z","updated_at":"2016-11-08T18:38:23Z","html_url":"https://github.com/Exygy/sf-dahlia-web/pull/524#discussion_r87054542","pull_request_url":"https://api.github.com/repos/Exygy/sf-dahlia-web/pulls/524","_links":{"self":{"href":"https://api.github.com/repos/Exygy/sf-dahlia-web/pulls/comments/87054542"},"html":{"href":"https://github.com/Exygy/sf-dahlia-web/pull/524#discussion_r87054542"},"pull_request":{"href":"https://api.github.com/repos/Exygy/sf-dahlia-web/pulls/524"}}},"pull_request":{"url":"https://api.github.com/repos/Exygy/sf-dahlia-web/pulls/524","id":92649994,"html_url":"https://github.com/Exygy/sf-dahlia-web/pull/524","diff_url":"https://github.com/Exygy/sf-dahlia-web/pull/524.diff","patch_url":"https://github.com/Exygy/sf-dahlia-web/pull/524.patch","issue_url":"https://api.github.com/repos/Exygy/sf-dahlia-web/issues/524","number":524,"state":"open","locked":false,"title":"Features/listing preference refactor #128541955","user":{"login":"kaptron","id":318100,"avatar_url":"https://avatars.githubusercontent.com/u/318100?v=3","gravatar_id":"","url":"https://api.github.com/users/kaptron","html_url":"https://github.com/kaptron","followers_url":"https://api.github.com/users/kaptron/followers","following_url":"https://api.github.com/users/kaptron/following{/other_user}","gists_url":"https://api.github.com/users/kaptron/gists{/gist_id}","starred_url":"https://api.github.com/users/kaptron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaptron/subscriptions","organizations_url":"https://api.github.com/users/kaptron/orgs","repos_url":"https://api.github.com/users/kaptron/repos","events_url":"https://api.github.com/users/kaptron/events{/privacy}","received_events_url":"https://api.github.com/users/kaptron/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-11-07T19:41:51Z","updated_at":"2016-11-08T18:38:23Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0d8ad17b2487c8a0f2f728bcc308964a7f2b357f","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/Exygy/sf-dahlia-web/pulls/524/commits","review_comments_url":"https://api.github.com/repos/Exygy/sf-dahlia-web/pulls/524/comments","review_comment_url":"https://api.github.com/repos/Exygy/sf-dahlia-web/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Exygy/sf-dahlia-web/issues/524/comments","statuses_url":"https://api.github.com/repos/Exygy/sf-dahlia-web/statuses/ee70cfd24ff85c3163a08ba7c717ee219e9553d5","head":{"label":"Exygy:features/listing-preference-refactor-#128541955","ref":"features/listing-preference-refactor-#128541955","sha":"ee70cfd24ff85c3163a08ba7c717ee219e9553d5","user":{"login":"Exygy","id":689564,"avatar_url":"https://avatars.githubusercontent.com/u/689564?v=3","gravatar_id":"","url":"https://api.github.com/users/Exygy","html_url":"https://github.com/Exygy","followers_url":"https://api.github.com/users/Exygy/followers","following_url":"https://api.github.com/users/Exygy/following{/other_user}","gists_url":"https://api.github.com/users/Exygy/gists{/gist_id}","starred_url":"https://api.github.com/users/Exygy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Exygy/subscriptions","organizations_url":"https://api.github.com/users/Exygy/orgs","repos_url":"https://api.github.com/users/Exygy/repos","events_url":"https://api.github.com/users/Exygy/events{/privacy}","received_events_url":"https://api.github.com/users/Exygy/received_events","type":"Organization","site_admin":false},"repo":{"id":43323246,"name":"sf-dahlia-web","full_name":"Exygy/sf-dahlia-web","owner":{"login":"Exygy","id":689564,"avatar_url":"https://avatars.githubusercontent.com/u/689564?v=3","gravatar_id":"","url":"https://api.github.com/users/Exygy","html_url":"https://github.com/Exygy","followers_url":"https://api.github.com/users/Exygy/followers","following_url":"https://api.github.com/users/Exygy/following{/other_user}","gists_url":"https://api.github.com/users/Exygy/gists{/gist_id}","starred_url":"https://api.github.com/users/Exygy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Exygy/subscriptions","organizations_url":"https://api.github.com/users/Exygy/orgs","repos_url":"https://api.github.com/users/Exygy/repos","events_url":"https://api.github.com/users/Exygy/events{/privacy}","received_events_url":"https://api.github.com/users/Exygy/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Exygy/sf-dahlia-web","description":"DAHLIA is the affordable housing portal for the City and County of San Francisco.","fork":false,"url":"https://api.github.com/repos/Exygy/sf-dahlia-web","forks_url":"https://api.github.com/repos/Exygy/sf-dahlia-web/forks","keys_url":"https://api.github.com/repos/Exygy/sf-dahlia-web/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Exygy/sf-dahlia-web/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Exygy/sf-dahlia-web/teams","hooks_url":"https://api.github.com/repos/Exygy/sf-dahlia-web/hooks","issue_events_url":"https://api.github.com/repos/Exygy/sf-dahlia-web/issues/events{/number}","events_url":"https://api.github.com/repos/Exygy/sf-dahlia-web/events","assignees_url":"https://api.github.com/repos/Exygy/sf-dahlia-web/assignees{/user}","branches_url":"https://api.github.com/repos/Exygy/sf-dahlia-web/branches{/branch}","tags_url":"https://api.github.com/repos/Exygy/sf-dahlia-web/tags","blobs_url":"https://api.github.com/repos/Exygy/sf-dahlia-web/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Exygy/sf-dahlia-web/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Exygy/sf-dahlia-web/git/refs{/sha}","trees_url":"https://api.github.com/repos/Exygy/sf-dahlia-web/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Exygy/sf-dahlia-web/statuses/{sha}","languages_url":"https://api.github.com/repos/Exygy/sf-dahlia-web/languages","stargazers_url":"https://api.github.com/repos/Exygy/sf-dahlia-web/stargazers","contributors_url":"https://api.github.com/repos/Exygy/sf-dahlia-web/contributors","subscribers_url":"https://api.github.com/repos/Exygy/sf-dahlia-web/subscribers","subscription_url":"https://api.github.com/repos/Exygy/sf-dahlia-web/subscription","commits_url":"https://api.github.com/repos/Exygy/sf-dahlia-web/commits{/sha}","git_commits_url":"https://api.github.com/repos/Exygy/sf-dahlia-web/git/commits{/sha}","comments_url":"https://api.github.com/repos/Exygy/sf-dahlia-web/comments{/number}","issue_comment_url":"https://api.github.com/repos/Exygy/sf-dahlia-web/issues/comments{/number}","contents_url":"https://api.github.com/repos/Exygy/sf-dahlia-web/contents/{+path}","compare_url":"https://api.github.com/repos/Exygy/sf-dahlia-web/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Exygy/sf-dahlia-web/merges","archive_url":"https://api.github.com/repos/Exygy/sf-dahlia-web/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Exygy/sf-dahlia-web/downloads","issues_url":"https://api.github.com/repos/Exygy/sf-dahlia-web/issues{/number}","pulls_url":"https://api.github.com/repos/Exygy/sf-dahlia-web/pulls{/number}","milestones_url":"https://api.github.com/repos/Exygy/sf-dahlia-web/milestones{/number}","notifications_url":"https://api.github.com/repos/Exygy/sf-dahlia-web/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Exygy/sf-dahlia-web/labels{/name}","releases_url":"https://api.github.com/repos/Exygy/sf-dahlia-web/releases{/id}","deployments_url":"https://api.github.com/repos/Exygy/sf-dahlia-web/deployments","created_at":"2015-09-28T19:48:45Z","updated_at":"2016-10-25T21:02:41Z","pushed_at":"2016-11-08T18:27:35Z","git_url":"git://github.com/Exygy/sf-dahlia-web.git","ssh_url":"git@github.com:Exygy/sf-dahlia-web.git","clone_url":"https://github.com/Exygy/sf-dahlia-web.git","svn_url":"https://github.com/Exygy/sf-dahlia-web","homepage":"https://housing.sfgov.org","size":27364,"stargazers_count":3,"watchers_count":3,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":9,"mirror_url":null,"open_issues_count":4,"forks":9,"open_issues":4,"watchers":3,"default_branch":"master"}},"base":{"label":"Exygy:master","ref":"master","sha":"2666a184647b03dd3117ca9f7e7d3fa200f9e09e","user":{"login":"Exygy","id":689564,"avatar_url":"https://avatars.githubusercontent.com/u/689564?v=3","gravatar_id":"","url":"https://api.github.com/users/Exygy","html_url":"https://github.com/Exygy","followers_url":"https://api.github.com/users/Exygy/followers","following_url":"https://api.github.com/users/Exygy/following{/other_user}","gists_url":"https://api.github.com/users/Exygy/gists{/gist_id}","starred_url":"https://api.github.com/users/Exygy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Exygy/subscriptions","organizations_url":"https://api.github.com/users/Exygy/orgs","repos_url":"https://api.github.com/users/Exygy/repos","events_url":"https://api.github.com/users/Exygy/events{/privacy}","received_events_url":"https://api.github.com/users/Exygy/received_events","type":"Organization","site_admin":false},"repo":{"id":43323246,"name":"sf-dahlia-web","full_name":"Exygy/sf-dahlia-web","owner":{"login":"Exygy","id":689564,"avatar_url":"https://avatars.githubusercontent.com/u/689564?v=3","gravatar_id":"","url":"https://api.github.com/users/Exygy","html_url":"https://github.com/Exygy","followers_url":"https://api.github.com/users/Exygy/followers","following_url":"https://api.github.com/users/Exygy/following{/other_user}","gists_url":"https://api.github.com/users/Exygy/gists{/gist_id}","starred_url":"https://api.github.com/users/Exygy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Exygy/subscriptions","organizations_url":"https://api.github.com/users/Exygy/orgs","repos_url":"https://api.github.com/users/Exygy/repos","events_url":"https://api.github.com/users/Exygy/events{/privacy}","received_events_url":"https://api.github.com/users/Exygy/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Exygy/sf-dahlia-web","description":"DAHLIA is the affordable housing portal for the City and County of San Francisco.","fork":false,"url":"https://api.github.com/repos/Exygy/sf-dahlia-web","forks_url":"https://api.github.com/repos/Exygy/sf-dahlia-web/forks","keys_url":"https://api.github.com/repos/Exygy/sf-dahlia-web/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Exygy/sf-dahlia-web/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Exygy/sf-dahlia-web/teams","hooks_url":"https://api.github.com/repos/Exygy/sf-dahlia-web/hooks","issue_events_url":"https://api.github.com/repos/Exygy/sf-dahlia-web/issues/events{/number}","events_url":"https://api.github.com/repos/Exygy/sf-dahlia-web/events","assignees_url":"https://api.github.com/repos/Exygy/sf-dahlia-web/assignees{/user}","branches_url":"https://api.github.com/repos/Exygy/sf-dahlia-web/branches{/branch}","tags_url":"https://api.github.com/repos/Exygy/sf-dahlia-web/tags","blobs_url":"https://api.github.com/repos/Exygy/sf-dahlia-web/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Exygy/sf-dahlia-web/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Exygy/sf-dahlia-web/git/refs{/sha}","trees_url":"https://api.github.com/repos/Exygy/sf-dahlia-web/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Exygy/sf-dahlia-web/statuses/{sha}","languages_url":"https://api.github.com/repos/Exygy/sf-dahlia-web/languages","stargazers_url":"https://api.github.com/repos/Exygy/sf-dahlia-web/stargazers","contributors_url":"https://api.github.com/repos/Exygy/sf-dahlia-web/contributors","subscribers_url":"https://api.github.com/repos/Exygy/sf-dahlia-web/subscribers","subscription_url":"https://api.github.com/repos/Exygy/sf-dahlia-web/subscription","commits_url":"https://api.github.com/repos/Exygy/sf-dahlia-web/commits{/sha}","git_commits_url":"https://api.github.com/repos/Exygy/sf-dahlia-web/git/commits{/sha}","comments_url":"https://api.github.com/repos/Exygy/sf-dahlia-web/comments{/number}","issue_comment_url":"https://api.github.com/repos/Exygy/sf-dahlia-web/issues/comments{/number}","contents_url":"https://api.github.com/repos/Exygy/sf-dahlia-web/contents/{+path}","compare_url":"https://api.github.com/repos/Exygy/sf-dahlia-web/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Exygy/sf-dahlia-web/merges","archive_url":"https://api.github.com/repos/Exygy/sf-dahlia-web/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Exygy/sf-dahlia-web/downloads","issues_url":"https://api.github.com/repos/Exygy/sf-dahlia-web/issues{/number}","pulls_url":"https://api.github.com/repos/Exygy/sf-dahlia-web/pulls{/number}","milestones_url":"https://api.github.com/repos/Exygy/sf-dahlia-web/milestones{/number}","notifications_url":"https://api.github.com/repos/Exygy/sf-dahlia-web/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Exygy/sf-dahlia-web/labels{/name}","releases_url":"https://api.github.com/repos/Exygy/sf-dahlia-web/releases{/id}","deployments_url":"https://api.github.com/repos/Exygy/sf-dahlia-web/deployments","created_at":"2015-09-28T19:48:45Z","updated_at":"2016-10-25T21:02:41Z","pushed_at":"2016-11-08T18:27:35Z","git_url":"git://github.com/Exygy/sf-dahlia-web.git","ssh_url":"git@github.com:Exygy/sf-dahlia-web.git","clone_url":"https://github.com/Exygy/sf-dahlia-web.git","svn_url":"https://github.com/Exygy/sf-dahlia-web","homepage":"https://housing.sfgov.org","size":27364,"stargazers_count":3,"watchers_count":3,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":9,"mirror_url":null,"open_issues_count":4,"forks":9,"open_issues":4,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Exygy/sf-dahlia-web/pulls/524"},"html":{"href":"https://github.com/Exygy/sf-dahlia-web/pull/524"},"issue":{"href":"https://api.github.com/repos/Exygy/sf-dahlia-web/issues/524"},"comments":{"href":"https://api.github.com/repos/Exygy/sf-dahlia-web/issues/524/comments"},"review_comments":{"href":"https://api.github.com/repos/Exygy/sf-dahlia-web/pulls/524/comments"},"review_comment":{"href":"https://api.github.com/repos/Exygy/sf-dahlia-web/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Exygy/sf-dahlia-web/pulls/524/commits"},"statuses":{"href":"https://api.github.com/repos/Exygy/sf-dahlia-web/statuses/ee70cfd24ff85c3163a08ba7c717ee219e9553d5"}}}}
{"actor":{"display_login":"kaptron"}}