{"action":"created","comment":{"url":"https://api.github.com/repos/olarewajuakeemope/document-manager/pulls/comments/142996065","pull_request_review_id":67443166,"id":142996065,"diff_hunk":"@@ -177,91 +178,98 @@ export class RoleTable extends Component {\n     const processedData = processTableData(page);\n \n     return (\n-      <Table className=\"table\" displaySelectAll={false}>\n-        <TableHeader adjustForCheckbox>\n-          <TableRow>\n-            { tableHeaders && tableHeaders.map((header, index) => (\n-              <TableHeaderColumn key={index}>\n-                <div className=\"rowAlign\">\n-                  { header.alias }\n-                  { header.sortable &&\n-                    <SortIcon\n-                      id={header.dataAlias}\n-                      className=\"sortIcon\"\n-                      onMouseUp={this.sortByColumn}\n-                    />\n-                  }\n-                </div>\n-              </TableHeaderColumn>\n-            )) }\n-          </TableRow>\n-        </TableHeader>\n-        <TableBody\n-          stripedRows\n-        >\n-          {processedData.map((row, index) => (\n-            <TableRow key={`${index} ${row.id}`}>\n-              <TableRowColumn key={`${row.id} ${row.id}`}>\n-                {row.id}\n-              </TableRowColumn>\n-              <TableRowColumn key={`${row.id} ${row.title}`}>\n-                {row.title}\n-              </TableRowColumn>\n-              <TableRowColumn key={`${row.id} ${row.access}`}>\n-                {row.access}\n-              </TableRowColumn>\n-              <TableRowColumn key={`${row.id} ${row.ownerRoleId}`}>\n-                <FlatButton\n-                  key={`${index}flat${row.id}`}\n-                  label=\"Delete\"\n-                  secondary\n-                  onTouchTap={\n-                    () => {\n-                      RoleTable.handleDelete(\n-                        row.id,\n-                        this.props.actions.deleteRole\n-                      );\n+      <Card\n+        style={{ margin: '10px 50px' }}\n+      >\n+        <CardHeader\n+          title=\"Roles\"\n+          titleStyle={{ fontSize: '2em', color: 'white' }}\n+          style={{ backgroundColor: 'rgb(0, 188, 212)', overflow: 'auto' }}\n+        />\n+        <Table className=\"table\" displaySelectAll={false}>\n+          <TableHeader adjustForCheckbox>\n+            <TableRow>\n+              { tableHeaders && tableHeaders.map((header, index) => (\n+                <TableHeaderColumn key={index}>\n+                  <div className=\"rowAlign\">\n+                    { header.alias }\n+                    { header.sortable &&\n+                      <SortIcon\n+                        id={header.dataAlias}\n+                        className=\"sortIcon\"\n+                        onMouseUp={this.sortByColumn}\n+                      />\n                     }\n-                  }\n-                /></TableRowColumn>\n-              <TableRowColumn key={`${row.id} ${row.ownerRoleId}`}>\n-                <FlatButton\n-                  key={`${index}flat${row.id}`}\n-                  label=\"Edit\"\n-                  secondary\n-                  onTouchTap={\n-                    () => {\n-                      this.handleEdit(row.id);\n+                  </div>\n+                </TableHeaderColumn>\n+              )) }\n+            </TableRow>\n+          </TableHeader>\n+          <TableBody>\n+            {processedData.map((row, index) => (\n+              <TableRow key={`${index} ${row.id}`}>\n+                <TableRowColumn key={`${row.id} ${row.id}`}>\n+                  {row.id}\n+                </TableRowColumn>\n+                <TableRowColumn key={`${row.id} ${row.title}`}>\n+                  {row.title}\n+                </TableRowColumn>\n+                <TableRowColumn key={`${row.id} ${row.access}`}>\n+                  {row.access}\n+                </TableRowColumn>\n+                <TableRowColumn key={`${row.id} ${row.ownerRoleId}`}>\n+                  <FlatButton\n+                    key={`${index}flat${row.id}`}","path":"client/src/components/admin/RoleManager/RoleTable.jsx","position":107,"original_position":107,"commit_id":"66b7a33c26fff6a57c3466b750755701798f7f7f","original_commit_id":"66b7a33c26fff6a57c3466b750755701798f7f7f","user":{"login":"houndci-bot","id":6697940,"avatar_url":"https://avatars0.githubusercontent.com/u/6697940?v=4","gravatar_id":"","url":"https://api.github.com/users/houndci-bot","html_url":"https://github.com/houndci-bot","followers_url":"https://api.github.com/users/houndci-bot/followers","following_url":"https://api.github.com/users/houndci-bot/following{/other_user}","gists_url":"https://api.github.com/users/houndci-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci-bot/subscriptions","organizations_url":"https://api.github.com/users/houndci-bot/orgs","repos_url":"https://api.github.com/users/houndci-bot/repos","events_url":"https://api.github.com/users/houndci-bot/events{/privacy}","received_events_url":"https://api.github.com/users/houndci-bot/received_events","type":"User","site_admin":false},"body":"Do not use Array index in keys                                               react/no-array-index-key","created_at":"2017-10-05T16:57:09Z","updated_at":"2017-10-05T16:57:10Z","html_url":"https://github.com/olarewajuakeemope/document-manager/pull/16#discussion_r142996065","pull_request_url":"https://api.github.com/repos/olarewajuakeemope/document-manager/pulls/16","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/olarewajuakeemope/document-manager/pulls/comments/142996065"},"html":{"href":"https://github.com/olarewajuakeemope/document-manager/pull/16#discussion_r142996065"},"pull_request":{"href":"https://api.github.com/repos/olarewajuakeemope/document-manager/pulls/16"}}},"pull_request":{"url":"https://api.github.com/repos/olarewajuakeemope/document-manager/pulls/16","id":144969391,"html_url":"https://github.com/olarewajuakeemope/document-manager/pull/16","diff_url":"https://github.com/olarewajuakeemope/document-manager/pull/16.diff","patch_url":"https://github.com/olarewajuakeemope/document-manager/pull/16.patch","issue_url":"https://api.github.com/repos/olarewajuakeemope/document-manager/issues/16","number":16,"state":"open","locked":false,"title":"Chore/material ui styling","user":{"login":"olarewajuakeemope","id":10363443,"avatar_url":"https://avatars0.githubusercontent.com/u/10363443?v=4","gravatar_id":"","url":"https://api.github.com/users/olarewajuakeemope","html_url":"https://github.com/olarewajuakeemope","followers_url":"https://api.github.com/users/olarewajuakeemope/followers","following_url":"https://api.github.com/users/olarewajuakeemope/following{/other_user}","gists_url":"https://api.github.com/users/olarewajuakeemope/gists{/gist_id}","starred_url":"https://api.github.com/users/olarewajuakeemope/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/olarewajuakeemope/subscriptions","organizations_url":"https://api.github.com/users/olarewajuakeemope/orgs","repos_url":"https://api.github.com/users/olarewajuakeemope/repos","events_url":"https://api.github.com/users/olarewajuakeemope/events{/privacy}","received_events_url":"https://api.github.com/users/olarewajuakeemope/received_events","type":"User","site_admin":false},"body":"**What does this PR do?**\r\n\r\n- add material-ui styling to the application\r\n\r\n**Description of Task to be completed?**\r\n\r\n- N/A\r\n\r\n**How should this be manually tested?**\r\n\r\n- install the application locally and run: `npm run start:server`\r\n\r\n- navigate to `http://localhost:8080`\r\n\r\n**Any background context you want to provide?**\r\n\r\n- Please install postgres locally on your device and ensure the server is on\r\n\r\n- Please run migration and setup postgres for the application to run\r\n\r\n- run `npm run migrations` and `npm run seeds` consecutively to setup postgres database","created_at":"2017-10-05T16:56:47Z","updated_at":"2017-10-05T16:57:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2739ba9c215c52b120fc11629c10db79b8b4984d","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/olarewajuakeemope/document-manager/pulls/16/commits","review_comments_url":"https://api.github.com/repos/olarewajuakeemope/document-manager/pulls/16/comments","review_comment_url":"https://api.github.com/repos/olarewajuakeemope/document-manager/pulls/comments{/number}","comments_url":"https://api.github.com/repos/olarewajuakeemope/document-manager/issues/16/comments","statuses_url":"https://api.github.com/repos/olarewajuakeemope/document-manager/statuses/66b7a33c26fff6a57c3466b750755701798f7f7f","head":{"label":"olarewajuakeemope:chore/material-ui-styling","ref":"chore/material-ui-styling","sha":"66b7a33c26fff6a57c3466b750755701798f7f7f","user":{"login":"olarewajuakeemope","id":10363443,"avatar_url":"https://avatars0.githubusercontent.com/u/10363443?v=4","gravatar_id":"","url":"https://api.github.com/users/olarewajuakeemope","html_url":"https://github.com/olarewajuakeemope","followers_url":"https://api.github.com/users/olarewajuakeemope/followers","following_url":"https://api.github.com/users/olarewajuakeemope/following{/other_user}","gists_url":"https://api.github.com/users/olarewajuakeemope/gists{/gist_id}","starred_url":"https://api.github.com/users/olarewajuakeemope/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/olarewajuakeemope/subscriptions","organizations_url":"https://api.github.com/users/olarewajuakeemope/orgs","repos_url":"https://api.github.com/users/olarewajuakeemope/repos","events_url":"https://api.github.com/users/olarewajuakeemope/events{/privacy}","received_events_url":"https://api.github.com/users/olarewajuakeemope/received_events","type":"User","site_admin":false},"repo":{"id":100123824,"name":"document-manager","full_name":"olarewajuakeemope/document-manager","owner":{"login":"olarewajuakeemope","id":10363443,"avatar_url":"https://avatars0.githubusercontent.com/u/10363443?v=4","gravatar_id":"","url":"https://api.github.com/users/olarewajuakeemope","html_url":"https://github.com/olarewajuakeemope","followers_url":"https://api.github.com/users/olarewajuakeemope/followers","following_url":"https://api.github.com/users/olarewajuakeemope/following{/other_user}","gists_url":"https://api.github.com/users/olarewajuakeemope/gists{/gist_id}","starred_url":"https://api.github.com/users/olarewajuakeemope/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/olarewajuakeemope/subscriptions","organizations_url":"https://api.github.com/users/olarewajuakeemope/orgs","repos_url":"https://api.github.com/users/olarewajuakeemope/repos","events_url":"https://api.github.com/users/olarewajuakeemope/events{/privacy}","received_events_url":"https://api.github.com/users/olarewajuakeemope/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/olarewajuakeemope/document-manager","description":"A Document Management Application Using React and Redux","fork":false,"url":"https://api.github.com/repos/olarewajuakeemope/document-manager","forks_url":"https://api.github.com/repos/olarewajuakeemope/document-manager/forks","keys_url":"https://api.github.com/repos/olarewajuakeemope/document-manager/keys{/key_id}","collaborators_url":"https://api.github.com/repos/olarewajuakeemope/document-manager/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/olarewajuakeemope/document-manager/teams","hooks_url":"https://api.github.com/repos/olarewajuakeemope/document-manager/hooks","issue_events_url":"https://api.github.com/repos/olarewajuakeemope/document-manager/issues/events{/number}","events_url":"https://api.github.com/repos/olarewajuakeemope/document-manager/events","assignees_url":"https://api.github.com/repos/olarewajuakeemope/document-manager/assignees{/user}","branches_url":"https://api.github.com/repos/olarewajuakeemope/document-manager/branches{/branch}","tags_url":"https://api.github.com/repos/olarewajuakeemope/document-manager/tags","blobs_url":"https://api.github.com/repos/olarewajuakeemope/document-manager/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/olarewajuakeemope/document-manager/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/olarewajuakeemope/document-manager/git/refs{/sha}","trees_url":"https://api.github.com/repos/olarewajuakeemope/document-manager/git/trees{/sha}","statuses_url":"https://api.github.com/repos/olarewajuakeemope/document-manager/statuses/{sha}","languages_url":"https://api.github.com/repos/olarewajuakeemope/document-manager/languages","stargazers_url":"https://api.github.com/repos/olarewajuakeemope/document-manager/stargazers","contributors_url":"https://api.github.com/repos/olarewajuakeemope/document-manager/contributors","subscribers_url":"https://api.github.com/repos/olarewajuakeemope/document-manager/subscribers","subscription_url":"https://api.github.com/repos/olarewajuakeemope/document-manager/subscription","commits_url":"https://api.github.com/repos/olarewajuakeemope/document-manager/commits{/sha}","git_commits_url":"https://api.github.com/repos/olarewajuakeemope/document-manager/git/commits{/sha}","comments_url":"https://api.github.com/repos/olarewajuakeemope/document-manager/comments{/number}","issue_comment_url":"https://api.github.com/repos/olarewajuakeemope/document-manager/issues/comments{/number}","contents_url":"https://api.github.com/repos/olarewajuakeemope/document-manager/contents/{+path}","compare_url":"https://api.github.com/repos/olarewajuakeemope/document-manager/compare/{base}...{head}","merges_url":"https://api.github.com/repos/olarewajuakeemope/document-manager/merges","archive_url":"https://api.github.com/repos/olarewajuakeemope/document-manager/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/olarewajuakeemope/document-manager/downloads","issues_url":"https://api.github.com/repos/olarewajuakeemope/document-manager/issues{/number}","pulls_url":"https://api.github.com/repos/olarewajuakeemope/document-manager/pulls{/number}","milestones_url":"https://api.github.com/repos/olarewajuakeemope/document-manager/milestones{/number}","notifications_url":"https://api.github.com/repos/olarewajuakeemope/document-manager/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/olarewajuakeemope/document-manager/labels{/name}","releases_url":"https://api.github.com/repos/olarewajuakeemope/document-manager/releases{/id}","deployments_url":"https://api.github.com/repos/olarewajuakeemope/document-manager/deployments","created_at":"2017-08-12T16:18:25Z","updated_at":"2017-09-09T22:08:42Z","pushed_at":"2017-10-05T16:56:47Z","git_url":"git://github.com/olarewajuakeemope/document-manager.git","ssh_url":"git@github.com:olarewajuakeemope/document-manager.git","clone_url":"https://github.com/olarewajuakeemope/document-manager.git","svn_url":"https://github.com/olarewajuakeemope/document-manager","homepage":null,"size":19309,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"olarewajuakeemope:develop","ref":"develop","sha":"cb010e5cd18273953054fe9a3ce63f820f52ecbd","user":{"login":"olarewajuakeemope","id":10363443,"avatar_url":"https://avatars0.githubusercontent.com/u/10363443?v=4","gravatar_id":"","url":"https://api.github.com/users/olarewajuakeemope","html_url":"https://github.com/olarewajuakeemope","followers_url":"https://api.github.com/users/olarewajuakeemope/followers","following_url":"https://api.github.com/users/olarewajuakeemope/following{/other_user}","gists_url":"https://api.github.com/users/olarewajuakeemope/gists{/gist_id}","starred_url":"https://api.github.com/users/olarewajuakeemope/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/olarewajuakeemope/subscriptions","organizations_url":"https://api.github.com/users/olarewajuakeemope/orgs","repos_url":"https://api.github.com/users/olarewajuakeemope/repos","events_url":"https://api.github.com/users/olarewajuakeemope/events{/privacy}","received_events_url":"https://api.github.com/users/olarewajuakeemope/received_events","type":"User","site_admin":false},"repo":{"id":100123824,"name":"document-manager","full_name":"olarewajuakeemope/document-manager","owner":{"login":"olarewajuakeemope","id":10363443,"avatar_url":"https://avatars0.githubusercontent.com/u/10363443?v=4","gravatar_id":"","url":"https://api.github.com/users/olarewajuakeemope","html_url":"https://github.com/olarewajuakeemope","followers_url":"https://api.github.com/users/olarewajuakeemope/followers","following_url":"https://api.github.com/users/olarewajuakeemope/following{/other_user}","gists_url":"https://api.github.com/users/olarewajuakeemope/gists{/gist_id}","starred_url":"https://api.github.com/users/olarewajuakeemope/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/olarewajuakeemope/subscriptions","organizations_url":"https://api.github.com/users/olarewajuakeemope/orgs","repos_url":"https://api.github.com/users/olarewajuakeemope/repos","events_url":"https://api.github.com/users/olarewajuakeemope/events{/privacy}","received_events_url":"https://api.github.com/users/olarewajuakeemope/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/olarewajuakeemope/document-manager","description":"A Document Management Application Using React and Redux","fork":false,"url":"https://api.github.com/repos/olarewajuakeemope/document-manager","forks_url":"https://api.github.com/repos/olarewajuakeemope/document-manager/forks","keys_url":"https://api.github.com/repos/olarewajuakeemope/document-manager/keys{/key_id}","collaborators_url":"https://api.github.com/repos/olarewajuakeemope/document-manager/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/olarewajuakeemope/document-manager/teams","hooks_url":"https://api.github.com/repos/olarewajuakeemope/document-manager/hooks","issue_events_url":"https://api.github.com/repos/olarewajuakeemope/document-manager/issues/events{/number}","events_url":"https://api.github.com/repos/olarewajuakeemope/document-manager/events","assignees_url":"https://api.github.com/repos/olarewajuakeemope/document-manager/assignees{/user}","branches_url":"https://api.github.com/repos/olarewajuakeemope/document-manager/branches{/branch}","tags_url":"https://api.github.com/repos/olarewajuakeemope/document-manager/tags","blobs_url":"https://api.github.com/repos/olarewajuakeemope/document-manager/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/olarewajuakeemope/document-manager/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/olarewajuakeemope/document-manager/git/refs{/sha}","trees_url":"https://api.github.com/repos/olarewajuakeemope/document-manager/git/trees{/sha}","statuses_url":"https://api.github.com/repos/olarewajuakeemope/document-manager/statuses/{sha}","languages_url":"https://api.github.com/repos/olarewajuakeemope/document-manager/languages","stargazers_url":"https://api.github.com/repos/olarewajuakeemope/document-manager/stargazers","contributors_url":"https://api.github.com/repos/olarewajuakeemope/document-manager/contributors","subscribers_url":"https://api.github.com/repos/olarewajuakeemope/document-manager/subscribers","subscription_url":"https://api.github.com/repos/olarewajuakeemope/document-manager/subscription","commits_url":"https://api.github.com/repos/olarewajuakeemope/document-manager/commits{/sha}","git_commits_url":"https://api.github.com/repos/olarewajuakeemope/document-manager/git/commits{/sha}","comments_url":"https://api.github.com/repos/olarewajuakeemope/document-manager/comments{/number}","issue_comment_url":"https://api.github.com/repos/olarewajuakeemope/document-manager/issues/comments{/number}","contents_url":"https://api.github.com/repos/olarewajuakeemope/document-manager/contents/{+path}","compare_url":"https://api.github.com/repos/olarewajuakeemope/document-manager/compare/{base}...{head}","merges_url":"https://api.github.com/repos/olarewajuakeemope/document-manager/merges","archive_url":"https://api.github.com/repos/olarewajuakeemope/document-manager/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/olarewajuakeemope/document-manager/downloads","issues_url":"https://api.github.com/repos/olarewajuakeemope/document-manager/issues{/number}","pulls_url":"https://api.github.com/repos/olarewajuakeemope/document-manager/pulls{/number}","milestones_url":"https://api.github.com/repos/olarewajuakeemope/document-manager/milestones{/number}","notifications_url":"https://api.github.com/repos/olarewajuakeemope/document-manager/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/olarewajuakeemope/document-manager/labels{/name}","releases_url":"https://api.github.com/repos/olarewajuakeemope/document-manager/releases{/id}","deployments_url":"https://api.github.com/repos/olarewajuakeemope/document-manager/deployments","created_at":"2017-08-12T16:18:25Z","updated_at":"2017-09-09T22:08:42Z","pushed_at":"2017-10-05T16:56:47Z","git_url":"git://github.com/olarewajuakeemope/document-manager.git","ssh_url":"git@github.com:olarewajuakeemope/document-manager.git","clone_url":"https://github.com/olarewajuakeemope/document-manager.git","svn_url":"https://github.com/olarewajuakeemope/document-manager","homepage":null,"size":19309,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/olarewajuakeemope/document-manager/pulls/16"},"html":{"href":"https://github.com/olarewajuakeemope/document-manager/pull/16"},"issue":{"href":"https://api.github.com/repos/olarewajuakeemope/document-manager/issues/16"},"comments":{"href":"https://api.github.com/repos/olarewajuakeemope/document-manager/issues/16/comments"},"review_comments":{"href":"https://api.github.com/repos/olarewajuakeemope/document-manager/pulls/16/comments"},"review_comment":{"href":"https://api.github.com/repos/olarewajuakeemope/document-manager/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/olarewajuakeemope/document-manager/pulls/16/commits"},"statuses":{"href":"https://api.github.com/repos/olarewajuakeemope/document-manager/statuses/66b7a33c26fff6a57c3466b750755701798f7f7f"}},"author_association":"OWNER"}}
{"actor":{"display_login":"houndci-bot"}}