{"action":"created","issue":{"url":"https://api.github.com/repos/edx/edx-platform/issues/6443","labels_url":"https://api.github.com/repos/edx/edx-platform/issues/6443/labels{/name}","comments_url":"https://api.github.com/repos/edx/edx-platform/issues/6443/comments","events_url":"https://api.github.com/repos/edx/edx-platform/issues/6443/events","html_url":"https://github.com/edx/edx-platform/pull/6443","id":53414863,"number":6443,"title":"Hide irrelevant cohort menu","user":{"login":"Kelketek","id":1099483,"avatar_url":"https://avatars.githubusercontent.com/u/1099483?v=3","gravatar_id":"","url":"https://api.github.com/users/Kelketek","html_url":"https://github.com/Kelketek","followers_url":"https://api.github.com/users/Kelketek/followers","following_url":"https://api.github.com/users/Kelketek/following{/other_user}","gists_url":"https://api.github.com/users/Kelketek/gists{/gist_id}","starred_url":"https://api.github.com/users/Kelketek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kelketek/subscriptions","organizations_url":"https://api.github.com/users/Kelketek/orgs","repos_url":"https://api.github.com/users/Kelketek/repos","events_url":"https://api.github.com/users/Kelketek/events{/privacy}","received_events_url":"https://api.github.com/users/Kelketek/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/edx/edx-platform/labels/waiting+on+author","name":"waiting on author","color":"0052cc"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":13,"created_at":"2015-01-05T16:36:33Z","updated_at":"2015-01-15T18:50:27Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/edx/edx-platform/pulls/6443","html_url":"https://github.com/edx/edx-platform/pull/6443","diff_url":"https://github.com/edx/edx-platform/pull/6443.diff","patch_url":"https://github.com/edx/edx-platform/pull/6443.patch"},"body":"* Description: The cohort menu is currently disabled in contexts where it does not make sense-- for instance, when a discussion is not cohorted, but a course is. This is good, but has caused some user experience problems for a client of ours. It would be cleaner for the menu to disappear altogether when it is not needed, and doing so should not have an adverse effect otherwise, since the menu would be disabled anyway. This PR implements this behavior.\r\nBefore:\r\n![screenshot 2015-01-15 11 14 14](https://cloud.githubusercontent.com/assets/1099483/5762518/2c7e7334-9ca8-11e4-8f23-f37c17b4ef20.png)\r\nAfter:\r\n![screenshot 2015-01-15 11 17 21](https://cloud.githubusercontent.com/assets/1099483/5762519/2c811bb6-9ca8-11e4-801b-c9998003fba3.png)\r\n* Partner information: 3rd party-hosted open edX instance, for an edX solutions client (so will need to get some sort of solution merged in)\r\n* Merge deadline: January 26th (soft requirement to minimize code drift, we maintain it on the client fork in the meantime)\r\n"},"comment":{"url":"https://api.github.com/repos/edx/edx-platform/issues/comments/70139105","html_url":"https://github.com/edx/edx-platform/pull/6443#issuecomment-70139105","issue_url":"https://api.github.com/repos/edx/edx-platform/issues/6443","id":70139105,"user":{"login":"Kelketek","id":1099483,"avatar_url":"https://avatars.githubusercontent.com/u/1099483?v=3","gravatar_id":"","url":"https://api.github.com/users/Kelketek","html_url":"https://github.com/Kelketek","followers_url":"https://api.github.com/users/Kelketek/followers","following_url":"https://api.github.com/users/Kelketek/following{/other_user}","gists_url":"https://api.github.com/users/Kelketek/gists{/gist_id}","starred_url":"https://api.github.com/users/Kelketek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kelketek/subscriptions","organizations_url":"https://api.github.com/users/Kelketek/orgs","repos_url":"https://api.github.com/users/Kelketek/repos","events_url":"https://api.github.com/users/Kelketek/events{/privacy}","received_events_url":"https://api.github.com/users/Kelketek/received_events","type":"User","site_admin":false},"created_at":"2015-01-15T18:50:27Z","updated_at":"2015-01-15T18:50:27Z","body":"@explorerleslie Let me check with some folks to see how they feel about this alternative."}}