{"action":"created","issue":{"url":"https://api.github.com/repos/zulip/zulip/issues/2091","repository_url":"https://api.github.com/repos/zulip/zulip","labels_url":"https://api.github.com/repos/zulip/zulip/issues/2091/labels{/name}","comments_url":"https://api.github.com/repos/zulip/zulip/issues/2091/comments","events_url":"https://api.github.com/repos/zulip/zulip/issues/2091/events","html_url":"https://github.com/zulip/zulip/issues/2091","id":184316580,"number":2091,"title":"Returning to stream narrow after reply marks all stream messages read","user":{"login":"kamalmarhubi","id":50936,"avatar_url":"https://avatars0.githubusercontent.com/u/50936?v=4","gravatar_id":"","url":"https://api.github.com/users/kamalmarhubi","html_url":"https://github.com/kamalmarhubi","followers_url":"https://api.github.com/users/kamalmarhubi/followers","following_url":"https://api.github.com/users/kamalmarhubi/following{/other_user}","gists_url":"https://api.github.com/users/kamalmarhubi/gists{/gist_id}","starred_url":"https://api.github.com/users/kamalmarhubi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kamalmarhubi/subscriptions","organizations_url":"https://api.github.com/users/kamalmarhubi/orgs","repos_url":"https://api.github.com/users/kamalmarhubi/repos","events_url":"https://api.github.com/users/kamalmarhubi/events{/privacy}","received_events_url":"https://api.github.com/users/kamalmarhubi/received_events","type":"User","site_admin":false},"labels":[{"id":461212196,"url":"https://api.github.com/repos/zulip/zulip/labels/area:%20message%20view","name":"area: message view","color":"bfd4f2","default":false},{"id":265216829,"url":"https://api.github.com/repos/zulip/zulip/labels/bug","name":"bug","color":"fc2929","default":true},{"id":859727574,"url":"https://api.github.com/repos/zulip/zulip/labels/difficult","name":"difficult","color":"eda8d7","default":false},{"id":272513653,"url":"https://api.github.com/repos/zulip/zulip/labels/priority:%20blocker","name":"priority: blocker","color":"5319e7","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/zulip/zulip/milestones/3","html_url":"https://github.com/zulip/zulip/milestone/3","labels_url":"https://api.github.com/repos/zulip/zulip/milestones/3/labels","id":2145450,"number":3,"title":"Zulip roadmap","description":"http://zulip.readthedocs.io/en/latest/roadmap.html","creator":{"login":"timabbott","id":2746074,"avatar_url":"https://avatars0.githubusercontent.com/u/2746074?v=4","gravatar_id":"","url":"https://api.github.com/users/timabbott","html_url":"https://github.com/timabbott","followers_url":"https://api.github.com/users/timabbott/followers","following_url":"https://api.github.com/users/timabbott/following{/other_user}","gists_url":"https://api.github.com/users/timabbott/gists{/gist_id}","starred_url":"https://api.github.com/users/timabbott/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timabbott/subscriptions","organizations_url":"https://api.github.com/users/timabbott/orgs","repos_url":"https://api.github.com/users/timabbott/repos","events_url":"https://api.github.com/users/timabbott/events{/privacy}","received_events_url":"https://api.github.com/users/timabbott/received_events","type":"User","site_admin":false},"open_issues":23,"closed_issues":42,"state":"open","created_at":"2016-11-18T23:48:15Z","updated_at":"2018-03-02T05:00:00Z","due_on":"2017-10-31T07:00:00Z","closed_at":null},"comments":9,"created_at":"2016-10-20T19:16:56Z","updated_at":"2018-03-16T08:26:42Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Rough steps:\n1. narrow to stream with `s`\n2. see interesting message, narrow to topic with `s`\n3. reply at end of topic (`r`, typey-type, `<enter>`)\n4. return to stream narrow with `s`\n\n**Expected outcome:** to be returned to my position before the topic narrow (step 2).\n\n**Actual outcome:** returned to bottom of stream, with all intervening messages marked read.\n\n**Background:** I'm often catching up on several hundred messages. I skim through the a few stream views, and hit `S` to narrow to a topic if I want to reply. After replying, hitting `s` to go back to the stream narrow drops me to the bottom of the stream and marks all messages in between as read.\n\nI would prefer to go back to where I was before the topic narrow, and find losing my unread state frustrating.\n\nThis is different from the home view, where hitting escape after replying brings you back to where you were.\n\n(I may have some of the behaviors mixed up because the \"state machine\" isn't super simple or intuitive.)\n"},"comment":{"url":"https://api.github.com/repos/zulip/zulip/issues/comments/373639166","html_url":"https://github.com/zulip/zulip/issues/2091#issuecomment-373639166","issue_url":"https://api.github.com/repos/zulip/zulip/issues/2091","id":373639166,"user":{"login":"AasthaGupta","id":15193262,"avatar_url":"https://avatars3.githubusercontent.com/u/15193262?v=4","gravatar_id":"","url":"https://api.github.com/users/AasthaGupta","html_url":"https://github.com/AasthaGupta","followers_url":"https://api.github.com/users/AasthaGupta/followers","following_url":"https://api.github.com/users/AasthaGupta/following{/other_user}","gists_url":"https://api.github.com/users/AasthaGupta/gists{/gist_id}","starred_url":"https://api.github.com/users/AasthaGupta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AasthaGupta/subscriptions","organizations_url":"https://api.github.com/users/AasthaGupta/orgs","repos_url":"https://api.github.com/users/AasthaGupta/repos","events_url":"https://api.github.com/users/AasthaGupta/events{/privacy}","received_events_url":"https://api.github.com/users/AasthaGupta/received_events","type":"User","site_admin":false},"created_at":"2018-03-16T08:26:42Z","updated_at":"2018-03-16T08:26:42Z","author_association":"COLLABORATOR","body":"@zulipbot claim"}}
{"actor":{"display_login":"AasthaGupta"}}