{"action":"created","comment":{"url":"https://api.github.com/repos/PRX/publish.prx.org/pulls/comments/80159946","id":80159946,"diff_hunk":"@@ -0,0 +1,121 @@\n+.story-image {\n+  position: relative;\n+  float: left;\n+  width: 120px;\n+  height: 120px;\n+  margin-bottom: 5px;\n+}\n+image-loader {\n+  width: 100%;\n+  height: 100%;\n+  display: block;\n+}\n+\n+.status {\n+  position: absolute;\n+  top: 0;\n+  right: 0;\n+  padding: 3px 10px;\n+  z-index: 10;\n+  color: #fff;\n+  background-color: #444;\n+  font-weight: 400;\n+  font-size: 11px;\n+  text-transform: uppercase;\n+  line-height: 18px;\n+}\n+.status.unpublished {\n+  background-color: #ee4d3e;\n+}\n+\n+.story-detail {\n+  position: relative;\n+  float: right;\n+  padding: 10px;\n+  width: 200px;\n+  height: 120px;\n+  line-height: 20px;\n+}\n+.story-title {\n+  font-size: 16px;\n+  max-height: 40px;\n+  overflow: hidden;\n+  text-overflow: ellipsis;\n+}\n+.series-title {\n+  max-height: 40px;\n+  overflow: hidden;\n+  text-overflow: ellipsis;\n+}\n+\n+.meta {\n+  position: absolute;\n+  bottom: 0;\n+  width: 180px;\n+  line-height: 20px;\n+}\n+.duration, .modified, .audio-total {\n+  width: calc(100%/3);\n+}\n+.modified {\n+  text-align: right;\n+}\n+.audio-total {\n+}\n+.audio-total > i {\n+  /* TODO: this isn't the correct icon */\n+  display: inline-block;\n+  transform: rotate(90deg);\n+  margin-right: -5px;\n+}\n+\n+.story-tags {\n+  clear: left;\n+  display: flex;\n+  justify-content: flex-start;\n+  flex-flow: row wrap;\n+  width: 320px;\n+  padding: 0 10px;\n+  max-height: 20px;\n+  line-height: 20px;\n+  overflow: hidden;","path":"src/app/search/directives/search-story.component.css","position":81,"original_position":81,"commit_id":"c91db528e0bfc8b20de85b7acce96434e6d99eba","original_commit_id":"c91db528e0bfc8b20de85b7acce96434e6d99eba","user":{"login":"sandikbarr","id":2250413,"avatar_url":"https://avatars.githubusercontent.com/u/2250413?v=3","gravatar_id":"","url":"https://api.github.com/users/sandikbarr","html_url":"https://github.com/sandikbarr","followers_url":"https://api.github.com/users/sandikbarr/followers","following_url":"https://api.github.com/users/sandikbarr/following{/other_user}","gists_url":"https://api.github.com/users/sandikbarr/gists{/gist_id}","starred_url":"https://api.github.com/users/sandikbarr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sandikbarr/subscriptions","organizations_url":"https://api.github.com/users/sandikbarr/orgs","repos_url":"https://api.github.com/users/sandikbarr/repos","events_url":"https://api.github.com/users/sandikbarr/events{/privacy}","received_events_url":"https://api.github.com/users/sandikbarr/received_events","type":"User","site_admin":false},"body":"We probably do want ellipsis here though if there are more tags than will fit into the single line that I allowed.","created_at":"2016-09-22T23:51:18Z","updated_at":"2016-09-22T23:51:18Z","html_url":"https://github.com/PRX/publish.prx.org/pull/44#discussion_r80159946","pull_request_url":"https://api.github.com/repos/PRX/publish.prx.org/pulls/44","_links":{"self":{"href":"https://api.github.com/repos/PRX/publish.prx.org/pulls/comments/80159946"},"html":{"href":"https://github.com/PRX/publish.prx.org/pull/44#discussion_r80159946"},"pull_request":{"href":"https://api.github.com/repos/PRX/publish.prx.org/pulls/44"}}},"pull_request":{"url":"https://api.github.com/repos/PRX/publish.prx.org/pulls/44","id":85871883,"html_url":"https://github.com/PRX/publish.prx.org/pull/44","diff_url":"https://github.com/PRX/publish.prx.org/pull/44.diff","patch_url":"https://github.com/PRX/publish.prx.org/pull/44.patch","issue_url":"https://api.github.com/repos/PRX/publish.prx.org/issues/44","number":44,"state":"open","locked":false,"title":"story search","user":{"login":"sandikbarr","id":2250413,"avatar_url":"https://avatars.githubusercontent.com/u/2250413?v=3","gravatar_id":"","url":"https://api.github.com/users/sandikbarr","html_url":"https://github.com/sandikbarr","followers_url":"https://api.github.com/users/sandikbarr/followers","following_url":"https://api.github.com/users/sandikbarr/following{/other_user}","gists_url":"https://api.github.com/users/sandikbarr/gists{/gist_id}","starred_url":"https://api.github.com/users/sandikbarr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sandikbarr/subscriptions","organizations_url":"https://api.github.com/users/sandikbarr/orgs","repos_url":"https://api.github.com/users/sandikbarr/repos","events_url":"https://api.github.com/users/sandikbarr/events{/privacy}","received_events_url":"https://api.github.com/users/sandikbarr/received_events","type":"User","site_admin":false},"body":"Adds #31 story search page\r\n\r\nTODO: search on search term, ordering\r\n\r\nI forgot the orange play button and will add that next.\r\n\r\nI could probably use some critical feedback on the card layout. I made them the width that would fit three in a full sized row, which meant I increased per page size to 12. I allowed 2 lines for both story and series titles. If there are tags, the description should be reduced to 2 lines rather than 3. How does all this look with more realistic data?\r\n<img width=\"644\" alt=\"screen shot 2016-09-21 at 5 18 41 pm\" src=\"https://cloud.githubusercontent.com/assets/2250413/18731213/2ff286c4-8020-11e6-84de-97832e4007c3.png\">\r\n","created_at":"2016-09-19T21:21:01Z","updated_at":"2016-09-22T23:51:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a92cc50a992500960a01164fc9cac9d42f0e82ac","assignee":{"login":"cavis","id":1410587,"avatar_url":"https://avatars.githubusercontent.com/u/1410587?v=3","gravatar_id":"","url":"https://api.github.com/users/cavis","html_url":"https://github.com/cavis","followers_url":"https://api.github.com/users/cavis/followers","following_url":"https://api.github.com/users/cavis/following{/other_user}","gists_url":"https://api.github.com/users/cavis/gists{/gist_id}","starred_url":"https://api.github.com/users/cavis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cavis/subscriptions","organizations_url":"https://api.github.com/users/cavis/orgs","repos_url":"https://api.github.com/users/cavis/repos","events_url":"https://api.github.com/users/cavis/events{/privacy}","received_events_url":"https://api.github.com/users/cavis/received_events","type":"User","site_admin":false},"assignees":[{"login":"cavis","id":1410587,"avatar_url":"https://avatars.githubusercontent.com/u/1410587?v=3","gravatar_id":"","url":"https://api.github.com/users/cavis","html_url":"https://github.com/cavis","followers_url":"https://api.github.com/users/cavis/followers","following_url":"https://api.github.com/users/cavis/following{/other_user}","gists_url":"https://api.github.com/users/cavis/gists{/gist_id}","starred_url":"https://api.github.com/users/cavis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cavis/subscriptions","organizations_url":"https://api.github.com/users/cavis/orgs","repos_url":"https://api.github.com/users/cavis/repos","events_url":"https://api.github.com/users/cavis/events{/privacy}","received_events_url":"https://api.github.com/users/cavis/received_events","type":"User","site_admin":false},{"login":"sandikbarr","id":2250413,"avatar_url":"https://avatars.githubusercontent.com/u/2250413?v=3","gravatar_id":"","url":"https://api.github.com/users/sandikbarr","html_url":"https://github.com/sandikbarr","followers_url":"https://api.github.com/users/sandikbarr/followers","following_url":"https://api.github.com/users/sandikbarr/following{/other_user}","gists_url":"https://api.github.com/users/sandikbarr/gists{/gist_id}","starred_url":"https://api.github.com/users/sandikbarr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sandikbarr/subscriptions","organizations_url":"https://api.github.com/users/sandikbarr/orgs","repos_url":"https://api.github.com/users/sandikbarr/repos","events_url":"https://api.github.com/users/sandikbarr/events{/privacy}","received_events_url":"https://api.github.com/users/sandikbarr/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/PRX/publish.prx.org/pulls/44/commits","review_comments_url":"https://api.github.com/repos/PRX/publish.prx.org/pulls/44/comments","review_comment_url":"https://api.github.com/repos/PRX/publish.prx.org/pulls/comments{/number}","comments_url":"https://api.github.com/repos/PRX/publish.prx.org/issues/44/comments","statuses_url":"https://api.github.com/repos/PRX/publish.prx.org/statuses/c91db528e0bfc8b20de85b7acce96434e6d99eba","head":{"label":"PRX:feat/story-search","ref":"feat/story-search","sha":"c91db528e0bfc8b20de85b7acce96434e6d99eba","user":{"login":"PRX","id":160453,"avatar_url":"https://avatars.githubusercontent.com/u/160453?v=3","gravatar_id":"","url":"https://api.github.com/users/PRX","html_url":"https://github.com/PRX","followers_url":"https://api.github.com/users/PRX/followers","following_url":"https://api.github.com/users/PRX/following{/other_user}","gists_url":"https://api.github.com/users/PRX/gists{/gist_id}","starred_url":"https://api.github.com/users/PRX/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PRX/subscriptions","organizations_url":"https://api.github.com/users/PRX/orgs","repos_url":"https://api.github.com/users/PRX/repos","events_url":"https://api.github.com/users/PRX/events{/privacy}","received_events_url":"https://api.github.com/users/PRX/received_events","type":"Organization","site_admin":false},"repo":{"id":53075022,"name":"publish.prx.org","full_name":"PRX/publish.prx.org","owner":{"login":"PRX","id":160453,"avatar_url":"https://avatars.githubusercontent.com/u/160453?v=3","gravatar_id":"","url":"https://api.github.com/users/PRX","html_url":"https://github.com/PRX","followers_url":"https://api.github.com/users/PRX/followers","following_url":"https://api.github.com/users/PRX/following{/other_user}","gists_url":"https://api.github.com/users/PRX/gists{/gist_id}","starred_url":"https://api.github.com/users/PRX/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PRX/subscriptions","organizations_url":"https://api.github.com/users/PRX/orgs","repos_url":"https://api.github.com/users/PRX/repos","events_url":"https://api.github.com/users/PRX/events{/privacy}","received_events_url":"https://api.github.com/users/PRX/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/PRX/publish.prx.org","description":"Publishing app","fork":false,"url":"https://api.github.com/repos/PRX/publish.prx.org","forks_url":"https://api.github.com/repos/PRX/publish.prx.org/forks","keys_url":"https://api.github.com/repos/PRX/publish.prx.org/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PRX/publish.prx.org/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PRX/publish.prx.org/teams","hooks_url":"https://api.github.com/repos/PRX/publish.prx.org/hooks","issue_events_url":"https://api.github.com/repos/PRX/publish.prx.org/issues/events{/number}","events_url":"https://api.github.com/repos/PRX/publish.prx.org/events","assignees_url":"https://api.github.com/repos/PRX/publish.prx.org/assignees{/user}","branches_url":"https://api.github.com/repos/PRX/publish.prx.org/branches{/branch}","tags_url":"https://api.github.com/repos/PRX/publish.prx.org/tags","blobs_url":"https://api.github.com/repos/PRX/publish.prx.org/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PRX/publish.prx.org/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PRX/publish.prx.org/git/refs{/sha}","trees_url":"https://api.github.com/repos/PRX/publish.prx.org/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PRX/publish.prx.org/statuses/{sha}","languages_url":"https://api.github.com/repos/PRX/publish.prx.org/languages","stargazers_url":"https://api.github.com/repos/PRX/publish.prx.org/stargazers","contributors_url":"https://api.github.com/repos/PRX/publish.prx.org/contributors","subscribers_url":"https://api.github.com/repos/PRX/publish.prx.org/subscribers","subscription_url":"https://api.github.com/repos/PRX/publish.prx.org/subscription","commits_url":"https://api.github.com/repos/PRX/publish.prx.org/commits{/sha}","git_commits_url":"https://api.github.com/repos/PRX/publish.prx.org/git/commits{/sha}","comments_url":"https://api.github.com/repos/PRX/publish.prx.org/comments{/number}","issue_comment_url":"https://api.github.com/repos/PRX/publish.prx.org/issues/comments{/number}","contents_url":"https://api.github.com/repos/PRX/publish.prx.org/contents/{+path}","compare_url":"https://api.github.com/repos/PRX/publish.prx.org/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PRX/publish.prx.org/merges","archive_url":"https://api.github.com/repos/PRX/publish.prx.org/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PRX/publish.prx.org/downloads","issues_url":"https://api.github.com/repos/PRX/publish.prx.org/issues{/number}","pulls_url":"https://api.github.com/repos/PRX/publish.prx.org/pulls{/number}","milestones_url":"https://api.github.com/repos/PRX/publish.prx.org/milestones{/number}","notifications_url":"https://api.github.com/repos/PRX/publish.prx.org/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PRX/publish.prx.org/labels{/name}","releases_url":"https://api.github.com/repos/PRX/publish.prx.org/releases{/id}","deployments_url":"https://api.github.com/repos/PRX/publish.prx.org/deployments","created_at":"2016-03-03T18:55:16Z","updated_at":"2016-03-31T16:34:56Z","pushed_at":"2016-09-21T22:21:09Z","git_url":"git://github.com/PRX/publish.prx.org.git","ssh_url":"git@github.com:PRX/publish.prx.org.git","clone_url":"https://github.com/PRX/publish.prx.org.git","svn_url":"https://github.com/PRX/publish.prx.org","homepage":null,"size":9685,"stargazers_count":0,"watchers_count":0,"language":"TypeScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":17,"forks":0,"open_issues":17,"watchers":0,"default_branch":"master"}},"base":{"label":"PRX:master","ref":"master","sha":"86933466cd7dbe327566013952c37a4c27c29d0e","user":{"login":"PRX","id":160453,"avatar_url":"https://avatars.githubusercontent.com/u/160453?v=3","gravatar_id":"","url":"https://api.github.com/users/PRX","html_url":"https://github.com/PRX","followers_url":"https://api.github.com/users/PRX/followers","following_url":"https://api.github.com/users/PRX/following{/other_user}","gists_url":"https://api.github.com/users/PRX/gists{/gist_id}","starred_url":"https://api.github.com/users/PRX/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PRX/subscriptions","organizations_url":"https://api.github.com/users/PRX/orgs","repos_url":"https://api.github.com/users/PRX/repos","events_url":"https://api.github.com/users/PRX/events{/privacy}","received_events_url":"https://api.github.com/users/PRX/received_events","type":"Organization","site_admin":false},"repo":{"id":53075022,"name":"publish.prx.org","full_name":"PRX/publish.prx.org","owner":{"login":"PRX","id":160453,"avatar_url":"https://avatars.githubusercontent.com/u/160453?v=3","gravatar_id":"","url":"https://api.github.com/users/PRX","html_url":"https://github.com/PRX","followers_url":"https://api.github.com/users/PRX/followers","following_url":"https://api.github.com/users/PRX/following{/other_user}","gists_url":"https://api.github.com/users/PRX/gists{/gist_id}","starred_url":"https://api.github.com/users/PRX/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PRX/subscriptions","organizations_url":"https://api.github.com/users/PRX/orgs","repos_url":"https://api.github.com/users/PRX/repos","events_url":"https://api.github.com/users/PRX/events{/privacy}","received_events_url":"https://api.github.com/users/PRX/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/PRX/publish.prx.org","description":"Publishing app","fork":false,"url":"https://api.github.com/repos/PRX/publish.prx.org","forks_url":"https://api.github.com/repos/PRX/publish.prx.org/forks","keys_url":"https://api.github.com/repos/PRX/publish.prx.org/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PRX/publish.prx.org/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PRX/publish.prx.org/teams","hooks_url":"https://api.github.com/repos/PRX/publish.prx.org/hooks","issue_events_url":"https://api.github.com/repos/PRX/publish.prx.org/issues/events{/number}","events_url":"https://api.github.com/repos/PRX/publish.prx.org/events","assignees_url":"https://api.github.com/repos/PRX/publish.prx.org/assignees{/user}","branches_url":"https://api.github.com/repos/PRX/publish.prx.org/branches{/branch}","tags_url":"https://api.github.com/repos/PRX/publish.prx.org/tags","blobs_url":"https://api.github.com/repos/PRX/publish.prx.org/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PRX/publish.prx.org/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PRX/publish.prx.org/git/refs{/sha}","trees_url":"https://api.github.com/repos/PRX/publish.prx.org/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PRX/publish.prx.org/statuses/{sha}","languages_url":"https://api.github.com/repos/PRX/publish.prx.org/languages","stargazers_url":"https://api.github.com/repos/PRX/publish.prx.org/stargazers","contributors_url":"https://api.github.com/repos/PRX/publish.prx.org/contributors","subscribers_url":"https://api.github.com/repos/PRX/publish.prx.org/subscribers","subscription_url":"https://api.github.com/repos/PRX/publish.prx.org/subscription","commits_url":"https://api.github.com/repos/PRX/publish.prx.org/commits{/sha}","git_commits_url":"https://api.github.com/repos/PRX/publish.prx.org/git/commits{/sha}","comments_url":"https://api.github.com/repos/PRX/publish.prx.org/comments{/number}","issue_comment_url":"https://api.github.com/repos/PRX/publish.prx.org/issues/comments{/number}","contents_url":"https://api.github.com/repos/PRX/publish.prx.org/contents/{+path}","compare_url":"https://api.github.com/repos/PRX/publish.prx.org/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PRX/publish.prx.org/merges","archive_url":"https://api.github.com/repos/PRX/publish.prx.org/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PRX/publish.prx.org/downloads","issues_url":"https://api.github.com/repos/PRX/publish.prx.org/issues{/number}","pulls_url":"https://api.github.com/repos/PRX/publish.prx.org/pulls{/number}","milestones_url":"https://api.github.com/repos/PRX/publish.prx.org/milestones{/number}","notifications_url":"https://api.github.com/repos/PRX/publish.prx.org/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PRX/publish.prx.org/labels{/name}","releases_url":"https://api.github.com/repos/PRX/publish.prx.org/releases{/id}","deployments_url":"https://api.github.com/repos/PRX/publish.prx.org/deployments","created_at":"2016-03-03T18:55:16Z","updated_at":"2016-03-31T16:34:56Z","pushed_at":"2016-09-21T22:21:09Z","git_url":"git://github.com/PRX/publish.prx.org.git","ssh_url":"git@github.com:PRX/publish.prx.org.git","clone_url":"https://github.com/PRX/publish.prx.org.git","svn_url":"https://github.com/PRX/publish.prx.org","homepage":null,"size":9685,"stargazers_count":0,"watchers_count":0,"language":"TypeScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":17,"forks":0,"open_issues":17,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/PRX/publish.prx.org/pulls/44"},"html":{"href":"https://github.com/PRX/publish.prx.org/pull/44"},"issue":{"href":"https://api.github.com/repos/PRX/publish.prx.org/issues/44"},"comments":{"href":"https://api.github.com/repos/PRX/publish.prx.org/issues/44/comments"},"review_comments":{"href":"https://api.github.com/repos/PRX/publish.prx.org/pulls/44/comments"},"review_comment":{"href":"https://api.github.com/repos/PRX/publish.prx.org/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/PRX/publish.prx.org/pulls/44/commits"},"statuses":{"href":"https://api.github.com/repos/PRX/publish.prx.org/statuses/c91db528e0bfc8b20de85b7acce96434e6d99eba"}}}}
{"actor":{"display_login":"sandikbarr"}}