{"action":"created","comment":{"url":"https://api.github.com/repos/Kommunity-app/kommunity-frontend/pulls/comments/232470050","pull_request_review_id":173679570,"id":232470050,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzMjQ3MDA1MA==","diff_hunk":"@@ -0,0 +1,90 @@\n+import React, { Component } from 'react';\n+import PropTypes from 'prop-types';\n+import cls from 'classnames';\n+\n+const style = {\n+  caption: 'ui-input__caption text-gray leading-base',\n+  common:\n+    'ui-input inline-block border border-lgray rounded bg-white my-2 px-4 py-0 leading-2xl text-base focus:text-black focus:bg-white focus:border-blue focus:border-2 focus:outline-none disabled:bg-xlgray',","path":"src/components/ui/input.js","position":8,"original_position":8,"commit_id":"0053eda64ca0f22a9c76eb1c6386b78ed063ad6d","original_commit_id":"0053eda64ca0f22a9c76eb1c6386b78ed063ad6d","user":{"login":"trkaplan","id":992897,"node_id":"MDQ6VXNlcjk5Mjg5Nw==","avatar_url":"https://avatars0.githubusercontent.com/u/992897?v=4","gravatar_id":"","url":"https://api.github.com/users/trkaplan","html_url":"https://github.com/trkaplan","followers_url":"https://api.github.com/users/trkaplan/followers","following_url":"https://api.github.com/users/trkaplan/following{/other_user}","gists_url":"https://api.github.com/users/trkaplan/gists{/gist_id}","starred_url":"https://api.github.com/users/trkaplan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trkaplan/subscriptions","organizations_url":"https://api.github.com/users/trkaplan/orgs","repos_url":"https://api.github.com/users/trkaplan/repos","events_url":"https://api.github.com/users/trkaplan/events{/privacy}","received_events_url":"https://api.github.com/users/trkaplan/received_events","type":"User","site_admin":false},"body":"`input` and `label` can be distinguished based on the element's name while using .find method in testing. Class names only necessary for `div` elements used for Error Text and  **Caption** (I'll replace this name with **Help Text**)\r\nThat'd be better to remove prefixes from the class names, [ui-input__error-text](url) -> [error-text](url) since ther is no global styling rules based on element's class name.","created_at":"2018-11-10T23:59:59Z","updated_at":"2018-11-11T00:00:00Z","html_url":"https://github.com/Kommunity-app/kommunity-frontend/pull/81#discussion_r232470050","pull_request_url":"https://api.github.com/repos/Kommunity-app/kommunity-frontend/pulls/81","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/Kommunity-app/kommunity-frontend/pulls/comments/232470050"},"html":{"href":"https://github.com/Kommunity-app/kommunity-frontend/pull/81#discussion_r232470050"},"pull_request":{"href":"https://api.github.com/repos/Kommunity-app/kommunity-frontend/pulls/81"}},"in_reply_to_id":232448610},"pull_request":{"url":"https://api.github.com/repos/Kommunity-app/kommunity-frontend/pulls/81","id":229844167,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI5ODQ0MTY3","html_url":"https://github.com/Kommunity-app/kommunity-frontend/pull/81","diff_url":"https://github.com/Kommunity-app/kommunity-frontend/pull/81.diff","patch_url":"https://github.com/Kommunity-app/kommunity-frontend/pull/81.patch","issue_url":"https://api.github.com/repos/Kommunity-app/kommunity-frontend/issues/81","number":81,"state":"open","locked":false,"title":"Add Input UI component #65","user":{"login":"trkaplan","id":992897,"node_id":"MDQ6VXNlcjk5Mjg5Nw==","avatar_url":"https://avatars0.githubusercontent.com/u/992897?v=4","gravatar_id":"","url":"https://api.github.com/users/trkaplan","html_url":"https://github.com/trkaplan","followers_url":"https://api.github.com/users/trkaplan/followers","following_url":"https://api.github.com/users/trkaplan/following{/other_user}","gists_url":"https://api.github.com/users/trkaplan/gists{/gist_id}","starred_url":"https://api.github.com/users/trkaplan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trkaplan/subscriptions","organizations_url":"https://api.github.com/users/trkaplan/orgs","repos_url":"https://api.github.com/users/trkaplan/repos","events_url":"https://api.github.com/users/trkaplan/events{/privacy}","received_events_url":"https://api.github.com/users/trkaplan/received_events","type":"User","site_admin":false},"body":"Issue #65 \r\n- [x] Adds Input UI component + tests. \r\n- [x] Replaces input in \"Find Communities Page\". \r\n- [x] Upgrades tailwindcss to 0.7.2 (to enable addVariant method support in plugins)\r\n- [x] Adds tailwindcss plugin for adding \"Disabled\" Variant\r\n\r\nFeedback on test specs is appreciated. Need help with coverage issue related to line 40 in **input.js**","created_at":"2018-11-09T23:07:21Z","updated_at":"2018-11-11T00:00:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e4b16374d54a29cf4e0745bccdc1504db6294d9c","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":1090958377,"node_id":"MDU6TGFiZWwxMDkwOTU4Mzc3","url":"https://api.github.com/repos/Kommunity-app/kommunity-frontend/labels/frontend","name":"frontend","color":"53e2c3","default":false},{"id":1082657075,"node_id":"MDU6TGFiZWwxMDgyNjU3MDc1","url":"https://api.github.com/repos/Kommunity-app/kommunity-frontend/labels/help%20wanted","name":"help wanted","color":"008672","default":true}],"milestone":null,"commits_url":"https://api.github.com/repos/Kommunity-app/kommunity-frontend/pulls/81/commits","review_comments_url":"https://api.github.com/repos/Kommunity-app/kommunity-frontend/pulls/81/comments","review_comment_url":"https://api.github.com/repos/Kommunity-app/kommunity-frontend/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Kommunity-app/kommunity-frontend/issues/81/comments","statuses_url":"https://api.github.com/repos/Kommunity-app/kommunity-frontend/statuses/0053eda64ca0f22a9c76eb1c6386b78ed063ad6d","head":{"label":"trkaplan:tuncayk/#65/UI_Input","ref":"tuncayk/#65/UI_Input","sha":"0053eda64ca0f22a9c76eb1c6386b78ed063ad6d","user":{"login":"trkaplan","id":992897,"node_id":"MDQ6VXNlcjk5Mjg5Nw==","avatar_url":"https://avatars0.githubusercontent.com/u/992897?v=4","gravatar_id":"","url":"https://api.github.com/users/trkaplan","html_url":"https://github.com/trkaplan","followers_url":"https://api.github.com/users/trkaplan/followers","following_url":"https://api.github.com/users/trkaplan/following{/other_user}","gists_url":"https://api.github.com/users/trkaplan/gists{/gist_id}","starred_url":"https://api.github.com/users/trkaplan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trkaplan/subscriptions","organizations_url":"https://api.github.com/users/trkaplan/orgs","repos_url":"https://api.github.com/users/trkaplan/repos","events_url":"https://api.github.com/users/trkaplan/events{/privacy}","received_events_url":"https://api.github.com/users/trkaplan/received_events","type":"User","site_admin":false},"repo":{"id":153846086,"node_id":"MDEwOlJlcG9zaXRvcnkxNTM4NDYwODY=","name":"kommunity-frontend","full_name":"trkaplan/kommunity-frontend","private":false,"owner":{"login":"trkaplan","id":992897,"node_id":"MDQ6VXNlcjk5Mjg5Nw==","avatar_url":"https://avatars0.githubusercontent.com/u/992897?v=4","gravatar_id":"","url":"https://api.github.com/users/trkaplan","html_url":"https://github.com/trkaplan","followers_url":"https://api.github.com/users/trkaplan/followers","following_url":"https://api.github.com/users/trkaplan/following{/other_user}","gists_url":"https://api.github.com/users/trkaplan/gists{/gist_id}","starred_url":"https://api.github.com/users/trkaplan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trkaplan/subscriptions","organizations_url":"https://api.github.com/users/trkaplan/orgs","repos_url":"https://api.github.com/users/trkaplan/repos","events_url":"https://api.github.com/users/trkaplan/events{/privacy}","received_events_url":"https://api.github.com/users/trkaplan/received_events","type":"User","site_admin":false},"html_url":"https://github.com/trkaplan/kommunity-frontend","description":null,"fork":true,"url":"https://api.github.com/repos/trkaplan/kommunity-frontend","forks_url":"https://api.github.com/repos/trkaplan/kommunity-frontend/forks","keys_url":"https://api.github.com/repos/trkaplan/kommunity-frontend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/trkaplan/kommunity-frontend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/trkaplan/kommunity-frontend/teams","hooks_url":"https://api.github.com/repos/trkaplan/kommunity-frontend/hooks","issue_events_url":"https://api.github.com/repos/trkaplan/kommunity-frontend/issues/events{/number}","events_url":"https://api.github.com/repos/trkaplan/kommunity-frontend/events","assignees_url":"https://api.github.com/repos/trkaplan/kommunity-frontend/assignees{/user}","branches_url":"https://api.github.com/repos/trkaplan/kommunity-frontend/branches{/branch}","tags_url":"https://api.github.com/repos/trkaplan/kommunity-frontend/tags","blobs_url":"https://api.github.com/repos/trkaplan/kommunity-frontend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/trkaplan/kommunity-frontend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/trkaplan/kommunity-frontend/git/refs{/sha}","trees_url":"https://api.github.com/repos/trkaplan/kommunity-frontend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/trkaplan/kommunity-frontend/statuses/{sha}","languages_url":"https://api.github.com/repos/trkaplan/kommunity-frontend/languages","stargazers_url":"https://api.github.com/repos/trkaplan/kommunity-frontend/stargazers","contributors_url":"https://api.github.com/repos/trkaplan/kommunity-frontend/contributors","subscribers_url":"https://api.github.com/repos/trkaplan/kommunity-frontend/subscribers","subscription_url":"https://api.github.com/repos/trkaplan/kommunity-frontend/subscription","commits_url":"https://api.github.com/repos/trkaplan/kommunity-frontend/commits{/sha}","git_commits_url":"https://api.github.com/repos/trkaplan/kommunity-frontend/git/commits{/sha}","comments_url":"https://api.github.com/repos/trkaplan/kommunity-frontend/comments{/number}","issue_comment_url":"https://api.github.com/repos/trkaplan/kommunity-frontend/issues/comments{/number}","contents_url":"https://api.github.com/repos/trkaplan/kommunity-frontend/contents/{+path}","compare_url":"https://api.github.com/repos/trkaplan/kommunity-frontend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/trkaplan/kommunity-frontend/merges","archive_url":"https://api.github.com/repos/trkaplan/kommunity-frontend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/trkaplan/kommunity-frontend/downloads","issues_url":"https://api.github.com/repos/trkaplan/kommunity-frontend/issues{/number}","pulls_url":"https://api.github.com/repos/trkaplan/kommunity-frontend/pulls{/number}","milestones_url":"https://api.github.com/repos/trkaplan/kommunity-frontend/milestones{/number}","notifications_url":"https://api.github.com/repos/trkaplan/kommunity-frontend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/trkaplan/kommunity-frontend/labels{/name}","releases_url":"https://api.github.com/repos/trkaplan/kommunity-frontend/releases{/id}","deployments_url":"https://api.github.com/repos/trkaplan/kommunity-frontend/deployments","created_at":"2018-10-19T21:54:33Z","updated_at":"2018-11-09T22:33:46Z","pushed_at":"2018-11-09T22:53:52Z","git_url":"git://github.com/trkaplan/kommunity-frontend.git","ssh_url":"git@github.com:trkaplan/kommunity-frontend.git","clone_url":"https://github.com/trkaplan/kommunity-frontend.git","svn_url":"https://github.com/trkaplan/kommunity-frontend","homepage":null,"size":443,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"dev"}},"base":{"label":"Kommunity-app:dev","ref":"dev","sha":"1a8b052d598ab5cf769d39914933b770893857ab","user":{"login":"Kommunity-app","id":43939396,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQzOTM5Mzk2","avatar_url":"https://avatars3.githubusercontent.com/u/43939396?v=4","gravatar_id":"","url":"https://api.github.com/users/Kommunity-app","html_url":"https://github.com/Kommunity-app","followers_url":"https://api.github.com/users/Kommunity-app/followers","following_url":"https://api.github.com/users/Kommunity-app/following{/other_user}","gists_url":"https://api.github.com/users/Kommunity-app/gists{/gist_id}","starred_url":"https://api.github.com/users/Kommunity-app/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kommunity-app/subscriptions","organizations_url":"https://api.github.com/users/Kommunity-app/orgs","repos_url":"https://api.github.com/users/Kommunity-app/repos","events_url":"https://api.github.com/users/Kommunity-app/events{/privacy}","received_events_url":"https://api.github.com/users/Kommunity-app/received_events","type":"Organization","site_admin":false},"repo":{"id":151990941,"node_id":"MDEwOlJlcG9zaXRvcnkxNTE5OTA5NDE=","name":"kommunity-frontend","full_name":"Kommunity-app/kommunity-frontend","private":false,"owner":{"login":"Kommunity-app","id":43939396,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQzOTM5Mzk2","avatar_url":"https://avatars3.githubusercontent.com/u/43939396?v=4","gravatar_id":"","url":"https://api.github.com/users/Kommunity-app","html_url":"https://github.com/Kommunity-app","followers_url":"https://api.github.com/users/Kommunity-app/followers","following_url":"https://api.github.com/users/Kommunity-app/following{/other_user}","gists_url":"https://api.github.com/users/Kommunity-app/gists{/gist_id}","starred_url":"https://api.github.com/users/Kommunity-app/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kommunity-app/subscriptions","organizations_url":"https://api.github.com/users/Kommunity-app/orgs","repos_url":"https://api.github.com/users/Kommunity-app/repos","events_url":"https://api.github.com/users/Kommunity-app/events{/privacy}","received_events_url":"https://api.github.com/users/Kommunity-app/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/Kommunity-app/kommunity-frontend","description":null,"fork":false,"url":"https://api.github.com/repos/Kommunity-app/kommunity-frontend","forks_url":"https://api.github.com/repos/Kommunity-app/kommunity-frontend/forks","keys_url":"https://api.github.com/repos/Kommunity-app/kommunity-frontend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Kommunity-app/kommunity-frontend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Kommunity-app/kommunity-frontend/teams","hooks_url":"https://api.github.com/repos/Kommunity-app/kommunity-frontend/hooks","issue_events_url":"https://api.github.com/repos/Kommunity-app/kommunity-frontend/issues/events{/number}","events_url":"https://api.github.com/repos/Kommunity-app/kommunity-frontend/events","assignees_url":"https://api.github.com/repos/Kommunity-app/kommunity-frontend/assignees{/user}","branches_url":"https://api.github.com/repos/Kommunity-app/kommunity-frontend/branches{/branch}","tags_url":"https://api.github.com/repos/Kommunity-app/kommunity-frontend/tags","blobs_url":"https://api.github.com/repos/Kommunity-app/kommunity-frontend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Kommunity-app/kommunity-frontend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Kommunity-app/kommunity-frontend/git/refs{/sha}","trees_url":"https://api.github.com/repos/Kommunity-app/kommunity-frontend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Kommunity-app/kommunity-frontend/statuses/{sha}","languages_url":"https://api.github.com/repos/Kommunity-app/kommunity-frontend/languages","stargazers_url":"https://api.github.com/repos/Kommunity-app/kommunity-frontend/stargazers","contributors_url":"https://api.github.com/repos/Kommunity-app/kommunity-frontend/contributors","subscribers_url":"https://api.github.com/repos/Kommunity-app/kommunity-frontend/subscribers","subscription_url":"https://api.github.com/repos/Kommunity-app/kommunity-frontend/subscription","commits_url":"https://api.github.com/repos/Kommunity-app/kommunity-frontend/commits{/sha}","git_commits_url":"https://api.github.com/repos/Kommunity-app/kommunity-frontend/git/commits{/sha}","comments_url":"https://api.github.com/repos/Kommunity-app/kommunity-frontend/comments{/number}","issue_comment_url":"https://api.github.com/repos/Kommunity-app/kommunity-frontend/issues/comments{/number}","contents_url":"https://api.github.com/repos/Kommunity-app/kommunity-frontend/contents/{+path}","compare_url":"https://api.github.com/repos/Kommunity-app/kommunity-frontend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Kommunity-app/kommunity-frontend/merges","archive_url":"https://api.github.com/repos/Kommunity-app/kommunity-frontend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Kommunity-app/kommunity-frontend/downloads","issues_url":"https://api.github.com/repos/Kommunity-app/kommunity-frontend/issues{/number}","pulls_url":"https://api.github.com/repos/Kommunity-app/kommunity-frontend/pulls{/number}","milestones_url":"https://api.github.com/repos/Kommunity-app/kommunity-frontend/milestones{/number}","notifications_url":"https://api.github.com/repos/Kommunity-app/kommunity-frontend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Kommunity-app/kommunity-frontend/labels{/name}","releases_url":"https://api.github.com/repos/Kommunity-app/kommunity-frontend/releases{/id}","deployments_url":"https://api.github.com/repos/Kommunity-app/kommunity-frontend/deployments","created_at":"2018-10-07T22:30:07Z","updated_at":"2018-11-10T10:18:59Z","pushed_at":"2018-11-10T21:54:24Z","git_url":"git://github.com/Kommunity-app/kommunity-frontend.git","ssh_url":"git@github.com:Kommunity-app/kommunity-frontend.git","clone_url":"https://github.com/Kommunity-app/kommunity-frontend.git","svn_url":"https://github.com/Kommunity-app/kommunity-frontend","homepage":null,"size":2712,"stargazers_count":30,"watchers_count":30,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":16,"mirror_url":null,"archived":false,"open_issues_count":51,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":16,"open_issues":51,"watchers":30,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/Kommunity-app/kommunity-frontend/pulls/81"},"html":{"href":"https://github.com/Kommunity-app/kommunity-frontend/pull/81"},"issue":{"href":"https://api.github.com/repos/Kommunity-app/kommunity-frontend/issues/81"},"comments":{"href":"https://api.github.com/repos/Kommunity-app/kommunity-frontend/issues/81/comments"},"review_comments":{"href":"https://api.github.com/repos/Kommunity-app/kommunity-frontend/pulls/81/comments"},"review_comment":{"href":"https://api.github.com/repos/Kommunity-app/kommunity-frontend/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Kommunity-app/kommunity-frontend/pulls/81/commits"},"statuses":{"href":"https://api.github.com/repos/Kommunity-app/kommunity-frontend/statuses/0053eda64ca0f22a9c76eb1c6386b78ed063ad6d"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"trkaplan"}}