{"action":"created","issue":{"url":"https://api.github.com/repos/oppia/oppia/issues/2367","repository_url":"https://api.github.com/repos/oppia/oppia","labels_url":"https://api.github.com/repos/oppia/oppia/issues/2367/labels{/name}","comments_url":"https://api.github.com/repos/oppia/oppia/issues/2367/comments","events_url":"https://api.github.com/repos/oppia/oppia/issues/2367/events","html_url":"https://github.com/oppia/oppia/pull/2367","id":170846191,"number":2367,"title":"Fix #2224: Removed View all button and link for featured explorations","user":{"login":"Arunabh98","id":13691317,"avatar_url":"https://avatars.githubusercontent.com/u/13691317?v=3","gravatar_id":"","url":"https://api.github.com/users/Arunabh98","html_url":"https://github.com/Arunabh98","followers_url":"https://api.github.com/users/Arunabh98/followers","following_url":"https://api.github.com/users/Arunabh98/following{/other_user}","gists_url":"https://api.github.com/users/Arunabh98/gists{/gist_id}","starred_url":"https://api.github.com/users/Arunabh98/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Arunabh98/subscriptions","organizations_url":"https://api.github.com/users/Arunabh98/orgs","repos_url":"https://api.github.com/users/Arunabh98/repos","events_url":"https://api.github.com/users/Arunabh98/events{/privacy}","received_events_url":"https://api.github.com/users/Arunabh98/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/oppia/oppia/labels/PR:%20don't%20merge%20-%20IN%20REVIEW","name":"PR: don't merge - IN REVIEW","color":"e11d21"}],"state":"open","locked":false,"assignee":{"login":"wxyxinyu","id":5061134,"avatar_url":"https://avatars.githubusercontent.com/u/5061134?v=3","gravatar_id":"","url":"https://api.github.com/users/wxyxinyu","html_url":"https://github.com/wxyxinyu","followers_url":"https://api.github.com/users/wxyxinyu/followers","following_url":"https://api.github.com/users/wxyxinyu/following{/other_user}","gists_url":"https://api.github.com/users/wxyxinyu/gists{/gist_id}","starred_url":"https://api.github.com/users/wxyxinyu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wxyxinyu/subscriptions","organizations_url":"https://api.github.com/users/wxyxinyu/orgs","repos_url":"https://api.github.com/users/wxyxinyu/repos","events_url":"https://api.github.com/users/wxyxinyu/events{/privacy}","received_events_url":"https://api.github.com/users/wxyxinyu/received_events","type":"User","site_admin":false},"assignees":[{"login":"wxyxinyu","id":5061134,"avatar_url":"https://avatars.githubusercontent.com/u/5061134?v=3","gravatar_id":"","url":"https://api.github.com/users/wxyxinyu","html_url":"https://github.com/wxyxinyu","followers_url":"https://api.github.com/users/wxyxinyu/followers","following_url":"https://api.github.com/users/wxyxinyu/following{/other_user}","gists_url":"https://api.github.com/users/wxyxinyu/gists{/gist_id}","starred_url":"https://api.github.com/users/wxyxinyu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wxyxinyu/subscriptions","organizations_url":"https://api.github.com/users/wxyxinyu/orgs","repos_url":"https://api.github.com/users/wxyxinyu/repos","events_url":"https://api.github.com/users/wxyxinyu/events{/privacy}","received_events_url":"https://api.github.com/users/wxyxinyu/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2016-08-12T10:48:46Z","updated_at":"2016-08-18T15:10:20Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/oppia/oppia/pulls/2367","html_url":"https://github.com/oppia/oppia/pull/2367","diff_url":"https://github.com/oppia/oppia/pull/2367.diff","patch_url":"https://github.com/oppia/oppia/pull/2367.patch"},"body":"As decided the view all button for featured explorations has been removed and the header link is inactive. This works for all languages."},"comment":{"url":"https://api.github.com/repos/oppia/oppia/issues/comments/240753982","html_url":"https://github.com/oppia/oppia/pull/2367#issuecomment-240753982","issue_url":"https://api.github.com/repos/oppia/oppia/issues/2367","id":240753982,"user":{"login":"Arunabh98","id":13691317,"avatar_url":"https://avatars.githubusercontent.com/u/13691317?v=3","gravatar_id":"","url":"https://api.github.com/users/Arunabh98","html_url":"https://github.com/Arunabh98","followers_url":"https://api.github.com/users/Arunabh98/followers","following_url":"https://api.github.com/users/Arunabh98/following{/other_user}","gists_url":"https://api.github.com/users/Arunabh98/gists{/gist_id}","starred_url":"https://api.github.com/users/Arunabh98/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Arunabh98/subscriptions","organizations_url":"https://api.github.com/users/Arunabh98/orgs","repos_url":"https://api.github.com/users/Arunabh98/repos","events_url":"https://api.github.com/users/Arunabh98/events{/privacy}","received_events_url":"https://api.github.com/users/Arunabh98/received_events","type":"User","site_admin":false},"created_at":"2016-08-18T15:10:20Z","updated_at":"2016-08-18T15:10:20Z","body":"I think I have traced the path by which the header attribute of the JS object being set. In `oppia/core/controllers/library.py` these lines are responsible for setting the header (lines 120-125)\r\n\r\n```\r\n        if featured_activity_summary_dicts:\r\n            summary_dicts_by_category.insert(0, {\r\n                'activity_summary_dicts': featured_activity_summary_dicts,\r\n                'categories': [],\r\n                'header': feconf.LIBRARY_CATEGORY_FEATURED_ACTIVITIES,\r\n            })\r\n```\r\nIn turn `feconf.py` the value of `LIBRARY_CATEGORY_FEATURED_ACTIVITIES` is set as `Featured Activities`. This leads to the conclusion that `I18N_LIBRARY_GROUPS_FEATURED_ACTIVITIES` is not used over here.\r\n\r\nAny suggestions on how do I introduce `I18N_LIBRARY_GROUPS_FEATURED_ACTIVITIES` over here? I am a bit confused about this\r\n\r\nThanks"}}
{"actor":{"display_login":"Arunabh98"}}