{"action":"created","issue":{"url":"https://api.github.com/repos/wendelltron/tekapp/issues/42","labels_url":"https://api.github.com/repos/wendelltron/tekapp/issues/42/labels{/name}","comments_url":"https://api.github.com/repos/wendelltron/tekapp/issues/42/comments","events_url":"https://api.github.com/repos/wendelltron/tekapp/issues/42/events","html_url":"https://github.com/wendelltron/tekapp/issues/42","id":70279953,"number":42,"title":"Fix scrolling and jumping","user":{"login":"DaAwesomeP","id":4472083,"avatar_url":"https://avatars.githubusercontent.com/u/4472083?v=3","gravatar_id":"","url":"https://api.github.com/users/DaAwesomeP","html_url":"https://github.com/DaAwesomeP","followers_url":"https://api.github.com/users/DaAwesomeP/followers","following_url":"https://api.github.com/users/DaAwesomeP/following{/other_user}","gists_url":"https://api.github.com/users/DaAwesomeP/gists{/gist_id}","starred_url":"https://api.github.com/users/DaAwesomeP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DaAwesomeP/subscriptions","organizations_url":"https://api.github.com/users/DaAwesomeP/orgs","repos_url":"https://api.github.com/users/DaAwesomeP/repos","events_url":"https://api.github.com/users/DaAwesomeP/events{/privacy}","received_events_url":"https://api.github.com/users/DaAwesomeP/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/wendelltron/tekapp/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/wendelltron/tekapp/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/wendelltron/tekapp/labels/inprogress","name":"inprogress","color":"009800"},{"url":"https://api.github.com/repos/wendelltron/tekapp/labels/task","name":"task","color":"fbca04"}],"state":"open","locked":false,"assignee":{"login":"DaAwesomeP","id":4472083,"avatar_url":"https://avatars.githubusercontent.com/u/4472083?v=3","gravatar_id":"","url":"https://api.github.com/users/DaAwesomeP","html_url":"https://github.com/DaAwesomeP","followers_url":"https://api.github.com/users/DaAwesomeP/followers","following_url":"https://api.github.com/users/DaAwesomeP/following{/other_user}","gists_url":"https://api.github.com/users/DaAwesomeP/gists{/gist_id}","starred_url":"https://api.github.com/users/DaAwesomeP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DaAwesomeP/subscriptions","organizations_url":"https://api.github.com/users/DaAwesomeP/orgs","repos_url":"https://api.github.com/users/DaAwesomeP/repos","events_url":"https://api.github.com/users/DaAwesomeP/events{/privacy}","received_events_url":"https://api.github.com/users/DaAwesomeP/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/wendelltron/tekapp/milestones/5","html_url":"https://github.com/wendelltron/tekapp/milestones/Beta%20-%20No%20Login%20Release","labels_url":"https://api.github.com/repos/wendelltron/tekapp/milestones/5/labels","id":1064267,"number":5,"title":"Beta - No Login Release","description":"See #40","creator":{"login":"jean1880","id":2329137,"avatar_url":"https://avatars.githubusercontent.com/u/2329137?v=3","gravatar_id":"","url":"https://api.github.com/users/jean1880","html_url":"https://github.com/jean1880","followers_url":"https://api.github.com/users/jean1880/followers","following_url":"https://api.github.com/users/jean1880/following{/other_user}","gists_url":"https://api.github.com/users/jean1880/gists{/gist_id}","starred_url":"https://api.github.com/users/jean1880/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jean1880/subscriptions","organizations_url":"https://api.github.com/users/jean1880/orgs","repos_url":"https://api.github.com/users/jean1880/repos","events_url":"https://api.github.com/users/jean1880/events{/privacy}","received_events_url":"https://api.github.com/users/jean1880/received_events","type":"User","site_admin":false},"open_issues":4,"closed_issues":17,"state":"open","created_at":"2015-04-13T02:18:21Z","updated_at":"2015-04-24T04:57:22Z","due_on":null,"closed_at":null},"comments":4,"created_at":"2015-04-23T01:49:44Z","updated_at":"2015-04-25T05:32:08Z","closed_at":null,"body":"Scrolling and jumping around is nightmarish.\r\n\r\n---\r\n* [ ] The back button (going backwards in history in the view) should jump to the same place in the lazy load (both on the topics page and each topic page). This way you don't have to scroll all the way down again.\r\n* [x] Add a method to jump to posts in a topic. This is mostly for opening links that jump to posts, notifications that jump to posts, and reply markers that jump to posts.\r\n* [x] Add a button to jump to top of all infinite scroll pages and bottom of only topic pages."},"comment":{"url":"https://api.github.com/repos/wendelltron/tekapp/issues/comments/96133242","html_url":"https://github.com/wendelltron/tekapp/issues/42#issuecomment-96133242","issue_url":"https://api.github.com/repos/wendelltron/tekapp/issues/42","id":96133242,"user":{"login":"jean1880","id":2329137,"avatar_url":"https://avatars.githubusercontent.com/u/2329137?v=3","gravatar_id":"","url":"https://api.github.com/users/jean1880","html_url":"https://github.com/jean1880","followers_url":"https://api.github.com/users/jean1880/followers","following_url":"https://api.github.com/users/jean1880/following{/other_user}","gists_url":"https://api.github.com/users/jean1880/gists{/gist_id}","starred_url":"https://api.github.com/users/jean1880/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jean1880/subscriptions","organizations_url":"https://api.github.com/users/jean1880/orgs","repos_url":"https://api.github.com/users/jean1880/repos","events_url":"https://api.github.com/users/jean1880/events{/privacy}","received_events_url":"https://api.github.com/users/jean1880/received_events","type":"User","site_admin":false},"created_at":"2015-04-25T05:32:08Z","updated_at":"2015-04-25T05:32:08Z","body":"Looks like [this](https://github.com/angular-ui/ui-utils/tree/master/modules/scroll) could be used to solve our problem, it's a part of the Angular-UI collection, and would have bound events for scrolling up and down. We can also have it call a certain location in it's dataset. From what I understand of the Discourse API to date, we would still have to call the main topic set to get the list of posts, then from there can call the post set that we need, which returns 20 posts per 'page'. There were some examples, but they seemed broken when I perused them, so not sure how stable this will be. This scroll system also allows for smaller dom rendering, as it removes content out of view (based on buffer size) reducing dom render load"}}