{"action":"created","comment":{"url":"https://api.github.com/repos/biosistemika/scinote-web/pulls/comments/134488320","pull_request_review_id":57781951,"id":134488320,"diff_hunk":"@@ -1,8 +1,70 @@\n @import 'constants';\n+@import '~react-bootstrap-table/dist/react-bootstrap-table.min';\n \n body {\n   background-color: $color-concrete;\n   color: $color-emperor;\n   font-family: \"Open Sans\",Arial,Helvetica,sans-serif;\n   font-size: 13px;\n }\n+\n+.react-bs-table {","path":"app/javascript/packs/styles/main.scss","position":11,"original_position":11,"commit_id":"b70b6091095d67560ea2ea423c4737da900147e4","original_commit_id":"b70b6091095d67560ea2ea423c4737da900147e4","user":{"login":"ZmagoD","id":7046787,"avatar_url":"https://avatars0.githubusercontent.com/u/7046787?v=4","gravatar_id":"","url":"https://api.github.com/users/ZmagoD","html_url":"https://github.com/ZmagoD","followers_url":"https://api.github.com/users/ZmagoD/followers","following_url":"https://api.github.com/users/ZmagoD/following{/other_user}","gists_url":"https://api.github.com/users/ZmagoD/gists{/gist_id}","starred_url":"https://api.github.com/users/ZmagoD/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ZmagoD/subscriptions","organizations_url":"https://api.github.com/users/ZmagoD/orgs","repos_url":"https://api.github.com/users/ZmagoD/repos","events_url":"https://api.github.com/users/ZmagoD/events{/privacy}","received_events_url":"https://api.github.com/users/ZmagoD/received_events","type":"User","site_admin":false},"body":"for styling please use styled-components library in here we will put global styles like default font sizes and bootstrap overrides\r\nhttps://www.styled-components.com/","created_at":"2017-08-22T14:00:06Z","updated_at":"2017-08-22T14:17:28Z","html_url":"https://github.com/biosistemika/scinote-web/pull/773#discussion_r134488320","pull_request_url":"https://api.github.com/repos/biosistemika/scinote-web/pulls/773","_links":{"self":{"href":"https://api.github.com/repos/biosistemika/scinote-web/pulls/comments/134488320"},"html":{"href":"https://github.com/biosistemika/scinote-web/pull/773#discussion_r134488320"},"pull_request":{"href":"https://api.github.com/repos/biosistemika/scinote-web/pulls/773"}}},"pull_request":{"url":"https://api.github.com/repos/biosistemika/scinote-web/pulls/773","id":136763903,"html_url":"https://github.com/biosistemika/scinote-web/pull/773","diff_url":"https://github.com/biosistemika/scinote-web/pull/773.diff","patch_url":"https://github.com/biosistemika/scinote-web/pull/773.patch","issue_url":"https://api.github.com/repos/biosistemika/scinote-web/issues/773","number":773,"state":"open","locked":false,"title":"Add basic datatables & datagrid [SCI-1496]","user":{"login":"Ducz0r","id":6177722,"avatar_url":"https://avatars3.githubusercontent.com/u/6177722?v=4","gravatar_id":"","url":"https://api.github.com/users/Ducz0r","html_url":"https://github.com/Ducz0r","followers_url":"https://api.github.com/users/Ducz0r/followers","following_url":"https://api.github.com/users/Ducz0r/following{/other_user}","gists_url":"https://api.github.com/users/Ducz0r/gists{/gist_id}","starred_url":"https://api.github.com/users/Ducz0r/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ducz0r/subscriptions","organizations_url":"https://api.github.com/users/Ducz0r/orgs","repos_url":"https://api.github.com/users/Ducz0r/repos","events_url":"https://api.github.com/users/Ducz0r/events{/privacy}","received_events_url":"https://api.github.com/users/Ducz0r/received_events","type":"User","site_admin":false},"body":"This PR includes the basic functionality of 2 data table libraries we decided to go with for sciNote:\r\n* [react-bootstrap-table](https://github.com/AllenFang/react-bootstrap-table) - refactored into `<DataTable />`,\r\n* [react-data-grid](https://github.com/adazzle/react-data-grid) - refactored into `<DataGrid />`.\r\n\r\nThe new, composed components can basically take the corresponding original component parameters, as well as some of our own. A simple use case would be the following:\r\n```js\r\nimport DataTable from \"../../shared/data_table/DataTable\";\r\nimport DataGrid from \"../../shared/data_grid/DataGrid\";\r\n\r\nconst data = [\r\n  {\r\n    id: 1,\r\n    team: 'Team 1',\r\n    role: 'Member',\r\n    members: 5\r\n  },\r\n  {\r\n    id: 2,\r\n    team: 'Team 2',\r\n    role: 'Administrator',\r\n    members: 12\r\n  },\r\n  {\r\n    id: 3,\r\n    team: 'Team 3',\r\n    role: 'Administrator',\r\n    members: 13\r\n  },\r\n  {\r\n    id: 4,\r\n    team: 'Team 4',\r\n    role: 'Member',\r\n    members: 2\r\n  },\r\n  {\r\n    id: 5,\r\n    team: 'Team 5',\r\n    role: 'Member',\r\n    members: 1\r\n  }\r\n];\r\nconst columns = [\r\n    {\r\n    id: 1,\r\n    isKey: true,\r\n    textId: 'id',\r\n    name: 'ID',\r\n    position: 0,\r\n    visible: false,\r\n    sortable: true,\r\n    locked: false\r\n  },\r\n  {\r\n    id: 2,\r\n    isKey: false,\r\n    textId: 'team',\r\n    name: 'Team',\r\n    position: 1,\r\n    visible: true,\r\n    sortable: true,\r\n    locked: false\r\n  },\r\n  {\r\n    id: 3,\r\n    isKey: false,\r\n    textId: 'role',\r\n    name: 'Role',\r\n    position: 2,\r\n    visible: true,\r\n    sortable: true,\r\n    locked: false\r\n  },\r\n  {\r\n    id: 4,\r\n    isKey: false,\r\n    textId: 'members',\r\n    name: 'Members',\r\n    position: 3,\r\n    visible: true,\r\n    sortable: true,\r\n    locked: false\r\n  }\r\n];\r\n\r\n...\r\n\r\n<DataTable data={data} columns={columns} />\r\n<DataGrid data={data} columns={columns} />\r\n```\r\n\r\nCloses [SCI-1496](https://biosistemika.atlassian.net/browse/SCI-1496).","created_at":"2017-08-21T13:51:24Z","updated_at":"2017-08-22T14:17:28Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b8ce89ccba6bd8c0b4624280d61204514ef30811","assignee":{"login":"ZmagoD","id":7046787,"avatar_url":"https://avatars0.githubusercontent.com/u/7046787?v=4","gravatar_id":"","url":"https://api.github.com/users/ZmagoD","html_url":"https://github.com/ZmagoD","followers_url":"https://api.github.com/users/ZmagoD/followers","following_url":"https://api.github.com/users/ZmagoD/following{/other_user}","gists_url":"https://api.github.com/users/ZmagoD/gists{/gist_id}","starred_url":"https://api.github.com/users/ZmagoD/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ZmagoD/subscriptions","organizations_url":"https://api.github.com/users/ZmagoD/orgs","repos_url":"https://api.github.com/users/ZmagoD/repos","events_url":"https://api.github.com/users/ZmagoD/events{/privacy}","received_events_url":"https://api.github.com/users/ZmagoD/received_events","type":"User","site_admin":false},"assignees":[{"login":"ZmagoD","id":7046787,"avatar_url":"https://avatars0.githubusercontent.com/u/7046787?v=4","gravatar_id":"","url":"https://api.github.com/users/ZmagoD","html_url":"https://github.com/ZmagoD","followers_url":"https://api.github.com/users/ZmagoD/followers","following_url":"https://api.github.com/users/ZmagoD/following{/other_user}","gists_url":"https://api.github.com/users/ZmagoD/gists{/gist_id}","starred_url":"https://api.github.com/users/ZmagoD/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ZmagoD/subscriptions","organizations_url":"https://api.github.com/users/ZmagoD/orgs","repos_url":"https://api.github.com/users/ZmagoD/repos","events_url":"https://api.github.com/users/ZmagoD/events{/privacy}","received_events_url":"https://api.github.com/users/ZmagoD/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/biosistemika/scinote-web/pulls/773/commits","review_comments_url":"https://api.github.com/repos/biosistemika/scinote-web/pulls/773/comments","review_comment_url":"https://api.github.com/repos/biosistemika/scinote-web/pulls/comments{/number}","comments_url":"https://api.github.com/repos/biosistemika/scinote-web/issues/773/comments","statuses_url":"https://api.github.com/repos/biosistemika/scinote-web/statuses/b70b6091095d67560ea2ea423c4737da900147e4","head":{"label":"Ducz0r:lm-sci-1496","ref":"lm-sci-1496","sha":"b70b6091095d67560ea2ea423c4737da900147e4","user":{"login":"Ducz0r","id":6177722,"avatar_url":"https://avatars3.githubusercontent.com/u/6177722?v=4","gravatar_id":"","url":"https://api.github.com/users/Ducz0r","html_url":"https://github.com/Ducz0r","followers_url":"https://api.github.com/users/Ducz0r/followers","following_url":"https://api.github.com/users/Ducz0r/following{/other_user}","gists_url":"https://api.github.com/users/Ducz0r/gists{/gist_id}","starred_url":"https://api.github.com/users/Ducz0r/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ducz0r/subscriptions","organizations_url":"https://api.github.com/users/Ducz0r/orgs","repos_url":"https://api.github.com/users/Ducz0r/repos","events_url":"https://api.github.com/users/Ducz0r/events{/privacy}","received_events_url":"https://api.github.com/users/Ducz0r/received_events","type":"User","site_admin":false},"repo":{"id":65976218,"name":"scinote-web","full_name":"Ducz0r/scinote-web","owner":{"login":"Ducz0r","id":6177722,"avatar_url":"https://avatars3.githubusercontent.com/u/6177722?v=4","gravatar_id":"","url":"https://api.github.com/users/Ducz0r","html_url":"https://github.com/Ducz0r","followers_url":"https://api.github.com/users/Ducz0r/followers","following_url":"https://api.github.com/users/Ducz0r/following{/other_user}","gists_url":"https://api.github.com/users/Ducz0r/gists{/gist_id}","starred_url":"https://api.github.com/users/Ducz0r/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ducz0r/subscriptions","organizations_url":"https://api.github.com/users/Ducz0r/orgs","repos_url":"https://api.github.com/users/Ducz0r/repos","events_url":"https://api.github.com/users/Ducz0r/events{/privacy}","received_events_url":"https://api.github.com/users/Ducz0r/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Ducz0r/scinote-web","description":"Open source electronic scientific notebook (ELN) that helps you manage your laboratory work and stores all your experimental data in one place.","fork":true,"url":"https://api.github.com/repos/Ducz0r/scinote-web","forks_url":"https://api.github.com/repos/Ducz0r/scinote-web/forks","keys_url":"https://api.github.com/repos/Ducz0r/scinote-web/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Ducz0r/scinote-web/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Ducz0r/scinote-web/teams","hooks_url":"https://api.github.com/repos/Ducz0r/scinote-web/hooks","issue_events_url":"https://api.github.com/repos/Ducz0r/scinote-web/issues/events{/number}","events_url":"https://api.github.com/repos/Ducz0r/scinote-web/events","assignees_url":"https://api.github.com/repos/Ducz0r/scinote-web/assignees{/user}","branches_url":"https://api.github.com/repos/Ducz0r/scinote-web/branches{/branch}","tags_url":"https://api.github.com/repos/Ducz0r/scinote-web/tags","blobs_url":"https://api.github.com/repos/Ducz0r/scinote-web/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Ducz0r/scinote-web/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Ducz0r/scinote-web/git/refs{/sha}","trees_url":"https://api.github.com/repos/Ducz0r/scinote-web/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Ducz0r/scinote-web/statuses/{sha}","languages_url":"https://api.github.com/repos/Ducz0r/scinote-web/languages","stargazers_url":"https://api.github.com/repos/Ducz0r/scinote-web/stargazers","contributors_url":"https://api.github.com/repos/Ducz0r/scinote-web/contributors","subscribers_url":"https://api.github.com/repos/Ducz0r/scinote-web/subscribers","subscription_url":"https://api.github.com/repos/Ducz0r/scinote-web/subscription","commits_url":"https://api.github.com/repos/Ducz0r/scinote-web/commits{/sha}","git_commits_url":"https://api.github.com/repos/Ducz0r/scinote-web/git/commits{/sha}","comments_url":"https://api.github.com/repos/Ducz0r/scinote-web/comments{/number}","issue_comment_url":"https://api.github.com/repos/Ducz0r/scinote-web/issues/comments{/number}","contents_url":"https://api.github.com/repos/Ducz0r/scinote-web/contents/{+path}","compare_url":"https://api.github.com/repos/Ducz0r/scinote-web/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Ducz0r/scinote-web/merges","archive_url":"https://api.github.com/repos/Ducz0r/scinote-web/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Ducz0r/scinote-web/downloads","issues_url":"https://api.github.com/repos/Ducz0r/scinote-web/issues{/number}","pulls_url":"https://api.github.com/repos/Ducz0r/scinote-web/pulls{/number}","milestones_url":"https://api.github.com/repos/Ducz0r/scinote-web/milestones{/number}","notifications_url":"https://api.github.com/repos/Ducz0r/scinote-web/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Ducz0r/scinote-web/labels{/name}","releases_url":"https://api.github.com/repos/Ducz0r/scinote-web/releases{/id}","deployments_url":"https://api.github.com/repos/Ducz0r/scinote-web/deployments","created_at":"2016-08-18T07:41:15Z","updated_at":"2016-08-18T07:41:17Z","pushed_at":"2017-08-22T12:04:54Z","git_url":"git://github.com/Ducz0r/scinote-web.git","ssh_url":"git@github.com:Ducz0r/scinote-web.git","clone_url":"https://github.com/Ducz0r/scinote-web.git","svn_url":"https://github.com/Ducz0r/scinote-web","homepage":"http://www.scinote.net","size":10582,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"biosistemika:decoupling-settings-page","ref":"decoupling-settings-page","sha":"c52521b96f80fdc54b7d0ffe2861d69ba039811c","user":{"login":"biosistemika","id":15630206,"avatar_url":"https://avatars2.githubusercontent.com/u/15630206?v=4","gravatar_id":"","url":"https://api.github.com/users/biosistemika","html_url":"https://github.com/biosistemika","followers_url":"https://api.github.com/users/biosistemika/followers","following_url":"https://api.github.com/users/biosistemika/following{/other_user}","gists_url":"https://api.github.com/users/biosistemika/gists{/gist_id}","starred_url":"https://api.github.com/users/biosistemika/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/biosistemika/subscriptions","organizations_url":"https://api.github.com/users/biosistemika/orgs","repos_url":"https://api.github.com/users/biosistemika/repos","events_url":"https://api.github.com/users/biosistemika/events{/privacy}","received_events_url":"https://api.github.com/users/biosistemika/received_events","type":"Organization","site_admin":false},"repo":{"id":51598133,"name":"scinote-web","full_name":"biosistemika/scinote-web","owner":{"login":"biosistemika","id":15630206,"avatar_url":"https://avatars2.githubusercontent.com/u/15630206?v=4","gravatar_id":"","url":"https://api.github.com/users/biosistemika","html_url":"https://github.com/biosistemika","followers_url":"https://api.github.com/users/biosistemika/followers","following_url":"https://api.github.com/users/biosistemika/following{/other_user}","gists_url":"https://api.github.com/users/biosistemika/gists{/gist_id}","starred_url":"https://api.github.com/users/biosistemika/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/biosistemika/subscriptions","organizations_url":"https://api.github.com/users/biosistemika/orgs","repos_url":"https://api.github.com/users/biosistemika/repos","events_url":"https://api.github.com/users/biosistemika/events{/privacy}","received_events_url":"https://api.github.com/users/biosistemika/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/biosistemika/scinote-web","description":"Open source electronic lab notebook (ELN) that helps you manage your laboratory work and stores all your experimental data in one place.","fork":false,"url":"https://api.github.com/repos/biosistemika/scinote-web","forks_url":"https://api.github.com/repos/biosistemika/scinote-web/forks","keys_url":"https://api.github.com/repos/biosistemika/scinote-web/keys{/key_id}","collaborators_url":"https://api.github.com/repos/biosistemika/scinote-web/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/biosistemika/scinote-web/teams","hooks_url":"https://api.github.com/repos/biosistemika/scinote-web/hooks","issue_events_url":"https://api.github.com/repos/biosistemika/scinote-web/issues/events{/number}","events_url":"https://api.github.com/repos/biosistemika/scinote-web/events","assignees_url":"https://api.github.com/repos/biosistemika/scinote-web/assignees{/user}","branches_url":"https://api.github.com/repos/biosistemika/scinote-web/branches{/branch}","tags_url":"https://api.github.com/repos/biosistemika/scinote-web/tags","blobs_url":"https://api.github.com/repos/biosistemika/scinote-web/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/biosistemika/scinote-web/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/biosistemika/scinote-web/git/refs{/sha}","trees_url":"https://api.github.com/repos/biosistemika/scinote-web/git/trees{/sha}","statuses_url":"https://api.github.com/repos/biosistemika/scinote-web/statuses/{sha}","languages_url":"https://api.github.com/repos/biosistemika/scinote-web/languages","stargazers_url":"https://api.github.com/repos/biosistemika/scinote-web/stargazers","contributors_url":"https://api.github.com/repos/biosistemika/scinote-web/contributors","subscribers_url":"https://api.github.com/repos/biosistemika/scinote-web/subscribers","subscription_url":"https://api.github.com/repos/biosistemika/scinote-web/subscription","commits_url":"https://api.github.com/repos/biosistemika/scinote-web/commits{/sha}","git_commits_url":"https://api.github.com/repos/biosistemika/scinote-web/git/commits{/sha}","comments_url":"https://api.github.com/repos/biosistemika/scinote-web/comments{/number}","issue_comment_url":"https://api.github.com/repos/biosistemika/scinote-web/issues/comments{/number}","contents_url":"https://api.github.com/repos/biosistemika/scinote-web/contents/{+path}","compare_url":"https://api.github.com/repos/biosistemika/scinote-web/compare/{base}...{head}","merges_url":"https://api.github.com/repos/biosistemika/scinote-web/merges","archive_url":"https://api.github.com/repos/biosistemika/scinote-web/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/biosistemika/scinote-web/downloads","issues_url":"https://api.github.com/repos/biosistemika/scinote-web/issues{/number}","pulls_url":"https://api.github.com/repos/biosistemika/scinote-web/pulls{/number}","milestones_url":"https://api.github.com/repos/biosistemika/scinote-web/milestones{/number}","notifications_url":"https://api.github.com/repos/biosistemika/scinote-web/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/biosistemika/scinote-web/labels{/name}","releases_url":"https://api.github.com/repos/biosistemika/scinote-web/releases{/id}","deployments_url":"https://api.github.com/repos/biosistemika/scinote-web/deployments","created_at":"2016-02-12T15:47:19Z","updated_at":"2017-08-15T06:23:36Z","pushed_at":"2017-08-22T14:01:35Z","git_url":"git://github.com/biosistemika/scinote-web.git","ssh_url":"git@github.com:biosistemika/scinote-web.git","clone_url":"https://github.com/biosistemika/scinote-web.git","svn_url":"https://github.com/biosistemika/scinote-web","homepage":"https://www.scinote.net","size":10574,"stargazers_count":99,"watchers_count":99,"language":"Ruby","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":29,"mirror_url":null,"open_issues_count":14,"forks":29,"open_issues":14,"watchers":99,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/biosistemika/scinote-web/pulls/773"},"html":{"href":"https://github.com/biosistemika/scinote-web/pull/773"},"issue":{"href":"https://api.github.com/repos/biosistemika/scinote-web/issues/773"},"comments":{"href":"https://api.github.com/repos/biosistemika/scinote-web/issues/773/comments"},"review_comments":{"href":"https://api.github.com/repos/biosistemika/scinote-web/pulls/773/comments"},"review_comment":{"href":"https://api.github.com/repos/biosistemika/scinote-web/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/biosistemika/scinote-web/pulls/773/commits"},"statuses":{"href":"https://api.github.com/repos/biosistemika/scinote-web/statuses/b70b6091095d67560ea2ea423c4737da900147e4"}}}}
{"actor":{"display_login":"ZmagoD"}}