{"action":"created","comment":{"url":"https://api.github.com/repos/flagrow/bazaar/pulls/comments/115522824","pull_request_review_id":37067683,"id":115522824,"diff_hunk":"@@ -37,46 +42,62 @@ export default class BazaarPage extends Component {\n         ]);\n     }\n \n-    connectedHeader() {\n+    header() {\n+        var buttons = [].concat(this.requirementsButtons(), this.connectedButtons());\n+\n+        return m('div', {className: 'ButtonGroup'}, buttons);\n+    }\n+\n+    /**\n+     * Loads a list of buttons that give insight in the state of this installation.\n+     * @returns {Array}\n+     */\n+    requirementsButtons() {\n+        let memory_limit_met = app.data.settings['flagrow.bazaar.php.memory_limit-met'] || false;","path":"js/admin/src/components/BazaarPage.js","position":40,"original_position":40,"commit_id":"d03f03bffd398e5e78a3975ff876eefe203bbea1","original_commit_id":"d03f03bffd398e5e78a3975ff876eefe203bbea1","user":{"login":"clarkwinkelmann","id":5264300,"avatar_url":"https://avatars2.githubusercontent.com/u/5264300?v=3","gravatar_id":"","url":"https://api.github.com/users/clarkwinkelmann","html_url":"https://github.com/clarkwinkelmann","followers_url":"https://api.github.com/users/clarkwinkelmann/followers","following_url":"https://api.github.com/users/clarkwinkelmann/following{/other_user}","gists_url":"https://api.github.com/users/clarkwinkelmann/gists{/gist_id}","starred_url":"https://api.github.com/users/clarkwinkelmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clarkwinkelmann/subscriptions","organizations_url":"https://api.github.com/users/clarkwinkelmann/orgs","repos_url":"https://api.github.com/users/clarkwinkelmann/repos","events_url":"https://api.github.com/users/clarkwinkelmann/events{/privacy}","received_events_url":"https://api.github.com/users/clarkwinkelmann/received_events","type":"User","site_admin":false},"body":"Why not use const here ?","created_at":"2017-05-09T15:35:54Z","updated_at":"2017-05-09T15:42:03Z","html_url":"https://github.com/flagrow/bazaar/pull/57#discussion_r115522824","pull_request_url":"https://api.github.com/repos/flagrow/bazaar/pulls/57","_links":{"self":{"href":"https://api.github.com/repos/flagrow/bazaar/pulls/comments/115522824"},"html":{"href":"https://github.com/flagrow/bazaar/pull/57#discussion_r115522824"},"pull_request":{"href":"https://api.github.com/repos/flagrow/bazaar/pulls/57"}}},"pull_request":{"url":"https://api.github.com/repos/flagrow/bazaar/pulls/57","id":119533023,"html_url":"https://github.com/flagrow/bazaar/pull/57","diff_url":"https://github.com/flagrow/bazaar/pull/57.diff","patch_url":"https://github.com/flagrow/bazaar/pull/57.patch","issue_url":"https://api.github.com/repos/flagrow/bazaar/issues/57","number":57,"state":"open","locked":false,"title":"49 permissions","user":{"login":"Luceos","id":504687,"avatar_url":"https://avatars1.githubusercontent.com/u/504687?v=3","gravatar_id":"","url":"https://api.github.com/users/Luceos","html_url":"https://github.com/Luceos","followers_url":"https://api.github.com/users/Luceos/followers","following_url":"https://api.github.com/users/Luceos/following{/other_user}","gists_url":"https://api.github.com/users/Luceos/gists{/gist_id}","starred_url":"https://api.github.com/users/Luceos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Luceos/subscriptions","organizations_url":"https://api.github.com/users/Luceos/orgs","repos_url":"https://api.github.com/users/Luceos/repos","events_url":"https://api.github.com/users/Luceos/events{/privacy}","received_events_url":"https://api.github.com/users/Luceos/received_events","type":"User","site_admin":false},"body":"Refactored the header in the bazaar page, now shows:\r\n\r\n- a button when connected or not connected\r\n  - in case not connected first shows a modal with information when button clicked\r\n  - in case connected directs user to dashboard on click\r\n- a button when memory limit seems insufficient, and a modal when clicked with information\r\n- a button when file permissions are faulty, and a modal showing information and a list of paths","created_at":"2017-05-08T20:55:29Z","updated_at":"2017-05-09T15:42:03Z","closed_at":null,"merged_at":null,"merge_commit_sha":"42becbe2b822cceea8599944c20ce86564a908c8","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/flagrow/bazaar/pulls/57/commits","review_comments_url":"https://api.github.com/repos/flagrow/bazaar/pulls/57/comments","review_comment_url":"https://api.github.com/repos/flagrow/bazaar/pulls/comments{/number}","comments_url":"https://api.github.com/repos/flagrow/bazaar/issues/57/comments","statuses_url":"https://api.github.com/repos/flagrow/bazaar/statuses/d03f03bffd398e5e78a3975ff876eefe203bbea1","head":{"label":"flagrow:49-permissions","ref":"49-permissions","sha":"d03f03bffd398e5e78a3975ff876eefe203bbea1","user":{"login":"flagrow","id":16413865,"avatar_url":"https://avatars3.githubusercontent.com/u/16413865?v=3","gravatar_id":"","url":"https://api.github.com/users/flagrow","html_url":"https://github.com/flagrow","followers_url":"https://api.github.com/users/flagrow/followers","following_url":"https://api.github.com/users/flagrow/following{/other_user}","gists_url":"https://api.github.com/users/flagrow/gists{/gist_id}","starred_url":"https://api.github.com/users/flagrow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flagrow/subscriptions","organizations_url":"https://api.github.com/users/flagrow/orgs","repos_url":"https://api.github.com/users/flagrow/repos","events_url":"https://api.github.com/users/flagrow/events{/privacy}","received_events_url":"https://api.github.com/users/flagrow/received_events","type":"Organization","site_admin":false},"repo":{"id":81983178,"name":"bazaar","full_name":"flagrow/bazaar","owner":{"login":"flagrow","id":16413865,"avatar_url":"https://avatars3.githubusercontent.com/u/16413865?v=3","gravatar_id":"","url":"https://api.github.com/users/flagrow","html_url":"https://github.com/flagrow","followers_url":"https://api.github.com/users/flagrow/followers","following_url":"https://api.github.com/users/flagrow/following{/other_user}","gists_url":"https://api.github.com/users/flagrow/gists{/gist_id}","starred_url":"https://api.github.com/users/flagrow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flagrow/subscriptions","organizations_url":"https://api.github.com/users/flagrow/orgs","repos_url":"https://api.github.com/users/flagrow/repos","events_url":"https://api.github.com/users/flagrow/events{/privacy}","received_events_url":"https://api.github.com/users/flagrow/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/flagrow/bazaar","description":"The extension marketplace for your Flarum forum.","fork":false,"url":"https://api.github.com/repos/flagrow/bazaar","forks_url":"https://api.github.com/repos/flagrow/bazaar/forks","keys_url":"https://api.github.com/repos/flagrow/bazaar/keys{/key_id}","collaborators_url":"https://api.github.com/repos/flagrow/bazaar/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/flagrow/bazaar/teams","hooks_url":"https://api.github.com/repos/flagrow/bazaar/hooks","issue_events_url":"https://api.github.com/repos/flagrow/bazaar/issues/events{/number}","events_url":"https://api.github.com/repos/flagrow/bazaar/events","assignees_url":"https://api.github.com/repos/flagrow/bazaar/assignees{/user}","branches_url":"https://api.github.com/repos/flagrow/bazaar/branches{/branch}","tags_url":"https://api.github.com/repos/flagrow/bazaar/tags","blobs_url":"https://api.github.com/repos/flagrow/bazaar/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/flagrow/bazaar/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/flagrow/bazaar/git/refs{/sha}","trees_url":"https://api.github.com/repos/flagrow/bazaar/git/trees{/sha}","statuses_url":"https://api.github.com/repos/flagrow/bazaar/statuses/{sha}","languages_url":"https://api.github.com/repos/flagrow/bazaar/languages","stargazers_url":"https://api.github.com/repos/flagrow/bazaar/stargazers","contributors_url":"https://api.github.com/repos/flagrow/bazaar/contributors","subscribers_url":"https://api.github.com/repos/flagrow/bazaar/subscribers","subscription_url":"https://api.github.com/repos/flagrow/bazaar/subscription","commits_url":"https://api.github.com/repos/flagrow/bazaar/commits{/sha}","git_commits_url":"https://api.github.com/repos/flagrow/bazaar/git/commits{/sha}","comments_url":"https://api.github.com/repos/flagrow/bazaar/comments{/number}","issue_comment_url":"https://api.github.com/repos/flagrow/bazaar/issues/comments{/number}","contents_url":"https://api.github.com/repos/flagrow/bazaar/contents/{+path}","compare_url":"https://api.github.com/repos/flagrow/bazaar/compare/{base}...{head}","merges_url":"https://api.github.com/repos/flagrow/bazaar/merges","archive_url":"https://api.github.com/repos/flagrow/bazaar/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/flagrow/bazaar/downloads","issues_url":"https://api.github.com/repos/flagrow/bazaar/issues{/number}","pulls_url":"https://api.github.com/repos/flagrow/bazaar/pulls{/number}","milestones_url":"https://api.github.com/repos/flagrow/bazaar/milestones{/number}","notifications_url":"https://api.github.com/repos/flagrow/bazaar/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/flagrow/bazaar/labels{/name}","releases_url":"https://api.github.com/repos/flagrow/bazaar/releases{/id}","deployments_url":"https://api.github.com/repos/flagrow/bazaar/deployments","created_at":"2017-02-14T19:54:17Z","updated_at":"2017-05-08T13:02:17Z","pushed_at":"2017-05-08T21:13:49Z","git_url":"git://github.com/flagrow/bazaar.git","ssh_url":"git@github.com:flagrow/bazaar.git","clone_url":"https://github.com/flagrow/bazaar.git","svn_url":"https://github.com/flagrow/bazaar","homepage":"","size":247,"stargazers_count":10,"watchers_count":10,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"open_issues_count":20,"forks":7,"open_issues":20,"watchers":10,"default_branch":"master"}},"base":{"label":"flagrow:master","ref":"master","sha":"6993985b76e9a002a785d68349cb65b5e1dc8827","user":{"login":"flagrow","id":16413865,"avatar_url":"https://avatars3.githubusercontent.com/u/16413865?v=3","gravatar_id":"","url":"https://api.github.com/users/flagrow","html_url":"https://github.com/flagrow","followers_url":"https://api.github.com/users/flagrow/followers","following_url":"https://api.github.com/users/flagrow/following{/other_user}","gists_url":"https://api.github.com/users/flagrow/gists{/gist_id}","starred_url":"https://api.github.com/users/flagrow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flagrow/subscriptions","organizations_url":"https://api.github.com/users/flagrow/orgs","repos_url":"https://api.github.com/users/flagrow/repos","events_url":"https://api.github.com/users/flagrow/events{/privacy}","received_events_url":"https://api.github.com/users/flagrow/received_events","type":"Organization","site_admin":false},"repo":{"id":81983178,"name":"bazaar","full_name":"flagrow/bazaar","owner":{"login":"flagrow","id":16413865,"avatar_url":"https://avatars3.githubusercontent.com/u/16413865?v=3","gravatar_id":"","url":"https://api.github.com/users/flagrow","html_url":"https://github.com/flagrow","followers_url":"https://api.github.com/users/flagrow/followers","following_url":"https://api.github.com/users/flagrow/following{/other_user}","gists_url":"https://api.github.com/users/flagrow/gists{/gist_id}","starred_url":"https://api.github.com/users/flagrow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flagrow/subscriptions","organizations_url":"https://api.github.com/users/flagrow/orgs","repos_url":"https://api.github.com/users/flagrow/repos","events_url":"https://api.github.com/users/flagrow/events{/privacy}","received_events_url":"https://api.github.com/users/flagrow/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/flagrow/bazaar","description":"The extension marketplace for your Flarum forum.","fork":false,"url":"https://api.github.com/repos/flagrow/bazaar","forks_url":"https://api.github.com/repos/flagrow/bazaar/forks","keys_url":"https://api.github.com/repos/flagrow/bazaar/keys{/key_id}","collaborators_url":"https://api.github.com/repos/flagrow/bazaar/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/flagrow/bazaar/teams","hooks_url":"https://api.github.com/repos/flagrow/bazaar/hooks","issue_events_url":"https://api.github.com/repos/flagrow/bazaar/issues/events{/number}","events_url":"https://api.github.com/repos/flagrow/bazaar/events","assignees_url":"https://api.github.com/repos/flagrow/bazaar/assignees{/user}","branches_url":"https://api.github.com/repos/flagrow/bazaar/branches{/branch}","tags_url":"https://api.github.com/repos/flagrow/bazaar/tags","blobs_url":"https://api.github.com/repos/flagrow/bazaar/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/flagrow/bazaar/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/flagrow/bazaar/git/refs{/sha}","trees_url":"https://api.github.com/repos/flagrow/bazaar/git/trees{/sha}","statuses_url":"https://api.github.com/repos/flagrow/bazaar/statuses/{sha}","languages_url":"https://api.github.com/repos/flagrow/bazaar/languages","stargazers_url":"https://api.github.com/repos/flagrow/bazaar/stargazers","contributors_url":"https://api.github.com/repos/flagrow/bazaar/contributors","subscribers_url":"https://api.github.com/repos/flagrow/bazaar/subscribers","subscription_url":"https://api.github.com/repos/flagrow/bazaar/subscription","commits_url":"https://api.github.com/repos/flagrow/bazaar/commits{/sha}","git_commits_url":"https://api.github.com/repos/flagrow/bazaar/git/commits{/sha}","comments_url":"https://api.github.com/repos/flagrow/bazaar/comments{/number}","issue_comment_url":"https://api.github.com/repos/flagrow/bazaar/issues/comments{/number}","contents_url":"https://api.github.com/repos/flagrow/bazaar/contents/{+path}","compare_url":"https://api.github.com/repos/flagrow/bazaar/compare/{base}...{head}","merges_url":"https://api.github.com/repos/flagrow/bazaar/merges","archive_url":"https://api.github.com/repos/flagrow/bazaar/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/flagrow/bazaar/downloads","issues_url":"https://api.github.com/repos/flagrow/bazaar/issues{/number}","pulls_url":"https://api.github.com/repos/flagrow/bazaar/pulls{/number}","milestones_url":"https://api.github.com/repos/flagrow/bazaar/milestones{/number}","notifications_url":"https://api.github.com/repos/flagrow/bazaar/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/flagrow/bazaar/labels{/name}","releases_url":"https://api.github.com/repos/flagrow/bazaar/releases{/id}","deployments_url":"https://api.github.com/repos/flagrow/bazaar/deployments","created_at":"2017-02-14T19:54:17Z","updated_at":"2017-05-08T13:02:17Z","pushed_at":"2017-05-08T21:13:49Z","git_url":"git://github.com/flagrow/bazaar.git","ssh_url":"git@github.com:flagrow/bazaar.git","clone_url":"https://github.com/flagrow/bazaar.git","svn_url":"https://github.com/flagrow/bazaar","homepage":"","size":247,"stargazers_count":10,"watchers_count":10,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"open_issues_count":20,"forks":7,"open_issues":20,"watchers":10,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/flagrow/bazaar/pulls/57"},"html":{"href":"https://github.com/flagrow/bazaar/pull/57"},"issue":{"href":"https://api.github.com/repos/flagrow/bazaar/issues/57"},"comments":{"href":"https://api.github.com/repos/flagrow/bazaar/issues/57/comments"},"review_comments":{"href":"https://api.github.com/repos/flagrow/bazaar/pulls/57/comments"},"review_comment":{"href":"https://api.github.com/repos/flagrow/bazaar/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/flagrow/bazaar/pulls/57/commits"},"statuses":{"href":"https://api.github.com/repos/flagrow/bazaar/statuses/d03f03bffd398e5e78a3975ff876eefe203bbea1"}}}}
{"actor":{"display_login":"clarkwinkelmann"}}