{"action":"created","comment":{"url":"https://api.github.com/repos/haiwen/seahub/pulls/comments/228854379","pull_request_review_id":169213903,"id":228854379,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyODg1NDM3OQ==","diff_hunk":"@@ -172,11 +172,11 @@ class DraftReview extends React.Component {\n               <span className=\"fas fa-code-merge\"></span>\n             </div>\n             <div className=\"info-item file-info\">\n-              <div className=\"file-draft-link\">\n+              <React.Fragment>\n                 <span className=\"file-name\">{draftFileName}</span>\n-                { draftID !== 'None' && <a href={draftLink} className=\"draft-link\">{gettext('Draft Page')}</a>}\n-              </div>\n-              <span className=\"file-copywriting\">{gettext('review')}</span>\n+                <span className=\"file-copywriting\">{gettext('review')}</span>\n+              </React.Fragment>\n+              { draftID !== 'None' && <a href={draftLink} className=\"draft-link\">{gettext('View Draft')}</a>}","path":"frontend/src/draft-review.js","position":65,"original_position":12,"commit_id":"17ac513f3119ad4fb573a3ee21ff82d441fcd6fa","original_commit_id":"17ac513f3119ad4fb573a3ee21ff82d441fcd6fa","user":{"login":"freeplant","id":109339,"node_id":"MDQ6VXNlcjEwOTMzOQ==","avatar_url":"https://avatars0.githubusercontent.com/u/109339?v=4","gravatar_id":"","url":"https://api.github.com/users/freeplant","html_url":"https://github.com/freeplant","followers_url":"https://api.github.com/users/freeplant/followers","following_url":"https://api.github.com/users/freeplant/following{/other_user}","gists_url":"https://api.github.com/users/freeplant/gists{/gist_id}","starred_url":"https://api.github.com/users/freeplant/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/freeplant/subscriptions","organizations_url":"https://api.github.com/users/freeplant/orgs","repos_url":"https://api.github.com/users/freeplant/repos","events_url":"https://api.github.com/users/freeplant/events{/privacy}","received_events_url":"https://api.github.com/users/freeplant/received_events","type":"User","site_admin":false},"body":"View Draft 改成 View draft","created_at":"2018-10-29T09:42:37Z","updated_at":"2018-10-29T09:42:37Z","html_url":"https://github.com/haiwen/seahub/pull/2481#discussion_r228854379","pull_request_url":"https://api.github.com/repos/haiwen/seahub/pulls/2481","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/haiwen/seahub/pulls/comments/228854379"},"html":{"href":"https://github.com/haiwen/seahub/pull/2481#discussion_r228854379"},"pull_request":{"href":"https://api.github.com/repos/haiwen/seahub/pulls/2481"}}},"pull_request":{"url":"https://api.github.com/repos/haiwen/seahub/pulls/2481","id":226283714,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI2MjgzNzE0","html_url":"https://github.com/haiwen/seahub/pull/2481","diff_url":"https://github.com/haiwen/seahub/pull/2481.diff","patch_url":"https://github.com/haiwen/seahub/pull/2481.patch","issue_url":"https://api.github.com/repos/haiwen/seahub/issues/2481","number":2481,"state":"open","locked":false,"title":"Update review","user":{"login":"ilearnit","id":26371258,"node_id":"MDQ6VXNlcjI2MzcxMjU4","avatar_url":"https://avatars3.githubusercontent.com/u/26371258?v=4","gravatar_id":"","url":"https://api.github.com/users/ilearnit","html_url":"https://github.com/ilearnit","followers_url":"https://api.github.com/users/ilearnit/followers","following_url":"https://api.github.com/users/ilearnit/following{/other_user}","gists_url":"https://api.github.com/users/ilearnit/gists{/gist_id}","starred_url":"https://api.github.com/users/ilearnit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ilearnit/subscriptions","organizations_url":"https://api.github.com/users/ilearnit/orgs","repos_url":"https://api.github.com/users/ilearnit/repos","events_url":"https://api.github.com/users/ilearnit/events{/privacy}","received_events_url":"https://api.github.com/users/ilearnit/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-10-27T10:03:37Z","updated_at":"2018-10-29T09:42:37Z","closed_at":null,"merged_at":null,"merge_commit_sha":"82c0df9abd0fe197aaf6162d7fea2246adeb8ad4","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/haiwen/seahub/pulls/2481/commits","review_comments_url":"https://api.github.com/repos/haiwen/seahub/pulls/2481/comments","review_comment_url":"https://api.github.com/repos/haiwen/seahub/pulls/comments{/number}","comments_url":"https://api.github.com/repos/haiwen/seahub/issues/2481/comments","statuses_url":"https://api.github.com/repos/haiwen/seahub/statuses/17ac513f3119ad4fb573a3ee21ff82d441fcd6fa","head":{"label":"haiwen:update-Review","ref":"update-Review","sha":"17ac513f3119ad4fb573a3ee21ff82d441fcd6fa","user":{"login":"haiwen","id":1948782,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE5NDg3ODI=","avatar_url":"https://avatars3.githubusercontent.com/u/1948782?v=4","gravatar_id":"","url":"https://api.github.com/users/haiwen","html_url":"https://github.com/haiwen","followers_url":"https://api.github.com/users/haiwen/followers","following_url":"https://api.github.com/users/haiwen/following{/other_user}","gists_url":"https://api.github.com/users/haiwen/gists{/gist_id}","starred_url":"https://api.github.com/users/haiwen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/haiwen/subscriptions","organizations_url":"https://api.github.com/users/haiwen/orgs","repos_url":"https://api.github.com/users/haiwen/repos","events_url":"https://api.github.com/users/haiwen/events{/privacy}","received_events_url":"https://api.github.com/users/haiwen/received_events","type":"Organization","site_admin":false},"repo":{"id":6556815,"node_id":"MDEwOlJlcG9zaXRvcnk2NTU2ODE1","name":"seahub","full_name":"haiwen/seahub","private":false,"owner":{"login":"haiwen","id":1948782,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE5NDg3ODI=","avatar_url":"https://avatars3.githubusercontent.com/u/1948782?v=4","gravatar_id":"","url":"https://api.github.com/users/haiwen","html_url":"https://github.com/haiwen","followers_url":"https://api.github.com/users/haiwen/followers","following_url":"https://api.github.com/users/haiwen/following{/other_user}","gists_url":"https://api.github.com/users/haiwen/gists{/gist_id}","starred_url":"https://api.github.com/users/haiwen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/haiwen/subscriptions","organizations_url":"https://api.github.com/users/haiwen/orgs","repos_url":"https://api.github.com/users/haiwen/repos","events_url":"https://api.github.com/users/haiwen/events{/privacy}","received_events_url":"https://api.github.com/users/haiwen/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/haiwen/seahub","description":"The web end of seafile server.","fork":false,"url":"https://api.github.com/repos/haiwen/seahub","forks_url":"https://api.github.com/repos/haiwen/seahub/forks","keys_url":"https://api.github.com/repos/haiwen/seahub/keys{/key_id}","collaborators_url":"https://api.github.com/repos/haiwen/seahub/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/haiwen/seahub/teams","hooks_url":"https://api.github.com/repos/haiwen/seahub/hooks","issue_events_url":"https://api.github.com/repos/haiwen/seahub/issues/events{/number}","events_url":"https://api.github.com/repos/haiwen/seahub/events","assignees_url":"https://api.github.com/repos/haiwen/seahub/assignees{/user}","branches_url":"https://api.github.com/repos/haiwen/seahub/branches{/branch}","tags_url":"https://api.github.com/repos/haiwen/seahub/tags","blobs_url":"https://api.github.com/repos/haiwen/seahub/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/haiwen/seahub/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/haiwen/seahub/git/refs{/sha}","trees_url":"https://api.github.com/repos/haiwen/seahub/git/trees{/sha}","statuses_url":"https://api.github.com/repos/haiwen/seahub/statuses/{sha}","languages_url":"https://api.github.com/repos/haiwen/seahub/languages","stargazers_url":"https://api.github.com/repos/haiwen/seahub/stargazers","contributors_url":"https://api.github.com/repos/haiwen/seahub/contributors","subscribers_url":"https://api.github.com/repos/haiwen/seahub/subscribers","subscription_url":"https://api.github.com/repos/haiwen/seahub/subscription","commits_url":"https://api.github.com/repos/haiwen/seahub/commits{/sha}","git_commits_url":"https://api.github.com/repos/haiwen/seahub/git/commits{/sha}","comments_url":"https://api.github.com/repos/haiwen/seahub/comments{/number}","issue_comment_url":"https://api.github.com/repos/haiwen/seahub/issues/comments{/number}","contents_url":"https://api.github.com/repos/haiwen/seahub/contents/{+path}","compare_url":"https://api.github.com/repos/haiwen/seahub/compare/{base}...{head}","merges_url":"https://api.github.com/repos/haiwen/seahub/merges","archive_url":"https://api.github.com/repos/haiwen/seahub/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/haiwen/seahub/downloads","issues_url":"https://api.github.com/repos/haiwen/seahub/issues{/number}","pulls_url":"https://api.github.com/repos/haiwen/seahub/pulls{/number}","milestones_url":"https://api.github.com/repos/haiwen/seahub/milestones{/number}","notifications_url":"https://api.github.com/repos/haiwen/seahub/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/haiwen/seahub/labels{/name}","releases_url":"https://api.github.com/repos/haiwen/seahub/releases{/id}","deployments_url":"https://api.github.com/repos/haiwen/seahub/deployments","created_at":"2012-11-06T05:07:24Z","updated_at":"2018-10-26T09:08:38Z","pushed_at":"2018-10-29T09:38:23Z","git_url":"git://github.com/haiwen/seahub.git","ssh_url":"git@github.com:haiwen/seahub.git","clone_url":"https://github.com/haiwen/seahub.git","svn_url":"https://github.com/haiwen/seahub","homepage":"seafile.com","size":113917,"stargazers_count":329,"watchers_count":329,"language":"JavaScript","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":261,"mirror_url":null,"archived":false,"open_issues_count":108,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":261,"open_issues":108,"watchers":329,"default_branch":"master"}},"base":{"label":"haiwen:master","ref":"master","sha":"6c221e341d4864a1b88d03216719f13ba4c38713","user":{"login":"haiwen","id":1948782,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE5NDg3ODI=","avatar_url":"https://avatars3.githubusercontent.com/u/1948782?v=4","gravatar_id":"","url":"https://api.github.com/users/haiwen","html_url":"https://github.com/haiwen","followers_url":"https://api.github.com/users/haiwen/followers","following_url":"https://api.github.com/users/haiwen/following{/other_user}","gists_url":"https://api.github.com/users/haiwen/gists{/gist_id}","starred_url":"https://api.github.com/users/haiwen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/haiwen/subscriptions","organizations_url":"https://api.github.com/users/haiwen/orgs","repos_url":"https://api.github.com/users/haiwen/repos","events_url":"https://api.github.com/users/haiwen/events{/privacy}","received_events_url":"https://api.github.com/users/haiwen/received_events","type":"Organization","site_admin":false},"repo":{"id":6556815,"node_id":"MDEwOlJlcG9zaXRvcnk2NTU2ODE1","name":"seahub","full_name":"haiwen/seahub","private":false,"owner":{"login":"haiwen","id":1948782,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE5NDg3ODI=","avatar_url":"https://avatars3.githubusercontent.com/u/1948782?v=4","gravatar_id":"","url":"https://api.github.com/users/haiwen","html_url":"https://github.com/haiwen","followers_url":"https://api.github.com/users/haiwen/followers","following_url":"https://api.github.com/users/haiwen/following{/other_user}","gists_url":"https://api.github.com/users/haiwen/gists{/gist_id}","starred_url":"https://api.github.com/users/haiwen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/haiwen/subscriptions","organizations_url":"https://api.github.com/users/haiwen/orgs","repos_url":"https://api.github.com/users/haiwen/repos","events_url":"https://api.github.com/users/haiwen/events{/privacy}","received_events_url":"https://api.github.com/users/haiwen/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/haiwen/seahub","description":"The web end of seafile server.","fork":false,"url":"https://api.github.com/repos/haiwen/seahub","forks_url":"https://api.github.com/repos/haiwen/seahub/forks","keys_url":"https://api.github.com/repos/haiwen/seahub/keys{/key_id}","collaborators_url":"https://api.github.com/repos/haiwen/seahub/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/haiwen/seahub/teams","hooks_url":"https://api.github.com/repos/haiwen/seahub/hooks","issue_events_url":"https://api.github.com/repos/haiwen/seahub/issues/events{/number}","events_url":"https://api.github.com/repos/haiwen/seahub/events","assignees_url":"https://api.github.com/repos/haiwen/seahub/assignees{/user}","branches_url":"https://api.github.com/repos/haiwen/seahub/branches{/branch}","tags_url":"https://api.github.com/repos/haiwen/seahub/tags","blobs_url":"https://api.github.com/repos/haiwen/seahub/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/haiwen/seahub/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/haiwen/seahub/git/refs{/sha}","trees_url":"https://api.github.com/repos/haiwen/seahub/git/trees{/sha}","statuses_url":"https://api.github.com/repos/haiwen/seahub/statuses/{sha}","languages_url":"https://api.github.com/repos/haiwen/seahub/languages","stargazers_url":"https://api.github.com/repos/haiwen/seahub/stargazers","contributors_url":"https://api.github.com/repos/haiwen/seahub/contributors","subscribers_url":"https://api.github.com/repos/haiwen/seahub/subscribers","subscription_url":"https://api.github.com/repos/haiwen/seahub/subscription","commits_url":"https://api.github.com/repos/haiwen/seahub/commits{/sha}","git_commits_url":"https://api.github.com/repos/haiwen/seahub/git/commits{/sha}","comments_url":"https://api.github.com/repos/haiwen/seahub/comments{/number}","issue_comment_url":"https://api.github.com/repos/haiwen/seahub/issues/comments{/number}","contents_url":"https://api.github.com/repos/haiwen/seahub/contents/{+path}","compare_url":"https://api.github.com/repos/haiwen/seahub/compare/{base}...{head}","merges_url":"https://api.github.com/repos/haiwen/seahub/merges","archive_url":"https://api.github.com/repos/haiwen/seahub/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/haiwen/seahub/downloads","issues_url":"https://api.github.com/repos/haiwen/seahub/issues{/number}","pulls_url":"https://api.github.com/repos/haiwen/seahub/pulls{/number}","milestones_url":"https://api.github.com/repos/haiwen/seahub/milestones{/number}","notifications_url":"https://api.github.com/repos/haiwen/seahub/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/haiwen/seahub/labels{/name}","releases_url":"https://api.github.com/repos/haiwen/seahub/releases{/id}","deployments_url":"https://api.github.com/repos/haiwen/seahub/deployments","created_at":"2012-11-06T05:07:24Z","updated_at":"2018-10-26T09:08:38Z","pushed_at":"2018-10-29T09:38:23Z","git_url":"git://github.com/haiwen/seahub.git","ssh_url":"git@github.com:haiwen/seahub.git","clone_url":"https://github.com/haiwen/seahub.git","svn_url":"https://github.com/haiwen/seahub","homepage":"seafile.com","size":113917,"stargazers_count":329,"watchers_count":329,"language":"JavaScript","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":261,"mirror_url":null,"archived":false,"open_issues_count":108,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":261,"open_issues":108,"watchers":329,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/haiwen/seahub/pulls/2481"},"html":{"href":"https://github.com/haiwen/seahub/pull/2481"},"issue":{"href":"https://api.github.com/repos/haiwen/seahub/issues/2481"},"comments":{"href":"https://api.github.com/repos/haiwen/seahub/issues/2481/comments"},"review_comments":{"href":"https://api.github.com/repos/haiwen/seahub/pulls/2481/comments"},"review_comment":{"href":"https://api.github.com/repos/haiwen/seahub/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/haiwen/seahub/pulls/2481/commits"},"statuses":{"href":"https://api.github.com/repos/haiwen/seahub/statuses/17ac513f3119ad4fb573a3ee21ff82d441fcd6fa"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"freeplant"}}