{"action":"created","comment":{"url":"https://api.github.com/repos/nusmodifications/nusmods/pulls/comments/165831063","pull_request_review_id":93832801,"id":165831063,"diff_hunk":"@@ -65,6 +65,15 @@ export class ModulePageContentComponent extends Component<Props, State> {\n     const pageTitle = `${ModuleCode} ${ModuleTitle}`;\n     const semesters = getSemestersOffered(module);\n \n+    const modSem = semesters.includes(config.semester) ? config.semester : semesters[0]; // Pick a sem if mod isn't available this sem","path":"www/src/js/views/modules/ModulePageContent.jsx","position":4,"original_position":4,"commit_id":"e204ded6c134686ac9849fb710d1de17677f3fab","original_commit_id":"e204ded6c134686ac9849fb710d1de17677f3fab","user":{"login":"taneliang","id":12784593,"avatar_url":"https://avatars2.githubusercontent.com/u/12784593?v=4","gravatar_id":"","url":"https://api.github.com/users/taneliang","html_url":"https://github.com/taneliang","followers_url":"https://api.github.com/users/taneliang/followers","following_url":"https://api.github.com/users/taneliang/following{/other_user}","gists_url":"https://api.github.com/users/taneliang/gists{/gist_id}","starred_url":"https://api.github.com/users/taneliang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/taneliang/subscriptions","organizations_url":"https://api.github.com/users/taneliang/orgs","repos_url":"https://api.github.com/users/taneliang/repos","events_url":"https://api.github.com/users/taneliang/events{/privacy}","received_events_url":"https://api.github.com/users/taneliang/received_events","type":"User","site_admin":false},"body":"So the official links will show this?\r\n* IVLE\r\n* CORS Semester 1\r\n* CORS Semester 2\r\n* CORS Special Term I\r\n* CORS Special Term II\r\n\r\nWe can hide most of them in a dropdown. Should we implement this in another PR though? I think the current implementation is okay, and it can be another good first issue","created_at":"2018-02-04T01:55:19Z","updated_at":"2018-02-04T01:55:19Z","html_url":"https://github.com/nusmodifications/nusmods/pull/798#discussion_r165831063","pull_request_url":"https://api.github.com/repos/nusmodifications/nusmods/pulls/798","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/nusmodifications/nusmods/pulls/comments/165831063"},"html":{"href":"https://github.com/nusmodifications/nusmods/pull/798#discussion_r165831063"},"pull_request":{"href":"https://api.github.com/repos/nusmodifications/nusmods/pulls/798"}},"in_reply_to_id":165816803},"pull_request":{"url":"https://api.github.com/repos/nusmodifications/nusmods/pulls/798","id":166725563,"html_url":"https://github.com/nusmodifications/nusmods/pull/798","diff_url":"https://github.com/nusmodifications/nusmods/pull/798.diff","patch_url":"https://github.com/nusmodifications/nusmods/pull/798.patch","issue_url":"https://api.github.com/repos/nusmodifications/nusmods/issues/798","number":798,"state":"open","locked":false,"title":"Update CORS URL to current acad year","user":{"login":"taneliang","id":12784593,"avatar_url":"https://avatars2.githubusercontent.com/u/12784593?v=4","gravatar_id":"","url":"https://api.github.com/users/taneliang","html_url":"https://github.com/taneliang","followers_url":"https://api.github.com/users/taneliang/followers","following_url":"https://api.github.com/users/taneliang/following{/other_user}","gists_url":"https://api.github.com/users/taneliang/gists{/gist_id}","starred_url":"https://api.github.com/users/taneliang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/taneliang/subscriptions","organizations_url":"https://api.github.com/users/taneliang/orgs","repos_url":"https://api.github.com/users/taneliang/repos","events_url":"https://api.github.com/users/taneliang/events{/privacy}","received_events_url":"https://api.github.com/users/taneliang/received_events","type":"User","site_admin":false},"body":"The CORS link on the module info page was pointing to the AY2016/2017 page on CORS. I wonder how we didn't catch this earlier.\r\n\r\nWe'll need to add this to #284.","created_at":"2018-02-02T06:14:07Z","updated_at":"2018-02-04T01:55:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7eec423abbf0a8962a9e3d6cb23faec1e1463638","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"milestone":null,"commits_url":"https://api.github.com/repos/nusmodifications/nusmods/pulls/798/commits","review_comments_url":"https://api.github.com/repos/nusmodifications/nusmods/pulls/798/comments","review_comment_url":"https://api.github.com/repos/nusmodifications/nusmods/pulls/comments{/number}","comments_url":"https://api.github.com/repos/nusmodifications/nusmods/issues/798/comments","statuses_url":"https://api.github.com/repos/nusmodifications/nusmods/statuses/e204ded6c134686ac9849fb710d1de17677f3fab","head":{"label":"nusmodifications:fix-cors-url","ref":"fix-cors-url","sha":"e204ded6c134686ac9849fb710d1de17677f3fab","user":{"login":"nusmodifications","id":7428865,"avatar_url":"https://avatars3.githubusercontent.com/u/7428865?v=4","gravatar_id":"","url":"https://api.github.com/users/nusmodifications","html_url":"https://github.com/nusmodifications","followers_url":"https://api.github.com/users/nusmodifications/followers","following_url":"https://api.github.com/users/nusmodifications/following{/other_user}","gists_url":"https://api.github.com/users/nusmodifications/gists{/gist_id}","starred_url":"https://api.github.com/users/nusmodifications/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nusmodifications/subscriptions","organizations_url":"https://api.github.com/users/nusmodifications/orgs","repos_url":"https://api.github.com/users/nusmodifications/repos","events_url":"https://api.github.com/users/nusmodifications/events{/privacy}","received_events_url":"https://api.github.com/users/nusmodifications/received_events","type":"Organization","site_admin":false},"repo":{"id":5481861,"name":"nusmods","full_name":"nusmodifications/nusmods","owner":{"login":"nusmodifications","id":7428865,"avatar_url":"https://avatars3.githubusercontent.com/u/7428865?v=4","gravatar_id":"","url":"https://api.github.com/users/nusmodifications","html_url":"https://github.com/nusmodifications","followers_url":"https://api.github.com/users/nusmodifications/followers","following_url":"https://api.github.com/users/nusmodifications/following{/other_user}","gists_url":"https://api.github.com/users/nusmodifications/gists{/gist_id}","starred_url":"https://api.github.com/users/nusmodifications/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nusmodifications/subscriptions","organizations_url":"https://api.github.com/users/nusmodifications/orgs","repos_url":"https://api.github.com/users/nusmodifications/repos","events_url":"https://api.github.com/users/nusmodifications/events{/privacy}","received_events_url":"https://api.github.com/users/nusmodifications/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/nusmodifications/nusmods","description":"🏫 Unofficial course planning platform for National University of Singapore.","fork":false,"url":"https://api.github.com/repos/nusmodifications/nusmods","forks_url":"https://api.github.com/repos/nusmodifications/nusmods/forks","keys_url":"https://api.github.com/repos/nusmodifications/nusmods/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nusmodifications/nusmods/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nusmodifications/nusmods/teams","hooks_url":"https://api.github.com/repos/nusmodifications/nusmods/hooks","issue_events_url":"https://api.github.com/repos/nusmodifications/nusmods/issues/events{/number}","events_url":"https://api.github.com/repos/nusmodifications/nusmods/events","assignees_url":"https://api.github.com/repos/nusmodifications/nusmods/assignees{/user}","branches_url":"https://api.github.com/repos/nusmodifications/nusmods/branches{/branch}","tags_url":"https://api.github.com/repos/nusmodifications/nusmods/tags","blobs_url":"https://api.github.com/repos/nusmodifications/nusmods/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nusmodifications/nusmods/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nusmodifications/nusmods/git/refs{/sha}","trees_url":"https://api.github.com/repos/nusmodifications/nusmods/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nusmodifications/nusmods/statuses/{sha}","languages_url":"https://api.github.com/repos/nusmodifications/nusmods/languages","stargazers_url":"https://api.github.com/repos/nusmodifications/nusmods/stargazers","contributors_url":"https://api.github.com/repos/nusmodifications/nusmods/contributors","subscribers_url":"https://api.github.com/repos/nusmodifications/nusmods/subscribers","subscription_url":"https://api.github.com/repos/nusmodifications/nusmods/subscription","commits_url":"https://api.github.com/repos/nusmodifications/nusmods/commits{/sha}","git_commits_url":"https://api.github.com/repos/nusmodifications/nusmods/git/commits{/sha}","comments_url":"https://api.github.com/repos/nusmodifications/nusmods/comments{/number}","issue_comment_url":"https://api.github.com/repos/nusmodifications/nusmods/issues/comments{/number}","contents_url":"https://api.github.com/repos/nusmodifications/nusmods/contents/{+path}","compare_url":"https://api.github.com/repos/nusmodifications/nusmods/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nusmodifications/nusmods/merges","archive_url":"https://api.github.com/repos/nusmodifications/nusmods/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nusmodifications/nusmods/downloads","issues_url":"https://api.github.com/repos/nusmodifications/nusmods/issues{/number}","pulls_url":"https://api.github.com/repos/nusmodifications/nusmods/pulls{/number}","milestones_url":"https://api.github.com/repos/nusmodifications/nusmods/milestones{/number}","notifications_url":"https://api.github.com/repos/nusmodifications/nusmods/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nusmodifications/nusmods/labels{/name}","releases_url":"https://api.github.com/repos/nusmodifications/nusmods/releases{/id}","deployments_url":"https://api.github.com/repos/nusmodifications/nusmods/deployments","created_at":"2012-08-20T13:58:35Z","updated_at":"2018-02-03T03:03:24Z","pushed_at":"2018-02-02T07:46:27Z","git_url":"git://github.com/nusmodifications/nusmods.git","ssh_url":"git@github.com:nusmodifications/nusmods.git","clone_url":"https://github.com/nusmodifications/nusmods.git","svn_url":"https://github.com/nusmodifications/nusmods","homepage":"https://nusmods.com","size":9038,"stargazers_count":173,"watchers_count":173,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":90,"mirror_url":null,"archived":false,"open_issues_count":68,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":90,"open_issues":68,"watchers":173,"default_branch":"master"}},"base":{"label":"nusmodifications:master","ref":"master","sha":"0ef654e79383e7d200b931d718047be88a34d881","user":{"login":"nusmodifications","id":7428865,"avatar_url":"https://avatars3.githubusercontent.com/u/7428865?v=4","gravatar_id":"","url":"https://api.github.com/users/nusmodifications","html_url":"https://github.com/nusmodifications","followers_url":"https://api.github.com/users/nusmodifications/followers","following_url":"https://api.github.com/users/nusmodifications/following{/other_user}","gists_url":"https://api.github.com/users/nusmodifications/gists{/gist_id}","starred_url":"https://api.github.com/users/nusmodifications/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nusmodifications/subscriptions","organizations_url":"https://api.github.com/users/nusmodifications/orgs","repos_url":"https://api.github.com/users/nusmodifications/repos","events_url":"https://api.github.com/users/nusmodifications/events{/privacy}","received_events_url":"https://api.github.com/users/nusmodifications/received_events","type":"Organization","site_admin":false},"repo":{"id":5481861,"name":"nusmods","full_name":"nusmodifications/nusmods","owner":{"login":"nusmodifications","id":7428865,"avatar_url":"https://avatars3.githubusercontent.com/u/7428865?v=4","gravatar_id":"","url":"https://api.github.com/users/nusmodifications","html_url":"https://github.com/nusmodifications","followers_url":"https://api.github.com/users/nusmodifications/followers","following_url":"https://api.github.com/users/nusmodifications/following{/other_user}","gists_url":"https://api.github.com/users/nusmodifications/gists{/gist_id}","starred_url":"https://api.github.com/users/nusmodifications/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nusmodifications/subscriptions","organizations_url":"https://api.github.com/users/nusmodifications/orgs","repos_url":"https://api.github.com/users/nusmodifications/repos","events_url":"https://api.github.com/users/nusmodifications/events{/privacy}","received_events_url":"https://api.github.com/users/nusmodifications/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/nusmodifications/nusmods","description":"🏫 Unofficial course planning platform for National University of Singapore.","fork":false,"url":"https://api.github.com/repos/nusmodifications/nusmods","forks_url":"https://api.github.com/repos/nusmodifications/nusmods/forks","keys_url":"https://api.github.com/repos/nusmodifications/nusmods/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nusmodifications/nusmods/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nusmodifications/nusmods/teams","hooks_url":"https://api.github.com/repos/nusmodifications/nusmods/hooks","issue_events_url":"https://api.github.com/repos/nusmodifications/nusmods/issues/events{/number}","events_url":"https://api.github.com/repos/nusmodifications/nusmods/events","assignees_url":"https://api.github.com/repos/nusmodifications/nusmods/assignees{/user}","branches_url":"https://api.github.com/repos/nusmodifications/nusmods/branches{/branch}","tags_url":"https://api.github.com/repos/nusmodifications/nusmods/tags","blobs_url":"https://api.github.com/repos/nusmodifications/nusmods/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nusmodifications/nusmods/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nusmodifications/nusmods/git/refs{/sha}","trees_url":"https://api.github.com/repos/nusmodifications/nusmods/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nusmodifications/nusmods/statuses/{sha}","languages_url":"https://api.github.com/repos/nusmodifications/nusmods/languages","stargazers_url":"https://api.github.com/repos/nusmodifications/nusmods/stargazers","contributors_url":"https://api.github.com/repos/nusmodifications/nusmods/contributors","subscribers_url":"https://api.github.com/repos/nusmodifications/nusmods/subscribers","subscription_url":"https://api.github.com/repos/nusmodifications/nusmods/subscription","commits_url":"https://api.github.com/repos/nusmodifications/nusmods/commits{/sha}","git_commits_url":"https://api.github.com/repos/nusmodifications/nusmods/git/commits{/sha}","comments_url":"https://api.github.com/repos/nusmodifications/nusmods/comments{/number}","issue_comment_url":"https://api.github.com/repos/nusmodifications/nusmods/issues/comments{/number}","contents_url":"https://api.github.com/repos/nusmodifications/nusmods/contents/{+path}","compare_url":"https://api.github.com/repos/nusmodifications/nusmods/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nusmodifications/nusmods/merges","archive_url":"https://api.github.com/repos/nusmodifications/nusmods/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nusmodifications/nusmods/downloads","issues_url":"https://api.github.com/repos/nusmodifications/nusmods/issues{/number}","pulls_url":"https://api.github.com/repos/nusmodifications/nusmods/pulls{/number}","milestones_url":"https://api.github.com/repos/nusmodifications/nusmods/milestones{/number}","notifications_url":"https://api.github.com/repos/nusmodifications/nusmods/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nusmodifications/nusmods/labels{/name}","releases_url":"https://api.github.com/repos/nusmodifications/nusmods/releases{/id}","deployments_url":"https://api.github.com/repos/nusmodifications/nusmods/deployments","created_at":"2012-08-20T13:58:35Z","updated_at":"2018-02-03T03:03:24Z","pushed_at":"2018-02-02T07:46:27Z","git_url":"git://github.com/nusmodifications/nusmods.git","ssh_url":"git@github.com:nusmodifications/nusmods.git","clone_url":"https://github.com/nusmodifications/nusmods.git","svn_url":"https://github.com/nusmodifications/nusmods","homepage":"https://nusmods.com","size":9038,"stargazers_count":173,"watchers_count":173,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":90,"mirror_url":null,"archived":false,"open_issues_count":68,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":90,"open_issues":68,"watchers":173,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/nusmodifications/nusmods/pulls/798"},"html":{"href":"https://github.com/nusmodifications/nusmods/pull/798"},"issue":{"href":"https://api.github.com/repos/nusmodifications/nusmods/issues/798"},"comments":{"href":"https://api.github.com/repos/nusmodifications/nusmods/issues/798/comments"},"review_comments":{"href":"https://api.github.com/repos/nusmodifications/nusmods/pulls/798/comments"},"review_comment":{"href":"https://api.github.com/repos/nusmodifications/nusmods/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/nusmodifications/nusmods/pulls/798/commits"},"statuses":{"href":"https://api.github.com/repos/nusmodifications/nusmods/statuses/e204ded6c134686ac9849fb710d1de17677f3fab"}},"author_association":"OWNER"}}
{"actor":{"display_login":"taneliang"}}