{"action":"created","comment":{"url":"https://api.github.com/repos/wikimedia/wikimedia-page-library/pulls/comments/128883080","pull_request_review_id":51609345,"id":128883080,"diff_hunk":"@@ -0,0 +1,34 @@\n+import './EditTransform.css'\n+\n+const CLASS = {\n+  CONTAINER: 'pagelib_edit_section_link_container',\n+  LINK: 'pagelib_edit_section_link',\n+  PROTECTION: { UNPROTECTED: '', PROTECTED: 'page-protected', FORBIDDEN: 'no-editing' }\n+}\n+\n+const DATA_ATTRIBUTE = { SECTION_INDEX: 'data-id', ACTION: 'data-action' }\n+const ACTION_EDIT_SECTION = 'edit_section'\n+\n+/**\n+ * @param {!Document} document\n+ * @param {!number} index The zero-based index of the section.\n+ * @return {!HTMLSpanElement}\n+ */\n+const newEditSectionLink = (document, index) => {\n+  const container = document.createElement('span')","path":"src/transform/EditTransform.js","position":18,"original_position":18,"commit_id":"6c87c9bd7194bb96cad7dc91f5c1f35002311921","original_commit_id":"6c87c9bd7194bb96cad7dc91f5c1f35002311921","user":{"login":"montehurd","id":3143487,"avatar_url":"https://avatars1.githubusercontent.com/u/3143487?v=4","gravatar_id":"","url":"https://api.github.com/users/montehurd","html_url":"https://github.com/montehurd","followers_url":"https://api.github.com/users/montehurd/followers","following_url":"https://api.github.com/users/montehurd/following{/other_user}","gists_url":"https://api.github.com/users/montehurd/gists{/gist_id}","starred_url":"https://api.github.com/users/montehurd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/montehurd/subscriptions","organizations_url":"https://api.github.com/users/montehurd/orgs","repos_url":"https://api.github.com/users/montehurd/repos","events_url":"https://api.github.com/users/montehurd/events{/privacy}","received_events_url":"https://api.github.com/users/montehurd/received_events","type":"User","site_admin":false},"body":"Oh that's why I tweaked the name of the span function above to newEditSection**Icon**Span...","created_at":"2017-07-22T00:21:28Z","updated_at":"2017-07-22T00:21:28Z","html_url":"https://github.com/wikimedia/wikimedia-page-library/pull/61#discussion_r128883080","pull_request_url":"https://api.github.com/repos/wikimedia/wikimedia-page-library/pulls/61","_links":{"self":{"href":"https://api.github.com/repos/wikimedia/wikimedia-page-library/pulls/comments/128883080"},"html":{"href":"https://github.com/wikimedia/wikimedia-page-library/pull/61#discussion_r128883080"},"pull_request":{"href":"https://api.github.com/repos/wikimedia/wikimedia-page-library/pulls/61"}}},"pull_request":{"url":"https://api.github.com/repos/wikimedia/wikimedia-page-library/pulls/61","id":131692512,"html_url":"https://github.com/wikimedia/wikimedia-page-library/pull/61","diff_url":"https://github.com/wikimedia/wikimedia-page-library/pull/61.diff","patch_url":"https://github.com/wikimedia/wikimedia-page-library/pull/61.patch","issue_url":"https://api.github.com/repos/wikimedia/wikimedia-page-library/issues/61","number":61,"state":"open","locked":false,"title":"Fix: dark mode collapsed table secondary text and edit link colors","user":{"login":"niedzielski","id":1071806,"avatar_url":"https://avatars3.githubusercontent.com/u/1071806?v=4","gravatar_id":"","url":"https://api.github.com/users/niedzielski","html_url":"https://github.com/niedzielski","followers_url":"https://api.github.com/users/niedzielski/followers","following_url":"https://api.github.com/users/niedzielski/following{/other_user}","gists_url":"https://api.github.com/users/niedzielski/gists{/gist_id}","starred_url":"https://api.github.com/users/niedzielski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/niedzielski/subscriptions","organizations_url":"https://api.github.com/users/niedzielski/orgs","repos_url":"https://api.github.com/users/niedzielski/repos","events_url":"https://api.github.com/users/niedzielski/events{/privacy}","received_events_url":"https://api.github.com/users/niedzielski/received_events","type":"User","site_admin":false},"body":"Bug: T165415","created_at":"2017-07-21T03:39:27Z","updated_at":"2017-07-22T00:21:28Z","closed_at":null,"merged_at":null,"merge_commit_sha":"39cf455477f787d472a698879fc8e8b82ab9d3c1","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/wikimedia/wikimedia-page-library/pulls/61/commits","review_comments_url":"https://api.github.com/repos/wikimedia/wikimedia-page-library/pulls/61/comments","review_comment_url":"https://api.github.com/repos/wikimedia/wikimedia-page-library/pulls/comments{/number}","comments_url":"https://api.github.com/repos/wikimedia/wikimedia-page-library/issues/61/comments","statuses_url":"https://api.github.com/repos/wikimedia/wikimedia-page-library/statuses/6c87c9bd7194bb96cad7dc91f5c1f35002311921","head":{"label":"wikimedia:fix/dark-tweaks","ref":"fix/dark-tweaks","sha":"6c87c9bd7194bb96cad7dc91f5c1f35002311921","user":{"login":"wikimedia","id":56668,"avatar_url":"https://avatars0.githubusercontent.com/u/56668?v=4","gravatar_id":"","url":"https://api.github.com/users/wikimedia","html_url":"https://github.com/wikimedia","followers_url":"https://api.github.com/users/wikimedia/followers","following_url":"https://api.github.com/users/wikimedia/following{/other_user}","gists_url":"https://api.github.com/users/wikimedia/gists{/gist_id}","starred_url":"https://api.github.com/users/wikimedia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wikimedia/subscriptions","organizations_url":"https://api.github.com/users/wikimedia/orgs","repos_url":"https://api.github.com/users/wikimedia/repos","events_url":"https://api.github.com/users/wikimedia/events{/privacy}","received_events_url":"https://api.github.com/users/wikimedia/received_events","type":"Organization","site_admin":false},"repo":{"id":82309693,"name":"wikimedia-page-library","full_name":"wikimedia/wikimedia-page-library","owner":{"login":"wikimedia","id":56668,"avatar_url":"https://avatars0.githubusercontent.com/u/56668?v=4","gravatar_id":"","url":"https://api.github.com/users/wikimedia","html_url":"https://github.com/wikimedia","followers_url":"https://api.github.com/users/wikimedia/followers","following_url":"https://api.github.com/users/wikimedia/following{/other_user}","gists_url":"https://api.github.com/users/wikimedia/gists{/gist_id}","starred_url":"https://api.github.com/users/wikimedia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wikimedia/subscriptions","organizations_url":"https://api.github.com/users/wikimedia/orgs","repos_url":"https://api.github.com/users/wikimedia/repos","events_url":"https://api.github.com/users/wikimedia/events{/privacy}","received_events_url":"https://api.github.com/users/wikimedia/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/wikimedia/wikimedia-page-library","description":"Cross-platform JavaScript library for Wikimedia apps","fork":false,"url":"https://api.github.com/repos/wikimedia/wikimedia-page-library","forks_url":"https://api.github.com/repos/wikimedia/wikimedia-page-library/forks","keys_url":"https://api.github.com/repos/wikimedia/wikimedia-page-library/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wikimedia/wikimedia-page-library/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wikimedia/wikimedia-page-library/teams","hooks_url":"https://api.github.com/repos/wikimedia/wikimedia-page-library/hooks","issue_events_url":"https://api.github.com/repos/wikimedia/wikimedia-page-library/issues/events{/number}","events_url":"https://api.github.com/repos/wikimedia/wikimedia-page-library/events","assignees_url":"https://api.github.com/repos/wikimedia/wikimedia-page-library/assignees{/user}","branches_url":"https://api.github.com/repos/wikimedia/wikimedia-page-library/branches{/branch}","tags_url":"https://api.github.com/repos/wikimedia/wikimedia-page-library/tags","blobs_url":"https://api.github.com/repos/wikimedia/wikimedia-page-library/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wikimedia/wikimedia-page-library/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wikimedia/wikimedia-page-library/git/refs{/sha}","trees_url":"https://api.github.com/repos/wikimedia/wikimedia-page-library/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wikimedia/wikimedia-page-library/statuses/{sha}","languages_url":"https://api.github.com/repos/wikimedia/wikimedia-page-library/languages","stargazers_url":"https://api.github.com/repos/wikimedia/wikimedia-page-library/stargazers","contributors_url":"https://api.github.com/repos/wikimedia/wikimedia-page-library/contributors","subscribers_url":"https://api.github.com/repos/wikimedia/wikimedia-page-library/subscribers","subscription_url":"https://api.github.com/repos/wikimedia/wikimedia-page-library/subscription","commits_url":"https://api.github.com/repos/wikimedia/wikimedia-page-library/commits{/sha}","git_commits_url":"https://api.github.com/repos/wikimedia/wikimedia-page-library/git/commits{/sha}","comments_url":"https://api.github.com/repos/wikimedia/wikimedia-page-library/comments{/number}","issue_comment_url":"https://api.github.com/repos/wikimedia/wikimedia-page-library/issues/comments{/number}","contents_url":"https://api.github.com/repos/wikimedia/wikimedia-page-library/contents/{+path}","compare_url":"https://api.github.com/repos/wikimedia/wikimedia-page-library/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wikimedia/wikimedia-page-library/merges","archive_url":"https://api.github.com/repos/wikimedia/wikimedia-page-library/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wikimedia/wikimedia-page-library/downloads","issues_url":"https://api.github.com/repos/wikimedia/wikimedia-page-library/issues{/number}","pulls_url":"https://api.github.com/repos/wikimedia/wikimedia-page-library/pulls{/number}","milestones_url":"https://api.github.com/repos/wikimedia/wikimedia-page-library/milestones{/number}","notifications_url":"https://api.github.com/repos/wikimedia/wikimedia-page-library/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wikimedia/wikimedia-page-library/labels{/name}","releases_url":"https://api.github.com/repos/wikimedia/wikimedia-page-library/releases{/id}","deployments_url":"https://api.github.com/repos/wikimedia/wikimedia-page-library/deployments","created_at":"2017-02-17T15:20:47Z","updated_at":"2017-04-26T15:45:41Z","pushed_at":"2017-07-21T19:39:32Z","git_url":"git://github.com/wikimedia/wikimedia-page-library.git","ssh_url":"git@github.com:wikimedia/wikimedia-page-library.git","clone_url":"https://github.com/wikimedia/wikimedia-page-library.git","svn_url":"https://github.com/wikimedia/wikimedia-page-library","homepage":"","size":482,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","has_issues":false,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":4,"forks":3,"open_issues":4,"watchers":2,"default_branch":"master"}},"base":{"label":"wikimedia:master","ref":"master","sha":"3afabbe412fa6c20c4e7f0eaf836be9c00b5577c","user":{"login":"wikimedia","id":56668,"avatar_url":"https://avatars0.githubusercontent.com/u/56668?v=4","gravatar_id":"","url":"https://api.github.com/users/wikimedia","html_url":"https://github.com/wikimedia","followers_url":"https://api.github.com/users/wikimedia/followers","following_url":"https://api.github.com/users/wikimedia/following{/other_user}","gists_url":"https://api.github.com/users/wikimedia/gists{/gist_id}","starred_url":"https://api.github.com/users/wikimedia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wikimedia/subscriptions","organizations_url":"https://api.github.com/users/wikimedia/orgs","repos_url":"https://api.github.com/users/wikimedia/repos","events_url":"https://api.github.com/users/wikimedia/events{/privacy}","received_events_url":"https://api.github.com/users/wikimedia/received_events","type":"Organization","site_admin":false},"repo":{"id":82309693,"name":"wikimedia-page-library","full_name":"wikimedia/wikimedia-page-library","owner":{"login":"wikimedia","id":56668,"avatar_url":"https://avatars0.githubusercontent.com/u/56668?v=4","gravatar_id":"","url":"https://api.github.com/users/wikimedia","html_url":"https://github.com/wikimedia","followers_url":"https://api.github.com/users/wikimedia/followers","following_url":"https://api.github.com/users/wikimedia/following{/other_user}","gists_url":"https://api.github.com/users/wikimedia/gists{/gist_id}","starred_url":"https://api.github.com/users/wikimedia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wikimedia/subscriptions","organizations_url":"https://api.github.com/users/wikimedia/orgs","repos_url":"https://api.github.com/users/wikimedia/repos","events_url":"https://api.github.com/users/wikimedia/events{/privacy}","received_events_url":"https://api.github.com/users/wikimedia/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/wikimedia/wikimedia-page-library","description":"Cross-platform JavaScript library for Wikimedia apps","fork":false,"url":"https://api.github.com/repos/wikimedia/wikimedia-page-library","forks_url":"https://api.github.com/repos/wikimedia/wikimedia-page-library/forks","keys_url":"https://api.github.com/repos/wikimedia/wikimedia-page-library/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wikimedia/wikimedia-page-library/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wikimedia/wikimedia-page-library/teams","hooks_url":"https://api.github.com/repos/wikimedia/wikimedia-page-library/hooks","issue_events_url":"https://api.github.com/repos/wikimedia/wikimedia-page-library/issues/events{/number}","events_url":"https://api.github.com/repos/wikimedia/wikimedia-page-library/events","assignees_url":"https://api.github.com/repos/wikimedia/wikimedia-page-library/assignees{/user}","branches_url":"https://api.github.com/repos/wikimedia/wikimedia-page-library/branches{/branch}","tags_url":"https://api.github.com/repos/wikimedia/wikimedia-page-library/tags","blobs_url":"https://api.github.com/repos/wikimedia/wikimedia-page-library/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wikimedia/wikimedia-page-library/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wikimedia/wikimedia-page-library/git/refs{/sha}","trees_url":"https://api.github.com/repos/wikimedia/wikimedia-page-library/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wikimedia/wikimedia-page-library/statuses/{sha}","languages_url":"https://api.github.com/repos/wikimedia/wikimedia-page-library/languages","stargazers_url":"https://api.github.com/repos/wikimedia/wikimedia-page-library/stargazers","contributors_url":"https://api.github.com/repos/wikimedia/wikimedia-page-library/contributors","subscribers_url":"https://api.github.com/repos/wikimedia/wikimedia-page-library/subscribers","subscription_url":"https://api.github.com/repos/wikimedia/wikimedia-page-library/subscription","commits_url":"https://api.github.com/repos/wikimedia/wikimedia-page-library/commits{/sha}","git_commits_url":"https://api.github.com/repos/wikimedia/wikimedia-page-library/git/commits{/sha}","comments_url":"https://api.github.com/repos/wikimedia/wikimedia-page-library/comments{/number}","issue_comment_url":"https://api.github.com/repos/wikimedia/wikimedia-page-library/issues/comments{/number}","contents_url":"https://api.github.com/repos/wikimedia/wikimedia-page-library/contents/{+path}","compare_url":"https://api.github.com/repos/wikimedia/wikimedia-page-library/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wikimedia/wikimedia-page-library/merges","archive_url":"https://api.github.com/repos/wikimedia/wikimedia-page-library/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wikimedia/wikimedia-page-library/downloads","issues_url":"https://api.github.com/repos/wikimedia/wikimedia-page-library/issues{/number}","pulls_url":"https://api.github.com/repos/wikimedia/wikimedia-page-library/pulls{/number}","milestones_url":"https://api.github.com/repos/wikimedia/wikimedia-page-library/milestones{/number}","notifications_url":"https://api.github.com/repos/wikimedia/wikimedia-page-library/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wikimedia/wikimedia-page-library/labels{/name}","releases_url":"https://api.github.com/repos/wikimedia/wikimedia-page-library/releases{/id}","deployments_url":"https://api.github.com/repos/wikimedia/wikimedia-page-library/deployments","created_at":"2017-02-17T15:20:47Z","updated_at":"2017-04-26T15:45:41Z","pushed_at":"2017-07-21T19:39:32Z","git_url":"git://github.com/wikimedia/wikimedia-page-library.git","ssh_url":"git@github.com:wikimedia/wikimedia-page-library.git","clone_url":"https://github.com/wikimedia/wikimedia-page-library.git","svn_url":"https://github.com/wikimedia/wikimedia-page-library","homepage":"","size":482,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","has_issues":false,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":4,"forks":3,"open_issues":4,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/wikimedia/wikimedia-page-library/pulls/61"},"html":{"href":"https://github.com/wikimedia/wikimedia-page-library/pull/61"},"issue":{"href":"https://api.github.com/repos/wikimedia/wikimedia-page-library/issues/61"},"comments":{"href":"https://api.github.com/repos/wikimedia/wikimedia-page-library/issues/61/comments"},"review_comments":{"href":"https://api.github.com/repos/wikimedia/wikimedia-page-library/pulls/61/comments"},"review_comment":{"href":"https://api.github.com/repos/wikimedia/wikimedia-page-library/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/wikimedia/wikimedia-page-library/pulls/61/commits"},"statuses":{"href":"https://api.github.com/repos/wikimedia/wikimedia-page-library/statuses/6c87c9bd7194bb96cad7dc91f5c1f35002311921"}}}}
{"actor":{"display_login":"montehurd"}}