{"action":"closed","number":11,"pull_request":{"url":"https://api.github.com/repos/Financial-Times/next-offline/pulls/11","id":95024332,"html_url":"https://github.com/Financial-Times/next-offline/pull/11","diff_url":"https://github.com/Financial-Times/next-offline/pull/11.diff","patch_url":"https://github.com/Financial-Times/next-offline/pull/11.patch","issue_url":"https://api.github.com/repos/Financial-Times/next-offline/issues/11","number":11,"state":"closed","locked":false,"title":"Top stories","user":{"login":"leggsimon","id":11544418,"avatar_url":"https://avatars.githubusercontent.com/u/11544418?v=3","gravatar_id":"","url":"https://api.github.com/users/leggsimon","html_url":"https://github.com/leggsimon","followers_url":"https://api.github.com/users/leggsimon/followers","following_url":"https://api.github.com/users/leggsimon/following{/other_user}","gists_url":"https://api.github.com/users/leggsimon/gists{/gist_id}","starred_url":"https://api.github.com/users/leggsimon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leggsimon/subscriptions","organizations_url":"https://api.github.com/users/leggsimon/orgs","repos_url":"https://api.github.com/users/leggsimon/repos","events_url":"https://api.github.com/users/leggsimon/events{/privacy}","received_events_url":"https://api.github.com/users/leggsimon/received_events","type":"User","site_admin":false},"body":"This adds a new `/__offline/top-stories` route and controller.\r\n\r\n*N.b.* Apologies for the large PR, ignore the files in `data` `helpers` `libs` `sections` which were all ported from front-page\r\n\r\n- Copy over bulk of data loading and validation to fetch graph-ql data from front-page\r\n- Setup n-ui for compilation and templates\r\n- Disable sticky header\r\n- Add custom styling for offline header\r\n- Add custom data model for sub-navigation\r\n- Refactor template partials\r\n- Use vanilla layout\r\n\r\n### Todo\r\n- [x] Decorate response with `Link` headers of sub-resources for precaching\r\n- [ ] Clean up data-store libraries copied over from front-page\r\n- [ ] Clean up dependencies added to get n-ui to work\r\n\r\n![screenshot 2016-11-23 15 26 58](https://cloud.githubusercontent.com/assets/11544418/20567620/4c42c652-b191-11e6-8250-c25f97e880af.png)\r\n","created_at":"2016-11-23T15:26:43Z","updated_at":"2016-11-30T11:00:27Z","closed_at":"2016-11-30T11:00:27Z","merged_at":"2016-11-30T11:00:27Z","merge_commit_sha":"98a17f610cc6a5a36ff25d2c66d0381377f009ce","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/Financial-Times/next-offline/pulls/11/commits","review_comments_url":"https://api.github.com/repos/Financial-Times/next-offline/pulls/11/comments","review_comment_url":"https://api.github.com/repos/Financial-Times/next-offline/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Financial-Times/next-offline/issues/11/comments","statuses_url":"https://api.github.com/repos/Financial-Times/next-offline/statuses/1741af6d8d04225376e807650beddca13089ee6e","head":{"label":"Financial-Times:top-stories","ref":"top-stories","sha":"1741af6d8d04225376e807650beddca13089ee6e","user":{"login":"Financial-Times","id":3502508,"avatar_url":"https://avatars.githubusercontent.com/u/3502508?v=3","gravatar_id":"","url":"https://api.github.com/users/Financial-Times","html_url":"https://github.com/Financial-Times","followers_url":"https://api.github.com/users/Financial-Times/followers","following_url":"https://api.github.com/users/Financial-Times/following{/other_user}","gists_url":"https://api.github.com/users/Financial-Times/gists{/gist_id}","starred_url":"https://api.github.com/users/Financial-Times/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Financial-Times/subscriptions","organizations_url":"https://api.github.com/users/Financial-Times/orgs","repos_url":"https://api.github.com/users/Financial-Times/repos","events_url":"https://api.github.com/users/Financial-Times/events{/privacy}","received_events_url":"https://api.github.com/users/Financial-Times/received_events","type":"Organization","site_admin":false},"repo":{"id":73909987,"name":"next-offline","full_name":"Financial-Times/next-offline","owner":{"login":"Financial-Times","id":3502508,"avatar_url":"https://avatars.githubusercontent.com/u/3502508?v=3","gravatar_id":"","url":"https://api.github.com/users/Financial-Times","html_url":"https://github.com/Financial-Times","followers_url":"https://api.github.com/users/Financial-Times/followers","following_url":"https://api.github.com/users/Financial-Times/following{/other_user}","gists_url":"https://api.github.com/users/Financial-Times/gists{/gist_id}","starred_url":"https://api.github.com/users/Financial-Times/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Financial-Times/subscriptions","organizations_url":"https://api.github.com/users/Financial-Times/orgs","repos_url":"https://api.github.com/users/Financial-Times/repos","events_url":"https://api.github.com/users/Financial-Times/events{/privacy}","received_events_url":"https://api.github.com/users/Financial-Times/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Financial-Times/next-offline","description":"home for the soon-to-be ft.com offline landing page","fork":false,"url":"https://api.github.com/repos/Financial-Times/next-offline","forks_url":"https://api.github.com/repos/Financial-Times/next-offline/forks","keys_url":"https://api.github.com/repos/Financial-Times/next-offline/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Financial-Times/next-offline/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Financial-Times/next-offline/teams","hooks_url":"https://api.github.com/repos/Financial-Times/next-offline/hooks","issue_events_url":"https://api.github.com/repos/Financial-Times/next-offline/issues/events{/number}","events_url":"https://api.github.com/repos/Financial-Times/next-offline/events","assignees_url":"https://api.github.com/repos/Financial-Times/next-offline/assignees{/user}","branches_url":"https://api.github.com/repos/Financial-Times/next-offline/branches{/branch}","tags_url":"https://api.github.com/repos/Financial-Times/next-offline/tags","blobs_url":"https://api.github.com/repos/Financial-Times/next-offline/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Financial-Times/next-offline/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Financial-Times/next-offline/git/refs{/sha}","trees_url":"https://api.github.com/repos/Financial-Times/next-offline/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Financial-Times/next-offline/statuses/{sha}","languages_url":"https://api.github.com/repos/Financial-Times/next-offline/languages","stargazers_url":"https://api.github.com/repos/Financial-Times/next-offline/stargazers","contributors_url":"https://api.github.com/repos/Financial-Times/next-offline/contributors","subscribers_url":"https://api.github.com/repos/Financial-Times/next-offline/subscribers","subscription_url":"https://api.github.com/repos/Financial-Times/next-offline/subscription","commits_url":"https://api.github.com/repos/Financial-Times/next-offline/commits{/sha}","git_commits_url":"https://api.github.com/repos/Financial-Times/next-offline/git/commits{/sha}","comments_url":"https://api.github.com/repos/Financial-Times/next-offline/comments{/number}","issue_comment_url":"https://api.github.com/repos/Financial-Times/next-offline/issues/comments{/number}","contents_url":"https://api.github.com/repos/Financial-Times/next-offline/contents/{+path}","compare_url":"https://api.github.com/repos/Financial-Times/next-offline/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Financial-Times/next-offline/merges","archive_url":"https://api.github.com/repos/Financial-Times/next-offline/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Financial-Times/next-offline/downloads","issues_url":"https://api.github.com/repos/Financial-Times/next-offline/issues{/number}","pulls_url":"https://api.github.com/repos/Financial-Times/next-offline/pulls{/number}","milestones_url":"https://api.github.com/repos/Financial-Times/next-offline/milestones{/number}","notifications_url":"https://api.github.com/repos/Financial-Times/next-offline/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Financial-Times/next-offline/labels{/name}","releases_url":"https://api.github.com/repos/Financial-Times/next-offline/releases{/id}","deployments_url":"https://api.github.com/repos/Financial-Times/next-offline/deployments","created_at":"2016-11-16T10:40:13Z","updated_at":"2016-11-17T16:59:07Z","pushed_at":"2016-11-30T11:00:27Z","git_url":"git://github.com/Financial-Times/next-offline.git","ssh_url":"git@github.com:Financial-Times/next-offline.git","clone_url":"https://github.com/Financial-Times/next-offline.git","svn_url":"https://github.com/Financial-Times/next-offline","homepage":"","size":150,"stargazers_count":1,"watchers_count":1,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":1,"default_branch":"master"}},"base":{"label":"Financial-Times:master","ref":"master","sha":"c284b068444812f9156af4202360dd3670757450","user":{"login":"Financial-Times","id":3502508,"avatar_url":"https://avatars.githubusercontent.com/u/3502508?v=3","gravatar_id":"","url":"https://api.github.com/users/Financial-Times","html_url":"https://github.com/Financial-Times","followers_url":"https://api.github.com/users/Financial-Times/followers","following_url":"https://api.github.com/users/Financial-Times/following{/other_user}","gists_url":"https://api.github.com/users/Financial-Times/gists{/gist_id}","starred_url":"https://api.github.com/users/Financial-Times/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Financial-Times/subscriptions","organizations_url":"https://api.github.com/users/Financial-Times/orgs","repos_url":"https://api.github.com/users/Financial-Times/repos","events_url":"https://api.github.com/users/Financial-Times/events{/privacy}","received_events_url":"https://api.github.com/users/Financial-Times/received_events","type":"Organization","site_admin":false},"repo":{"id":73909987,"name":"next-offline","full_name":"Financial-Times/next-offline","owner":{"login":"Financial-Times","id":3502508,"avatar_url":"https://avatars.githubusercontent.com/u/3502508?v=3","gravatar_id":"","url":"https://api.github.com/users/Financial-Times","html_url":"https://github.com/Financial-Times","followers_url":"https://api.github.com/users/Financial-Times/followers","following_url":"https://api.github.com/users/Financial-Times/following{/other_user}","gists_url":"https://api.github.com/users/Financial-Times/gists{/gist_id}","starred_url":"https://api.github.com/users/Financial-Times/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Financial-Times/subscriptions","organizations_url":"https://api.github.com/users/Financial-Times/orgs","repos_url":"https://api.github.com/users/Financial-Times/repos","events_url":"https://api.github.com/users/Financial-Times/events{/privacy}","received_events_url":"https://api.github.com/users/Financial-Times/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Financial-Times/next-offline","description":"home for the soon-to-be ft.com offline landing page","fork":false,"url":"https://api.github.com/repos/Financial-Times/next-offline","forks_url":"https://api.github.com/repos/Financial-Times/next-offline/forks","keys_url":"https://api.github.com/repos/Financial-Times/next-offline/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Financial-Times/next-offline/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Financial-Times/next-offline/teams","hooks_url":"https://api.github.com/repos/Financial-Times/next-offline/hooks","issue_events_url":"https://api.github.com/repos/Financial-Times/next-offline/issues/events{/number}","events_url":"https://api.github.com/repos/Financial-Times/next-offline/events","assignees_url":"https://api.github.com/repos/Financial-Times/next-offline/assignees{/user}","branches_url":"https://api.github.com/repos/Financial-Times/next-offline/branches{/branch}","tags_url":"https://api.github.com/repos/Financial-Times/next-offline/tags","blobs_url":"https://api.github.com/repos/Financial-Times/next-offline/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Financial-Times/next-offline/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Financial-Times/next-offline/git/refs{/sha}","trees_url":"https://api.github.com/repos/Financial-Times/next-offline/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Financial-Times/next-offline/statuses/{sha}","languages_url":"https://api.github.com/repos/Financial-Times/next-offline/languages","stargazers_url":"https://api.github.com/repos/Financial-Times/next-offline/stargazers","contributors_url":"https://api.github.com/repos/Financial-Times/next-offline/contributors","subscribers_url":"https://api.github.com/repos/Financial-Times/next-offline/subscribers","subscription_url":"https://api.github.com/repos/Financial-Times/next-offline/subscription","commits_url":"https://api.github.com/repos/Financial-Times/next-offline/commits{/sha}","git_commits_url":"https://api.github.com/repos/Financial-Times/next-offline/git/commits{/sha}","comments_url":"https://api.github.com/repos/Financial-Times/next-offline/comments{/number}","issue_comment_url":"https://api.github.com/repos/Financial-Times/next-offline/issues/comments{/number}","contents_url":"https://api.github.com/repos/Financial-Times/next-offline/contents/{+path}","compare_url":"https://api.github.com/repos/Financial-Times/next-offline/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Financial-Times/next-offline/merges","archive_url":"https://api.github.com/repos/Financial-Times/next-offline/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Financial-Times/next-offline/downloads","issues_url":"https://api.github.com/repos/Financial-Times/next-offline/issues{/number}","pulls_url":"https://api.github.com/repos/Financial-Times/next-offline/pulls{/number}","milestones_url":"https://api.github.com/repos/Financial-Times/next-offline/milestones{/number}","notifications_url":"https://api.github.com/repos/Financial-Times/next-offline/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Financial-Times/next-offline/labels{/name}","releases_url":"https://api.github.com/repos/Financial-Times/next-offline/releases{/id}","deployments_url":"https://api.github.com/repos/Financial-Times/next-offline/deployments","created_at":"2016-11-16T10:40:13Z","updated_at":"2016-11-17T16:59:07Z","pushed_at":"2016-11-30T11:00:27Z","git_url":"git://github.com/Financial-Times/next-offline.git","ssh_url":"git@github.com:Financial-Times/next-offline.git","clone_url":"https://github.com/Financial-Times/next-offline.git","svn_url":"https://github.com/Financial-Times/next-offline","homepage":"","size":150,"stargazers_count":1,"watchers_count":1,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Financial-Times/next-offline/pulls/11"},"html":{"href":"https://github.com/Financial-Times/next-offline/pull/11"},"issue":{"href":"https://api.github.com/repos/Financial-Times/next-offline/issues/11"},"comments":{"href":"https://api.github.com/repos/Financial-Times/next-offline/issues/11/comments"},"review_comments":{"href":"https://api.github.com/repos/Financial-Times/next-offline/pulls/11/comments"},"review_comment":{"href":"https://api.github.com/repos/Financial-Times/next-offline/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Financial-Times/next-offline/pulls/11/commits"},"statuses":{"href":"https://api.github.com/repos/Financial-Times/next-offline/statuses/1741af6d8d04225376e807650beddca13089ee6e"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"leggsimon","id":11544418,"avatar_url":"https://avatars.githubusercontent.com/u/11544418?v=3","gravatar_id":"","url":"https://api.github.com/users/leggsimon","html_url":"https://github.com/leggsimon","followers_url":"https://api.github.com/users/leggsimon/followers","following_url":"https://api.github.com/users/leggsimon/following{/other_user}","gists_url":"https://api.github.com/users/leggsimon/gists{/gist_id}","starred_url":"https://api.github.com/users/leggsimon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leggsimon/subscriptions","organizations_url":"https://api.github.com/users/leggsimon/orgs","repos_url":"https://api.github.com/users/leggsimon/repos","events_url":"https://api.github.com/users/leggsimon/events{/privacy}","received_events_url":"https://api.github.com/users/leggsimon/received_events","type":"User","site_admin":false},"comments":2,"review_comments":7,"commits":31,"additions":1434,"deletions":12,"changed_files":45}}
{"actor":{"display_login":"leggsimon"}}