{"action":"created","comment":{"url":"https://api.github.com/repos/CodeGra-de/CodeGra.de/pulls/comments/226310015","pull_request_review_id":166100085,"id":226310015,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyNjMxMDAxNQ==","diff_hunk":"@@ -57,9 +56,15 @@\n                             v-else>\n                 <icon name=\"file\" class=\"file-icon\"/>{{ f.name }}\n             </router-link>\n-            <span v-if=\"fileHasRevision(f)\"\n-                    v-b-popover.hover.top=\"'This file has a teacher\\'s revision'\"\n-                    class=\"rev-popover\">\n+            <router-link v-if=\"fileHasRevision(f) && revisedFileRoute(f)\"\n+                         :to=\"revisedFileRoute(f)\"\n+                         v-b-popover.hover.top=\"'Click here to see this file\\'s teacher revision'\"\n+                         class=\"rev-popover\">\n+                *\n+            </router-link>\n+            <span v-else-if=\"fileHasRevision(f)\"","path":"src/components/FileTree.vue","position":23,"original_position":23,"commit_id":"d070161d6729a3399e89cd35e45515ca68b525b9","original_commit_id":"d070161d6729a3399e89cd35e45515ca68b525b9","user":{"login":"libre-man","id":12597247,"node_id":"MDQ6VXNlcjEyNTk3MjQ3","avatar_url":"https://avatars3.githubusercontent.com/u/12597247?v=4","gravatar_id":"","url":"https://api.github.com/users/libre-man","html_url":"https://github.com/libre-man","followers_url":"https://api.github.com/users/libre-man/followers","following_url":"https://api.github.com/users/libre-man/following{/other_user}","gists_url":"https://api.github.com/users/libre-man/gists{/gist_id}","starred_url":"https://api.github.com/users/libre-man/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/libre-man/subscriptions","organizations_url":"https://api.github.com/users/libre-man/orgs","repos_url":"https://api.github.com/users/libre-man/repos","events_url":"https://api.github.com/users/libre-man/events{/privacy}","received_events_url":"https://api.github.com/users/libre-man/received_events","type":"User","site_admin":false},"body":"We should cache this output somehow, but that is for another PR.","created_at":"2018-10-18T13:44:55Z","updated_at":"2018-10-18T13:49:46Z","html_url":"https://github.com/CodeGra-de/CodeGra.de/pull/599#discussion_r226310015","pull_request_url":"https://api.github.com/repos/CodeGra-de/CodeGra.de/pulls/599","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/CodeGra-de/CodeGra.de/pulls/comments/226310015"},"html":{"href":"https://github.com/CodeGra-de/CodeGra.de/pull/599#discussion_r226310015"},"pull_request":{"href":"https://api.github.com/repos/CodeGra-de/CodeGra.de/pulls/599"}}},"pull_request":{"url":"https://api.github.com/repos/CodeGra-de/CodeGra.de/pulls/599","id":222750335,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIyNzUwMzM1","html_url":"https://github.com/CodeGra-de/CodeGra.de/pull/599","diff_url":"https://github.com/CodeGra-de/CodeGra.de/pull/599.diff","patch_url":"https://github.com/CodeGra-de/CodeGra.de/pull/599.patch","issue_url":"https://api.github.com/repos/CodeGra-de/CodeGra.de/issues/599","number":599,"state":"open","locked":false,"title":"Improve revised file popovers","user":{"login":"olmokramer","id":3612514,"node_id":"MDQ6VXNlcjM2MTI1MTQ=","avatar_url":"https://avatars1.githubusercontent.com/u/3612514?v=4","gravatar_id":"","url":"https://api.github.com/users/olmokramer","html_url":"https://github.com/olmokramer","followers_url":"https://api.github.com/users/olmokramer/followers","following_url":"https://api.github.com/users/olmokramer/following{/other_user}","gists_url":"https://api.github.com/users/olmokramer/gists{/gist_id}","starred_url":"https://api.github.com/users/olmokramer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/olmokramer/subscriptions","organizations_url":"https://api.github.com/users/olmokramer/orgs","repos_url":"https://api.github.com/users/olmokramer/repos","events_url":"https://api.github.com/users/olmokramer/events{/privacy}","received_events_url":"https://api.github.com/users/olmokramer/received_events","type":"User","site_admin":false},"body":"* Link to revised file when file was changed.\r\n* Show when file was deleted.","created_at":"2018-10-14T23:13:52Z","updated_at":"2018-10-18T13:49:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0462d4ebd0e66c28dc4afb1d273b0da61396c4ea","assignee":{"login":"olmokramer","id":3612514,"node_id":"MDQ6VXNlcjM2MTI1MTQ=","avatar_url":"https://avatars1.githubusercontent.com/u/3612514?v=4","gravatar_id":"","url":"https://api.github.com/users/olmokramer","html_url":"https://github.com/olmokramer","followers_url":"https://api.github.com/users/olmokramer/followers","following_url":"https://api.github.com/users/olmokramer/following{/other_user}","gists_url":"https://api.github.com/users/olmokramer/gists{/gist_id}","starred_url":"https://api.github.com/users/olmokramer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/olmokramer/subscriptions","organizations_url":"https://api.github.com/users/olmokramer/orgs","repos_url":"https://api.github.com/users/olmokramer/repos","events_url":"https://api.github.com/users/olmokramer/events{/privacy}","received_events_url":"https://api.github.com/users/olmokramer/received_events","type":"User","site_admin":false},"assignees":[{"login":"olmokramer","id":3612514,"node_id":"MDQ6VXNlcjM2MTI1MTQ=","avatar_url":"https://avatars1.githubusercontent.com/u/3612514?v=4","gravatar_id":"","url":"https://api.github.com/users/olmokramer","html_url":"https://github.com/olmokramer","followers_url":"https://api.github.com/users/olmokramer/followers","following_url":"https://api.github.com/users/olmokramer/following{/other_user}","gists_url":"https://api.github.com/users/olmokramer/gists{/gist_id}","starred_url":"https://api.github.com/users/olmokramer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/olmokramer/subscriptions","organizations_url":"https://api.github.com/users/olmokramer/orgs","repos_url":"https://api.github.com/users/olmokramer/repos","events_url":"https://api.github.com/users/olmokramer/events{/privacy}","received_events_url":"https://api.github.com/users/olmokramer/received_events","type":"User","site_admin":false},{"login":"libre-man","id":12597247,"node_id":"MDQ6VXNlcjEyNTk3MjQ3","avatar_url":"https://avatars3.githubusercontent.com/u/12597247?v=4","gravatar_id":"","url":"https://api.github.com/users/libre-man","html_url":"https://github.com/libre-man","followers_url":"https://api.github.com/users/libre-man/followers","following_url":"https://api.github.com/users/libre-man/following{/other_user}","gists_url":"https://api.github.com/users/libre-man/gists{/gist_id}","starred_url":"https://api.github.com/users/libre-man/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/libre-man/subscriptions","organizations_url":"https://api.github.com/users/libre-man/orgs","repos_url":"https://api.github.com/users/libre-man/repos","events_url":"https://api.github.com/users/libre-man/events{/privacy}","received_events_url":"https://api.github.com/users/libre-man/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":694937826,"node_id":"MDU6TGFiZWw2OTQ5Mzc4MjY=","url":"https://api.github.com/repos/CodeGra-de/CodeGra.de/labels/in%20progress","name":"in progress","color":"ededed","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/CodeGra-de/CodeGra.de/pulls/599/commits","review_comments_url":"https://api.github.com/repos/CodeGra-de/CodeGra.de/pulls/599/comments","review_comment_url":"https://api.github.com/repos/CodeGra-de/CodeGra.de/pulls/comments{/number}","comments_url":"https://api.github.com/repos/CodeGra-de/CodeGra.de/issues/599/comments","statuses_url":"https://api.github.com/repos/CodeGra-de/CodeGra.de/statuses/d070161d6729a3399e89cd35e45515ca68b525b9","head":{"label":"CodeGra-de:feature/file-tree-asterisk-link-to-revised-file","ref":"feature/file-tree-asterisk-link-to-revised-file","sha":"d070161d6729a3399e89cd35e45515ca68b525b9","user":{"login":"CodeGra-de","id":30043325,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMwMDQzMzI1","avatar_url":"https://avatars1.githubusercontent.com/u/30043325?v=4","gravatar_id":"","url":"https://api.github.com/users/CodeGra-de","html_url":"https://github.com/CodeGra-de","followers_url":"https://api.github.com/users/CodeGra-de/followers","following_url":"https://api.github.com/users/CodeGra-de/following{/other_user}","gists_url":"https://api.github.com/users/CodeGra-de/gists{/gist_id}","starred_url":"https://api.github.com/users/CodeGra-de/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CodeGra-de/subscriptions","organizations_url":"https://api.github.com/users/CodeGra-de/orgs","repos_url":"https://api.github.com/users/CodeGra-de/repos","events_url":"https://api.github.com/users/CodeGra-de/events{/privacy}","received_events_url":"https://api.github.com/users/CodeGra-de/received_events","type":"Organization","site_admin":false},"repo":{"id":96698423,"node_id":"MDEwOlJlcG9zaXRvcnk5NjY5ODQyMw==","name":"CodeGra.de","full_name":"CodeGra-de/CodeGra.de","private":false,"owner":{"login":"CodeGra-de","id":30043325,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMwMDQzMzI1","avatar_url":"https://avatars1.githubusercontent.com/u/30043325?v=4","gravatar_id":"","url":"https://api.github.com/users/CodeGra-de","html_url":"https://github.com/CodeGra-de","followers_url":"https://api.github.com/users/CodeGra-de/followers","following_url":"https://api.github.com/users/CodeGra-de/following{/other_user}","gists_url":"https://api.github.com/users/CodeGra-de/gists{/gist_id}","starred_url":"https://api.github.com/users/CodeGra-de/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CodeGra-de/subscriptions","organizations_url":"https://api.github.com/users/CodeGra-de/orgs","repos_url":"https://api.github.com/users/CodeGra-de/repos","events_url":"https://api.github.com/users/CodeGra-de/events{/privacy}","received_events_url":"https://api.github.com/users/CodeGra-de/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/CodeGra-de/CodeGra.de","description":"Code grading made intuitive. CodeGrade is a blended learning application designed especially for programming education, making reviewing and handing in programming exercises more insightful and effective for students and more efficient for teachers.","fork":false,"url":"https://api.github.com/repos/CodeGra-de/CodeGra.de","forks_url":"https://api.github.com/repos/CodeGra-de/CodeGra.de/forks","keys_url":"https://api.github.com/repos/CodeGra-de/CodeGra.de/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CodeGra-de/CodeGra.de/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CodeGra-de/CodeGra.de/teams","hooks_url":"https://api.github.com/repos/CodeGra-de/CodeGra.de/hooks","issue_events_url":"https://api.github.com/repos/CodeGra-de/CodeGra.de/issues/events{/number}","events_url":"https://api.github.com/repos/CodeGra-de/CodeGra.de/events","assignees_url":"https://api.github.com/repos/CodeGra-de/CodeGra.de/assignees{/user}","branches_url":"https://api.github.com/repos/CodeGra-de/CodeGra.de/branches{/branch}","tags_url":"https://api.github.com/repos/CodeGra-de/CodeGra.de/tags","blobs_url":"https://api.github.com/repos/CodeGra-de/CodeGra.de/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CodeGra-de/CodeGra.de/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CodeGra-de/CodeGra.de/git/refs{/sha}","trees_url":"https://api.github.com/repos/CodeGra-de/CodeGra.de/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CodeGra-de/CodeGra.de/statuses/{sha}","languages_url":"https://api.github.com/repos/CodeGra-de/CodeGra.de/languages","stargazers_url":"https://api.github.com/repos/CodeGra-de/CodeGra.de/stargazers","contributors_url":"https://api.github.com/repos/CodeGra-de/CodeGra.de/contributors","subscribers_url":"https://api.github.com/repos/CodeGra-de/CodeGra.de/subscribers","subscription_url":"https://api.github.com/repos/CodeGra-de/CodeGra.de/subscription","commits_url":"https://api.github.com/repos/CodeGra-de/CodeGra.de/commits{/sha}","git_commits_url":"https://api.github.com/repos/CodeGra-de/CodeGra.de/git/commits{/sha}","comments_url":"https://api.github.com/repos/CodeGra-de/CodeGra.de/comments{/number}","issue_comment_url":"https://api.github.com/repos/CodeGra-de/CodeGra.de/issues/comments{/number}","contents_url":"https://api.github.com/repos/CodeGra-de/CodeGra.de/contents/{+path}","compare_url":"https://api.github.com/repos/CodeGra-de/CodeGra.de/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CodeGra-de/CodeGra.de/merges","archive_url":"https://api.github.com/repos/CodeGra-de/CodeGra.de/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CodeGra-de/CodeGra.de/downloads","issues_url":"https://api.github.com/repos/CodeGra-de/CodeGra.de/issues{/number}","pulls_url":"https://api.github.com/repos/CodeGra-de/CodeGra.de/pulls{/number}","milestones_url":"https://api.github.com/repos/CodeGra-de/CodeGra.de/milestones{/number}","notifications_url":"https://api.github.com/repos/CodeGra-de/CodeGra.de/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CodeGra-de/CodeGra.de/labels{/name}","releases_url":"https://api.github.com/repos/CodeGra-de/CodeGra.de/releases{/id}","deployments_url":"https://api.github.com/repos/CodeGra-de/CodeGra.de/deployments","created_at":"2017-07-09T17:00:27Z","updated_at":"2018-10-17T13:20:46Z","pushed_at":"2018-10-18T13:38:24Z","git_url":"git://github.com/CodeGra-de/CodeGra.de.git","ssh_url":"git@github.com:CodeGra-de/CodeGra.de.git","clone_url":"https://github.com/CodeGra-de/CodeGra.de.git","svn_url":"https://github.com/CodeGra-de/CodeGra.de","homepage":"https://codegra.de","size":20577,"stargazers_count":8,"watchers_count":8,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":60,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":1,"open_issues":60,"watchers":8,"default_branch":"master"}},"base":{"label":"CodeGra-de:master","ref":"master","sha":"eb8d2872a9dc2e2a7bd0c96eaea9f79c9b0ff2e1","user":{"login":"CodeGra-de","id":30043325,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMwMDQzMzI1","avatar_url":"https://avatars1.githubusercontent.com/u/30043325?v=4","gravatar_id":"","url":"https://api.github.com/users/CodeGra-de","html_url":"https://github.com/CodeGra-de","followers_url":"https://api.github.com/users/CodeGra-de/followers","following_url":"https://api.github.com/users/CodeGra-de/following{/other_user}","gists_url":"https://api.github.com/users/CodeGra-de/gists{/gist_id}","starred_url":"https://api.github.com/users/CodeGra-de/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CodeGra-de/subscriptions","organizations_url":"https://api.github.com/users/CodeGra-de/orgs","repos_url":"https://api.github.com/users/CodeGra-de/repos","events_url":"https://api.github.com/users/CodeGra-de/events{/privacy}","received_events_url":"https://api.github.com/users/CodeGra-de/received_events","type":"Organization","site_admin":false},"repo":{"id":96698423,"node_id":"MDEwOlJlcG9zaXRvcnk5NjY5ODQyMw==","name":"CodeGra.de","full_name":"CodeGra-de/CodeGra.de","private":false,"owner":{"login":"CodeGra-de","id":30043325,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMwMDQzMzI1","avatar_url":"https://avatars1.githubusercontent.com/u/30043325?v=4","gravatar_id":"","url":"https://api.github.com/users/CodeGra-de","html_url":"https://github.com/CodeGra-de","followers_url":"https://api.github.com/users/CodeGra-de/followers","following_url":"https://api.github.com/users/CodeGra-de/following{/other_user}","gists_url":"https://api.github.com/users/CodeGra-de/gists{/gist_id}","starred_url":"https://api.github.com/users/CodeGra-de/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CodeGra-de/subscriptions","organizations_url":"https://api.github.com/users/CodeGra-de/orgs","repos_url":"https://api.github.com/users/CodeGra-de/repos","events_url":"https://api.github.com/users/CodeGra-de/events{/privacy}","received_events_url":"https://api.github.com/users/CodeGra-de/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/CodeGra-de/CodeGra.de","description":"Code grading made intuitive. CodeGrade is a blended learning application designed especially for programming education, making reviewing and handing in programming exercises more insightful and effective for students and more efficient for teachers.","fork":false,"url":"https://api.github.com/repos/CodeGra-de/CodeGra.de","forks_url":"https://api.github.com/repos/CodeGra-de/CodeGra.de/forks","keys_url":"https://api.github.com/repos/CodeGra-de/CodeGra.de/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CodeGra-de/CodeGra.de/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CodeGra-de/CodeGra.de/teams","hooks_url":"https://api.github.com/repos/CodeGra-de/CodeGra.de/hooks","issue_events_url":"https://api.github.com/repos/CodeGra-de/CodeGra.de/issues/events{/number}","events_url":"https://api.github.com/repos/CodeGra-de/CodeGra.de/events","assignees_url":"https://api.github.com/repos/CodeGra-de/CodeGra.de/assignees{/user}","branches_url":"https://api.github.com/repos/CodeGra-de/CodeGra.de/branches{/branch}","tags_url":"https://api.github.com/repos/CodeGra-de/CodeGra.de/tags","blobs_url":"https://api.github.com/repos/CodeGra-de/CodeGra.de/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CodeGra-de/CodeGra.de/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CodeGra-de/CodeGra.de/git/refs{/sha}","trees_url":"https://api.github.com/repos/CodeGra-de/CodeGra.de/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CodeGra-de/CodeGra.de/statuses/{sha}","languages_url":"https://api.github.com/repos/CodeGra-de/CodeGra.de/languages","stargazers_url":"https://api.github.com/repos/CodeGra-de/CodeGra.de/stargazers","contributors_url":"https://api.github.com/repos/CodeGra-de/CodeGra.de/contributors","subscribers_url":"https://api.github.com/repos/CodeGra-de/CodeGra.de/subscribers","subscription_url":"https://api.github.com/repos/CodeGra-de/CodeGra.de/subscription","commits_url":"https://api.github.com/repos/CodeGra-de/CodeGra.de/commits{/sha}","git_commits_url":"https://api.github.com/repos/CodeGra-de/CodeGra.de/git/commits{/sha}","comments_url":"https://api.github.com/repos/CodeGra-de/CodeGra.de/comments{/number}","issue_comment_url":"https://api.github.com/repos/CodeGra-de/CodeGra.de/issues/comments{/number}","contents_url":"https://api.github.com/repos/CodeGra-de/CodeGra.de/contents/{+path}","compare_url":"https://api.github.com/repos/CodeGra-de/CodeGra.de/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CodeGra-de/CodeGra.de/merges","archive_url":"https://api.github.com/repos/CodeGra-de/CodeGra.de/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CodeGra-de/CodeGra.de/downloads","issues_url":"https://api.github.com/repos/CodeGra-de/CodeGra.de/issues{/number}","pulls_url":"https://api.github.com/repos/CodeGra-de/CodeGra.de/pulls{/number}","milestones_url":"https://api.github.com/repos/CodeGra-de/CodeGra.de/milestones{/number}","notifications_url":"https://api.github.com/repos/CodeGra-de/CodeGra.de/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CodeGra-de/CodeGra.de/labels{/name}","releases_url":"https://api.github.com/repos/CodeGra-de/CodeGra.de/releases{/id}","deployments_url":"https://api.github.com/repos/CodeGra-de/CodeGra.de/deployments","created_at":"2017-07-09T17:00:27Z","updated_at":"2018-10-17T13:20:46Z","pushed_at":"2018-10-18T13:38:24Z","git_url":"git://github.com/CodeGra-de/CodeGra.de.git","ssh_url":"git@github.com:CodeGra-de/CodeGra.de.git","clone_url":"https://github.com/CodeGra-de/CodeGra.de.git","svn_url":"https://github.com/CodeGra-de/CodeGra.de","homepage":"https://codegra.de","size":20577,"stargazers_count":8,"watchers_count":8,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":60,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":1,"open_issues":60,"watchers":8,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/CodeGra-de/CodeGra.de/pulls/599"},"html":{"href":"https://github.com/CodeGra-de/CodeGra.de/pull/599"},"issue":{"href":"https://api.github.com/repos/CodeGra-de/CodeGra.de/issues/599"},"comments":{"href":"https://api.github.com/repos/CodeGra-de/CodeGra.de/issues/599/comments"},"review_comments":{"href":"https://api.github.com/repos/CodeGra-de/CodeGra.de/pulls/599/comments"},"review_comment":{"href":"https://api.github.com/repos/CodeGra-de/CodeGra.de/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/CodeGra-de/CodeGra.de/pulls/599/commits"},"statuses":{"href":"https://api.github.com/repos/CodeGra-de/CodeGra.de/statuses/d070161d6729a3399e89cd35e45515ca68b525b9"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"libre-man"}}