{"action":"opened","issue":{"url":"https://api.github.com/repos/zulip/zulip-mobile/issues/2992","repository_url":"https://api.github.com/repos/zulip/zulip-mobile","labels_url":"https://api.github.com/repos/zulip/zulip-mobile/issues/2992/labels{/name}","comments_url":"https://api.github.com/repos/zulip/zulip-mobile/issues/2992/comments","events_url":"https://api.github.com/repos/zulip/zulip-mobile/issues/2992/events","html_url":"https://github.com/zulip/zulip-mobile/issues/2992","id":362886467,"node_id":"MDU6SXNzdWUzNjI4ODY0Njc=","number":2992,"title":"refactor code: Rename `chatReducer` to `narrowReducer`.","user":{"login":"jainkuniya","id":18511177,"node_id":"MDQ6VXNlcjE4NTExMTc3","avatar_url":"https://avatars3.githubusercontent.com/u/18511177?v=4","gravatar_id":"","url":"https://api.github.com/users/jainkuniya","html_url":"https://github.com/jainkuniya","followers_url":"https://api.github.com/users/jainkuniya/followers","following_url":"https://api.github.com/users/jainkuniya/following{/other_user}","gists_url":"https://api.github.com/users/jainkuniya/gists{/gist_id}","starred_url":"https://api.github.com/users/jainkuniya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jainkuniya/subscriptions","organizations_url":"https://api.github.com/users/jainkuniya/orgs","repos_url":"https://api.github.com/users/jainkuniya/repos","events_url":"https://api.github.com/users/jainkuniya/events{/privacy}","received_events_url":"https://api.github.com/users/jainkuniya/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-22T20:03:08Z","updated_at":"2018-09-22T20:03:08Z","closed_at":null,"author_association":"MEMBER","body":"Currently we have `chatReducers` and  `messageReducers`. Firstly I got confused, why they are different, mostly both deals with message events. But then it became clear that: `messageReducer` is responsible for `message` state in global state and `chatReducer` is responsible for `narrow` in the global state. Thus then I was wondering we should rename `chatReducer` to something else (may be `narrowReducer`). As chat is very common name, chat itself can have many components, it doesn't convey any specific.\r\n\r\nhttps://chat.zulip.org/#narrow/stream/243-mobile-team/subject/refactoring.20code/near/645396\r\n\r\n@zulipbot claim"}}
{"actor":{"display_login":"jainkuniya"}}