{"action":"created","issue":{"url":"https://api.github.com/repos/owncloud/core/issues/20132","labels_url":"https://api.github.com/repos/owncloud/core/issues/20132/labels{/name}","comments_url":"https://api.github.com/repos/owncloud/core/issues/20132/comments","events_url":"https://api.github.com/repos/owncloud/core/issues/20132/events","html_url":"https://github.com/owncloud/core/pull/20132","id":113997492,"number":20132,"title":"Remember scroll distance of every directory, solves #18805","user":{"login":"pellaeon","id":916913,"avatar_url":"https://avatars.githubusercontent.com/u/916913?v=3","gravatar_id":"","url":"https://api.github.com/users/pellaeon","html_url":"https://github.com/pellaeon","followers_url":"https://api.github.com/users/pellaeon/followers","following_url":"https://api.github.com/users/pellaeon/following{/other_user}","gists_url":"https://api.github.com/users/pellaeon/gists{/gist_id}","starred_url":"https://api.github.com/users/pellaeon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pellaeon/subscriptions","organizations_url":"https://api.github.com/users/pellaeon/orgs","repos_url":"https://api.github.com/users/pellaeon/repos","events_url":"https://api.github.com/users/pellaeon/events{/privacy}","received_events_url":"https://api.github.com/users/pellaeon/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/owncloud/core/labels/2%20-%20Developing","name":"2 - Developing","color":"ededed"},{"url":"https://api.github.com/repos/owncloud/core/labels/in%20progress","name":"in progress","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-10-29T07:48:27Z","updated_at":"2015-10-29T09:31:28Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/owncloud/core/pulls/20132","html_url":"https://github.com/owncloud/core/pull/20132","diff_url":"https://github.com/owncloud/core/pull/20132.diff","patch_url":"https://github.com/owncloud/core/pull/20132.patch"},"body":"* scroll distance $('#app-content').scrollTop() will be recorded whenever\r\n  directory is changed\r\n* will be restored after _setDirectory(), and load enough file rows if\r\n  scroll distance is not enough\r\n* recording using sessionStorage, the storage is per-window-session\r\n  ie. every window has its own, will survive reload and restore"},"comment":{"url":"https://api.github.com/repos/owncloud/core/issues/comments/152126800","html_url":"https://github.com/owncloud/core/pull/20132#issuecomment-152126800","issue_url":"https://api.github.com/repos/owncloud/core/issues/20132","id":152126800,"user":{"login":"pellaeon","id":916913,"avatar_url":"https://avatars.githubusercontent.com/u/916913?v=3","gravatar_id":"","url":"https://api.github.com/users/pellaeon","html_url":"https://github.com/pellaeon","followers_url":"https://api.github.com/users/pellaeon/followers","following_url":"https://api.github.com/users/pellaeon/following{/other_user}","gists_url":"https://api.github.com/users/pellaeon/gists{/gist_id}","starred_url":"https://api.github.com/users/pellaeon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pellaeon/subscriptions","organizations_url":"https://api.github.com/users/pellaeon/orgs","repos_url":"https://api.github.com/users/pellaeon/repos","events_url":"https://api.github.com/users/pellaeon/events{/privacy}","received_events_url":"https://api.github.com/users/pellaeon/received_events","type":"User","site_admin":false},"created_at":"2015-10-29T09:31:28Z","updated_at":"2015-10-29T09:31:28Z","body":"Hmm, but I think returning to the exact same position would be more intuitive, if the file is not there, relevant position of other files would still be the same, and the user can easily see that the original file is gone.\r\nIf user enters a folder and quickly goes back, he/she will see the position of the upper level folder slightly changed, for me it feels like something is out of place.\r\nAnd also in OSX's Finder, clicking the previous button will bring user to the exact same position where he/she just left."}}