{"action":"created","comment":{"url":"https://api.github.com/repos/versionpress/versionpress/pulls/comments/74767984","id":74767984,"diff_hunk":"@@ -0,0 +1,49 @@\n+import * as React from 'react';\n+\n+import * as classNames from 'classnames';\n+import config from '../config';\n+\n+interface VpInfoProps {\n+    isVisible: boolean;\n+}\n+\n+const VpInfo: React.StatelessComponent<VpInfoProps> = ({ isVisible }) => {\n+  const systemInfoUrl = config.api.adminUrl + '/admin.php?page=versionpress/admin/system-info.php';\n+  const wrapperClassName = classNames({\n+    'ServicePanel-wrapper': true,\n+    'ServicePanel-wrapper--hide': !isVisible,\n+  });\n+\n+  return (","path":"frontend/src/service-panel/VpInfo.tsx","position":17,"original_position":17,"commit_id":"28fbe4fa514ebe719428ed5da2ba4e2ab5d0da64","original_commit_id":"28fbe4fa514ebe719428ed5da2ba4e2ab5d0da64","user":{"login":"vasek17","id":1569342,"avatar_url":"https://avatars.githubusercontent.com/u/1569342?v=3","gravatar_id":"","url":"https://api.github.com/users/vasek17","html_url":"https://github.com/vasek17","followers_url":"https://api.github.com/users/vasek17/followers","following_url":"https://api.github.com/users/vasek17/following{/other_user}","gists_url":"https://api.github.com/users/vasek17/gists{/gist_id}","starred_url":"https://api.github.com/users/vasek17/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vasek17/subscriptions","organizations_url":"https://api.github.com/users/vasek17/orgs","repos_url":"https://api.github.com/users/vasek17/repos","events_url":"https://api.github.com/users/vasek17/events{/privacy}","received_events_url":"https://api.github.com/users/vasek17/received_events","type":"User","site_admin":false},"body":"This could be also extracted to 2 components. Maybe something like `panel/warning`, `panel/support`?","created_at":"2016-08-15T14:19:13Z","updated_at":"2016-08-15T14:19:13Z","html_url":"https://github.com/versionpress/versionpress/pull/1106#discussion_r74767984","pull_request_url":"https://api.github.com/repos/versionpress/versionpress/pulls/1106","_links":{"self":{"href":"https://api.github.com/repos/versionpress/versionpress/pulls/comments/74767984"},"html":{"href":"https://github.com/versionpress/versionpress/pull/1106#discussion_r74767984"},"pull_request":{"href":"https://api.github.com/repos/versionpress/versionpress/pulls/1106"}}},"pull_request":{"url":"https://api.github.com/repos/versionpress/versionpress/pulls/1106","id":81139603,"html_url":"https://github.com/versionpress/versionpress/pull/1106","diff_url":"https://github.com/versionpress/versionpress/pull/1106.diff","patch_url":"https://github.com/versionpress/versionpress/pull/1106.patch","issue_url":"https://api.github.com/repos/versionpress/versionpress/issues/1106","number":1106,"state":"open","locked":false,"title":"Refactor of ServicePanel and WelcomePanel components","user":{"login":"Ishirak","id":12139156,"avatar_url":"https://avatars.githubusercontent.com/u/12139156?v=3","gravatar_id":"","url":"https://api.github.com/users/Ishirak","html_url":"https://github.com/Ishirak","followers_url":"https://api.github.com/users/Ishirak/followers","following_url":"https://api.github.com/users/Ishirak/following{/other_user}","gists_url":"https://api.github.com/users/Ishirak/gists{/gist_id}","starred_url":"https://api.github.com/users/Ishirak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ishirak/subscriptions","organizations_url":"https://api.github.com/users/Ishirak/orgs","repos_url":"https://api.github.com/users/Ishirak/repos","events_url":"https://api.github.com/users/Ishirak/events{/privacy}","received_events_url":"https://api.github.com/users/Ishirak/received_events","type":"User","site_admin":false},"body":"Resolves (partialy) #1087.\r\n\r\nSince both components are smaller ones, PR contains refactor of both of them.\r\n\r\nBecause I believe in very clean `render` method of the main parent component – in this case `HomePage` – I've moved some render logic from this component to the `ServicePanel` component – VersionPress title and the `ServicePanelButton` component.\r\n\r\nReviewers:\r\n\r\n- [ ] @JanVoracek\r\n- [ ] @vasek17 ","created_at":"2016-08-12T15:39:44Z","updated_at":"2016-08-15T14:19:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d06227e99e2cae8b4b08fed5119a52dfd83213b7","assignee":{"login":"Ishirak","id":12139156,"avatar_url":"https://avatars.githubusercontent.com/u/12139156?v=3","gravatar_id":"","url":"https://api.github.com/users/Ishirak","html_url":"https://github.com/Ishirak","followers_url":"https://api.github.com/users/Ishirak/followers","following_url":"https://api.github.com/users/Ishirak/following{/other_user}","gists_url":"https://api.github.com/users/Ishirak/gists{/gist_id}","starred_url":"https://api.github.com/users/Ishirak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ishirak/subscriptions","organizations_url":"https://api.github.com/users/Ishirak/orgs","repos_url":"https://api.github.com/users/Ishirak/repos","events_url":"https://api.github.com/users/Ishirak/events{/privacy}","received_events_url":"https://api.github.com/users/Ishirak/received_events","type":"User","site_admin":false},"assignees":[{"login":"Ishirak","id":12139156,"avatar_url":"https://avatars.githubusercontent.com/u/12139156?v=3","gravatar_id":"","url":"https://api.github.com/users/Ishirak","html_url":"https://github.com/Ishirak","followers_url":"https://api.github.com/users/Ishirak/followers","following_url":"https://api.github.com/users/Ishirak/following{/other_user}","gists_url":"https://api.github.com/users/Ishirak/gists{/gist_id}","starred_url":"https://api.github.com/users/Ishirak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ishirak/subscriptions","organizations_url":"https://api.github.com/users/Ishirak/orgs","repos_url":"https://api.github.com/users/Ishirak/repos","events_url":"https://api.github.com/users/Ishirak/events{/privacy}","received_events_url":"https://api.github.com/users/Ishirak/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/versionpress/versionpress/milestones/16","html_url":"https://github.com/versionpress/versionpress/milestones/4.0","labels_url":"https://api.github.com/repos/versionpress/versionpress/milestones/16/labels","id":1408332,"number":16,"title":"4.0","description":"3rd-party plugin support, Composer workflows & UI improvements","creator":{"login":"borekb","id":101152,"avatar_url":"https://avatars.githubusercontent.com/u/101152?v=3","gravatar_id":"","url":"https://api.github.com/users/borekb","html_url":"https://github.com/borekb","followers_url":"https://api.github.com/users/borekb/followers","following_url":"https://api.github.com/users/borekb/following{/other_user}","gists_url":"https://api.github.com/users/borekb/gists{/gist_id}","starred_url":"https://api.github.com/users/borekb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/borekb/subscriptions","organizations_url":"https://api.github.com/users/borekb/orgs","repos_url":"https://api.github.com/users/borekb/repos","events_url":"https://api.github.com/users/borekb/events{/privacy}","received_events_url":"https://api.github.com/users/borekb/received_events","type":"User","site_admin":false},"open_issues":82,"closed_issues":22,"state":"open","created_at":"2015-11-12T12:15:24Z","updated_at":"2016-08-12T15:39:44Z","due_on":"2016-09-29T22:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/versionpress/versionpress/pulls/1106/commits","review_comments_url":"https://api.github.com/repos/versionpress/versionpress/pulls/1106/comments","review_comment_url":"https://api.github.com/repos/versionpress/versionpress/pulls/comments{/number}","comments_url":"https://api.github.com/repos/versionpress/versionpress/issues/1106/comments","statuses_url":"https://api.github.com/repos/versionpress/versionpress/statuses/28fbe4fa514ebe719428ed5da2ba4e2ab5d0da64","head":{"label":"versionpress:1087-refactor-service-welcome-panels","ref":"1087-refactor-service-welcome-panels","sha":"28fbe4fa514ebe719428ed5da2ba4e2ab5d0da64","user":{"login":"versionpress","id":13979788,"avatar_url":"https://avatars.githubusercontent.com/u/13979788?v=3","gravatar_id":"","url":"https://api.github.com/users/versionpress","html_url":"https://github.com/versionpress","followers_url":"https://api.github.com/users/versionpress/followers","following_url":"https://api.github.com/users/versionpress/following{/other_user}","gists_url":"https://api.github.com/users/versionpress/gists{/gist_id}","starred_url":"https://api.github.com/users/versionpress/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/versionpress/subscriptions","organizations_url":"https://api.github.com/users/versionpress/orgs","repos_url":"https://api.github.com/users/versionpress/repos","events_url":"https://api.github.com/users/versionpress/events{/privacy}","received_events_url":"https://api.github.com/users/versionpress/received_events","type":"Organization","site_admin":false},"repo":{"id":44519483,"name":"versionpress","full_name":"versionpress/versionpress","owner":{"login":"versionpress","id":13979788,"avatar_url":"https://avatars.githubusercontent.com/u/13979788?v=3","gravatar_id":"","url":"https://api.github.com/users/versionpress","html_url":"https://github.com/versionpress","followers_url":"https://api.github.com/users/versionpress/followers","following_url":"https://api.github.com/users/versionpress/following{/other_user}","gists_url":"https://api.github.com/users/versionpress/gists{/gist_id}","starred_url":"https://api.github.com/users/versionpress/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/versionpress/subscriptions","organizations_url":"https://api.github.com/users/versionpress/orgs","repos_url":"https://api.github.com/users/versionpress/repos","events_url":"https://api.github.com/users/versionpress/events{/privacy}","received_events_url":"https://api.github.com/users/versionpress/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/versionpress/versionpress","description":"Git-based version control for WordPress. Whoa!","fork":false,"url":"https://api.github.com/repos/versionpress/versionpress","forks_url":"https://api.github.com/repos/versionpress/versionpress/forks","keys_url":"https://api.github.com/repos/versionpress/versionpress/keys{/key_id}","collaborators_url":"https://api.github.com/repos/versionpress/versionpress/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/versionpress/versionpress/teams","hooks_url":"https://api.github.com/repos/versionpress/versionpress/hooks","issue_events_url":"https://api.github.com/repos/versionpress/versionpress/issues/events{/number}","events_url":"https://api.github.com/repos/versionpress/versionpress/events","assignees_url":"https://api.github.com/repos/versionpress/versionpress/assignees{/user}","branches_url":"https://api.github.com/repos/versionpress/versionpress/branches{/branch}","tags_url":"https://api.github.com/repos/versionpress/versionpress/tags","blobs_url":"https://api.github.com/repos/versionpress/versionpress/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/versionpress/versionpress/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/versionpress/versionpress/git/refs{/sha}","trees_url":"https://api.github.com/repos/versionpress/versionpress/git/trees{/sha}","statuses_url":"https://api.github.com/repos/versionpress/versionpress/statuses/{sha}","languages_url":"https://api.github.com/repos/versionpress/versionpress/languages","stargazers_url":"https://api.github.com/repos/versionpress/versionpress/stargazers","contributors_url":"https://api.github.com/repos/versionpress/versionpress/contributors","subscribers_url":"https://api.github.com/repos/versionpress/versionpress/subscribers","subscription_url":"https://api.github.com/repos/versionpress/versionpress/subscription","commits_url":"https://api.github.com/repos/versionpress/versionpress/commits{/sha}","git_commits_url":"https://api.github.com/repos/versionpress/versionpress/git/commits{/sha}","comments_url":"https://api.github.com/repos/versionpress/versionpress/comments{/number}","issue_comment_url":"https://api.github.com/repos/versionpress/versionpress/issues/comments{/number}","contents_url":"https://api.github.com/repos/versionpress/versionpress/contents/{+path}","compare_url":"https://api.github.com/repos/versionpress/versionpress/compare/{base}...{head}","merges_url":"https://api.github.com/repos/versionpress/versionpress/merges","archive_url":"https://api.github.com/repos/versionpress/versionpress/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/versionpress/versionpress/downloads","issues_url":"https://api.github.com/repos/versionpress/versionpress/issues{/number}","pulls_url":"https://api.github.com/repos/versionpress/versionpress/pulls{/number}","milestones_url":"https://api.github.com/repos/versionpress/versionpress/milestones{/number}","notifications_url":"https://api.github.com/repos/versionpress/versionpress/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/versionpress/versionpress/labels{/name}","releases_url":"https://api.github.com/repos/versionpress/versionpress/releases{/id}","deployments_url":"https://api.github.com/repos/versionpress/versionpress/deployments","created_at":"2015-10-19T07:57:56Z","updated_at":"2016-08-14T15:45:50Z","pushed_at":"2016-08-15T14:05:43Z","git_url":"git://github.com/versionpress/versionpress.git","ssh_url":"git@github.com:versionpress/versionpress.git","clone_url":"https://github.com/versionpress/versionpress.git","svn_url":"https://github.com/versionpress/versionpress","homepage":"https://versionpress.net/","size":4031,"stargazers_count":987,"watchers_count":987,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":53,"mirror_url":null,"open_issues_count":104,"forks":53,"open_issues":104,"watchers":987,"default_branch":"master"}},"base":{"label":"versionpress:master","ref":"master","sha":"b12e17237143f1a5bcd6625f46e38da869b8f149","user":{"login":"versionpress","id":13979788,"avatar_url":"https://avatars.githubusercontent.com/u/13979788?v=3","gravatar_id":"","url":"https://api.github.com/users/versionpress","html_url":"https://github.com/versionpress","followers_url":"https://api.github.com/users/versionpress/followers","following_url":"https://api.github.com/users/versionpress/following{/other_user}","gists_url":"https://api.github.com/users/versionpress/gists{/gist_id}","starred_url":"https://api.github.com/users/versionpress/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/versionpress/subscriptions","organizations_url":"https://api.github.com/users/versionpress/orgs","repos_url":"https://api.github.com/users/versionpress/repos","events_url":"https://api.github.com/users/versionpress/events{/privacy}","received_events_url":"https://api.github.com/users/versionpress/received_events","type":"Organization","site_admin":false},"repo":{"id":44519483,"name":"versionpress","full_name":"versionpress/versionpress","owner":{"login":"versionpress","id":13979788,"avatar_url":"https://avatars.githubusercontent.com/u/13979788?v=3","gravatar_id":"","url":"https://api.github.com/users/versionpress","html_url":"https://github.com/versionpress","followers_url":"https://api.github.com/users/versionpress/followers","following_url":"https://api.github.com/users/versionpress/following{/other_user}","gists_url":"https://api.github.com/users/versionpress/gists{/gist_id}","starred_url":"https://api.github.com/users/versionpress/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/versionpress/subscriptions","organizations_url":"https://api.github.com/users/versionpress/orgs","repos_url":"https://api.github.com/users/versionpress/repos","events_url":"https://api.github.com/users/versionpress/events{/privacy}","received_events_url":"https://api.github.com/users/versionpress/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/versionpress/versionpress","description":"Git-based version control for WordPress. Whoa!","fork":false,"url":"https://api.github.com/repos/versionpress/versionpress","forks_url":"https://api.github.com/repos/versionpress/versionpress/forks","keys_url":"https://api.github.com/repos/versionpress/versionpress/keys{/key_id}","collaborators_url":"https://api.github.com/repos/versionpress/versionpress/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/versionpress/versionpress/teams","hooks_url":"https://api.github.com/repos/versionpress/versionpress/hooks","issue_events_url":"https://api.github.com/repos/versionpress/versionpress/issues/events{/number}","events_url":"https://api.github.com/repos/versionpress/versionpress/events","assignees_url":"https://api.github.com/repos/versionpress/versionpress/assignees{/user}","branches_url":"https://api.github.com/repos/versionpress/versionpress/branches{/branch}","tags_url":"https://api.github.com/repos/versionpress/versionpress/tags","blobs_url":"https://api.github.com/repos/versionpress/versionpress/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/versionpress/versionpress/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/versionpress/versionpress/git/refs{/sha}","trees_url":"https://api.github.com/repos/versionpress/versionpress/git/trees{/sha}","statuses_url":"https://api.github.com/repos/versionpress/versionpress/statuses/{sha}","languages_url":"https://api.github.com/repos/versionpress/versionpress/languages","stargazers_url":"https://api.github.com/repos/versionpress/versionpress/stargazers","contributors_url":"https://api.github.com/repos/versionpress/versionpress/contributors","subscribers_url":"https://api.github.com/repos/versionpress/versionpress/subscribers","subscription_url":"https://api.github.com/repos/versionpress/versionpress/subscription","commits_url":"https://api.github.com/repos/versionpress/versionpress/commits{/sha}","git_commits_url":"https://api.github.com/repos/versionpress/versionpress/git/commits{/sha}","comments_url":"https://api.github.com/repos/versionpress/versionpress/comments{/number}","issue_comment_url":"https://api.github.com/repos/versionpress/versionpress/issues/comments{/number}","contents_url":"https://api.github.com/repos/versionpress/versionpress/contents/{+path}","compare_url":"https://api.github.com/repos/versionpress/versionpress/compare/{base}...{head}","merges_url":"https://api.github.com/repos/versionpress/versionpress/merges","archive_url":"https://api.github.com/repos/versionpress/versionpress/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/versionpress/versionpress/downloads","issues_url":"https://api.github.com/repos/versionpress/versionpress/issues{/number}","pulls_url":"https://api.github.com/repos/versionpress/versionpress/pulls{/number}","milestones_url":"https://api.github.com/repos/versionpress/versionpress/milestones{/number}","notifications_url":"https://api.github.com/repos/versionpress/versionpress/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/versionpress/versionpress/labels{/name}","releases_url":"https://api.github.com/repos/versionpress/versionpress/releases{/id}","deployments_url":"https://api.github.com/repos/versionpress/versionpress/deployments","created_at":"2015-10-19T07:57:56Z","updated_at":"2016-08-14T15:45:50Z","pushed_at":"2016-08-15T14:05:43Z","git_url":"git://github.com/versionpress/versionpress.git","ssh_url":"git@github.com:versionpress/versionpress.git","clone_url":"https://github.com/versionpress/versionpress.git","svn_url":"https://github.com/versionpress/versionpress","homepage":"https://versionpress.net/","size":4031,"stargazers_count":987,"watchers_count":987,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":53,"mirror_url":null,"open_issues_count":104,"forks":53,"open_issues":104,"watchers":987,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/versionpress/versionpress/pulls/1106"},"html":{"href":"https://github.com/versionpress/versionpress/pull/1106"},"issue":{"href":"https://api.github.com/repos/versionpress/versionpress/issues/1106"},"comments":{"href":"https://api.github.com/repos/versionpress/versionpress/issues/1106/comments"},"review_comments":{"href":"https://api.github.com/repos/versionpress/versionpress/pulls/1106/comments"},"review_comment":{"href":"https://api.github.com/repos/versionpress/versionpress/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/versionpress/versionpress/pulls/1106/commits"},"statuses":{"href":"https://api.github.com/repos/versionpress/versionpress/statuses/28fbe4fa514ebe719428ed5da2ba4e2ab5d0da64"}}}}
{"actor":{"display_login":"vasek17"}}