{"action":"created","comment":{"url":"https://api.github.com/repos/andela/travel_tool_front/pulls/comments/210502377","pull_request_review_id":146729205,"id":210502377,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxMDUwMjM3Nw==","diff_hunk":"@@ -0,0 +1,8 @@\n+import { configure } from '@storybook/react';\n+\n+function loadStories() {\n+  require('./stories/index.js');\n+  // You can require as many stories as you need.\n+}\n+\n+configure(loadStories, module);","path":".storybook/config.js","position":8,"original_position":8,"commit_id":"ea24683889c03029347f2784cbde73eb2fe7ff9c","original_commit_id":"ea24683889c03029347f2784cbde73eb2fe7ff9c","user":{"login":"hariclerry","id":12033494,"node_id":"MDQ6VXNlcjEyMDMzNDk0","avatar_url":"https://avatars3.githubusercontent.com/u/12033494?v=4","gravatar_id":"","url":"https://api.github.com/users/hariclerry","html_url":"https://github.com/hariclerry","followers_url":"https://api.github.com/users/hariclerry/followers","following_url":"https://api.github.com/users/hariclerry/following{/other_user}","gists_url":"https://api.github.com/users/hariclerry/gists{/gist_id}","starred_url":"https://api.github.com/users/hariclerry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hariclerry/subscriptions","organizations_url":"https://api.github.com/users/hariclerry/orgs","repos_url":"https://api.github.com/users/hariclerry/repos","events_url":"https://api.github.com/users/hariclerry/events{/privacy}","received_events_url":"https://api.github.com/users/hariclerry/received_events","type":"User","site_admin":false},"body":"Workin on it.","created_at":"2018-08-16T07:40:53Z","updated_at":"2018-08-16T07:40:53Z","html_url":"https://github.com/andela/travel_tool_front/pull/42#discussion_r210502377","pull_request_url":"https://api.github.com/repos/andela/travel_tool_front/pulls/42","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/andela/travel_tool_front/pulls/comments/210502377"},"html":{"href":"https://github.com/andela/travel_tool_front/pull/42#discussion_r210502377"},"pull_request":{"href":"https://api.github.com/repos/andela/travel_tool_front/pulls/42"}},"in_reply_to_id":210307933},"pull_request":{"url":"https://api.github.com/repos/andela/travel_tool_front/pulls/42","id":208302157,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA4MzAyMTU3","html_url":"https://github.com/andela/travel_tool_front/pull/42","diff_url":"https://github.com/andela/travel_tool_front/pull/42.diff","patch_url":"https://github.com/andela/travel_tool_front/pull/42.patch","issue_url":"https://api.github.com/repos/andela/travel_tool_front/issues/42","number":42,"state":"open","locked":false,"title":" #159730632 Configure storybook for component development","user":{"login":"hariclerry","id":12033494,"node_id":"MDQ6VXNlcjEyMDMzNDk0","avatar_url":"https://avatars3.githubusercontent.com/u/12033494?v=4","gravatar_id":"","url":"https://api.github.com/users/hariclerry","html_url":"https://github.com/hariclerry","followers_url":"https://api.github.com/users/hariclerry/followers","following_url":"https://api.github.com/users/hariclerry/following{/other_user}","gists_url":"https://api.github.com/users/hariclerry/gists{/gist_id}","starred_url":"https://api.github.com/users/hariclerry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hariclerry/subscriptions","organizations_url":"https://api.github.com/users/hariclerry/orgs","repos_url":"https://api.github.com/users/hariclerry/repos","events_url":"https://api.github.com/users/hariclerry/events{/privacy}","received_events_url":"https://api.github.com/users/hariclerry/received_events","type":"User","site_admin":false},"body":"#### What does this PR do?\r\nThis PR configures the storybook tool to make working on related components\r\n more efficient, easier to reuse and have better component documentation.\r\n\r\n\r\n#### Description of Task to be completed?\r\n- Install and configure storybook into the App\r\n- Run storybook using Docker commands\r\n\r\n#### How should this be manually tested?\r\n- Clone the repository\r\n- Install all dependencies using `yarn install`\r\n- Ensure docker is installed, to install docker click [here](https://www.docker.com/products/docker-desktop)\r\n- Run `make start` docker build command to run storybook in the docker development environment\r\n- Start the server using `yarn run storybook`\r\n- On the browser, type the localhost URL ` http://localhost:9001/` and you should be able to see the storybook page displayed.\r\n\r\n\r\n#### Any background context you want to provide?\r\nNone\r\n\r\n#### What are the relevant pivotal tracker stories?\r\n[#159730632](https://www.pivotaltracker.com/story/show/159730632)\r\n\r\n\r\n#### Screenshots (if appropriate)\r\n\r\n<img width=\"1280\" alt=\"screen shot 2018-08-14 at 17 28 20\" src=\"https://user-images.githubusercontent.com/12033494/44097997-ac1b95fe-9fe7-11e8-9cbe-261378783715.png\">\r\n\r\n\r\n\r\n#### Questions:\r\nNone","created_at":"2018-08-14T14:31:08Z","updated_at":"2018-08-16T07:40:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":"04f3ed7693db02bea79c99474c642fd4b0ce7665","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/andela/travel_tool_front/pulls/42/commits","review_comments_url":"https://api.github.com/repos/andela/travel_tool_front/pulls/42/comments","review_comment_url":"https://api.github.com/repos/andela/travel_tool_front/pulls/comments{/number}","comments_url":"https://api.github.com/repos/andela/travel_tool_front/issues/42/comments","statuses_url":"https://api.github.com/repos/andela/travel_tool_front/statuses/ea24683889c03029347f2784cbde73eb2fe7ff9c","head":{"label":"andela:ch-storybook-configuration-159730632","ref":"ch-storybook-configuration-159730632","sha":"ea24683889c03029347f2784cbde73eb2fe7ff9c","user":{"login":"andela","id":4100206,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQxMDAyMDY=","avatar_url":"https://avatars2.githubusercontent.com/u/4100206?v=4","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"repo":{"id":141128101,"node_id":"MDEwOlJlcG9zaXRvcnkxNDExMjgxMDE=","name":"travel_tool_front","full_name":"andela/travel_tool_front","owner":{"login":"andela","id":4100206,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQxMDAyMDY=","avatar_url":"https://avatars2.githubusercontent.com/u/4100206?v=4","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/andela/travel_tool_front","description":"Andela travel tool web client.","fork":false,"url":"https://api.github.com/repos/andela/travel_tool_front","forks_url":"https://api.github.com/repos/andela/travel_tool_front/forks","keys_url":"https://api.github.com/repos/andela/travel_tool_front/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andela/travel_tool_front/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andela/travel_tool_front/teams","hooks_url":"https://api.github.com/repos/andela/travel_tool_front/hooks","issue_events_url":"https://api.github.com/repos/andela/travel_tool_front/issues/events{/number}","events_url":"https://api.github.com/repos/andela/travel_tool_front/events","assignees_url":"https://api.github.com/repos/andela/travel_tool_front/assignees{/user}","branches_url":"https://api.github.com/repos/andela/travel_tool_front/branches{/branch}","tags_url":"https://api.github.com/repos/andela/travel_tool_front/tags","blobs_url":"https://api.github.com/repos/andela/travel_tool_front/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andela/travel_tool_front/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andela/travel_tool_front/git/refs{/sha}","trees_url":"https://api.github.com/repos/andela/travel_tool_front/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andela/travel_tool_front/statuses/{sha}","languages_url":"https://api.github.com/repos/andela/travel_tool_front/languages","stargazers_url":"https://api.github.com/repos/andela/travel_tool_front/stargazers","contributors_url":"https://api.github.com/repos/andela/travel_tool_front/contributors","subscribers_url":"https://api.github.com/repos/andela/travel_tool_front/subscribers","subscription_url":"https://api.github.com/repos/andela/travel_tool_front/subscription","commits_url":"https://api.github.com/repos/andela/travel_tool_front/commits{/sha}","git_commits_url":"https://api.github.com/repos/andela/travel_tool_front/git/commits{/sha}","comments_url":"https://api.github.com/repos/andela/travel_tool_front/comments{/number}","issue_comment_url":"https://api.github.com/repos/andela/travel_tool_front/issues/comments{/number}","contents_url":"https://api.github.com/repos/andela/travel_tool_front/contents/{+path}","compare_url":"https://api.github.com/repos/andela/travel_tool_front/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andela/travel_tool_front/merges","archive_url":"https://api.github.com/repos/andela/travel_tool_front/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andela/travel_tool_front/downloads","issues_url":"https://api.github.com/repos/andela/travel_tool_front/issues{/number}","pulls_url":"https://api.github.com/repos/andela/travel_tool_front/pulls{/number}","milestones_url":"https://api.github.com/repos/andela/travel_tool_front/milestones{/number}","notifications_url":"https://api.github.com/repos/andela/travel_tool_front/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andela/travel_tool_front/labels{/name}","releases_url":"https://api.github.com/repos/andela/travel_tool_front/releases{/id}","deployments_url":"https://api.github.com/repos/andela/travel_tool_front/deployments","created_at":"2018-07-16T11:13:07Z","updated_at":"2018-08-16T06:44:46Z","pushed_at":"2018-08-16T07:40:15Z","git_url":"git://github.com/andela/travel_tool_front.git","ssh_url":"git@github.com:andela/travel_tool_front.git","clone_url":"https://github.com/andela/travel_tool_front.git","svn_url":"https://github.com/andela/travel_tool_front","homepage":"","size":4158,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"archived":false,"open_issues_count":5,"license":null,"forks":3,"open_issues":5,"watchers":2,"default_branch":"develop"}},"base":{"label":"andela:develop","ref":"develop","sha":"d82cd39dc0f3c62b3c9f76702f10bf4991c7e40a","user":{"login":"andela","id":4100206,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQxMDAyMDY=","avatar_url":"https://avatars2.githubusercontent.com/u/4100206?v=4","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"repo":{"id":141128101,"node_id":"MDEwOlJlcG9zaXRvcnkxNDExMjgxMDE=","name":"travel_tool_front","full_name":"andela/travel_tool_front","owner":{"login":"andela","id":4100206,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQxMDAyMDY=","avatar_url":"https://avatars2.githubusercontent.com/u/4100206?v=4","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/andela/travel_tool_front","description":"Andela travel tool web client.","fork":false,"url":"https://api.github.com/repos/andela/travel_tool_front","forks_url":"https://api.github.com/repos/andela/travel_tool_front/forks","keys_url":"https://api.github.com/repos/andela/travel_tool_front/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andela/travel_tool_front/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andela/travel_tool_front/teams","hooks_url":"https://api.github.com/repos/andela/travel_tool_front/hooks","issue_events_url":"https://api.github.com/repos/andela/travel_tool_front/issues/events{/number}","events_url":"https://api.github.com/repos/andela/travel_tool_front/events","assignees_url":"https://api.github.com/repos/andela/travel_tool_front/assignees{/user}","branches_url":"https://api.github.com/repos/andela/travel_tool_front/branches{/branch}","tags_url":"https://api.github.com/repos/andela/travel_tool_front/tags","blobs_url":"https://api.github.com/repos/andela/travel_tool_front/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andela/travel_tool_front/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andela/travel_tool_front/git/refs{/sha}","trees_url":"https://api.github.com/repos/andela/travel_tool_front/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andela/travel_tool_front/statuses/{sha}","languages_url":"https://api.github.com/repos/andela/travel_tool_front/languages","stargazers_url":"https://api.github.com/repos/andela/travel_tool_front/stargazers","contributors_url":"https://api.github.com/repos/andela/travel_tool_front/contributors","subscribers_url":"https://api.github.com/repos/andela/travel_tool_front/subscribers","subscription_url":"https://api.github.com/repos/andela/travel_tool_front/subscription","commits_url":"https://api.github.com/repos/andela/travel_tool_front/commits{/sha}","git_commits_url":"https://api.github.com/repos/andela/travel_tool_front/git/commits{/sha}","comments_url":"https://api.github.com/repos/andela/travel_tool_front/comments{/number}","issue_comment_url":"https://api.github.com/repos/andela/travel_tool_front/issues/comments{/number}","contents_url":"https://api.github.com/repos/andela/travel_tool_front/contents/{+path}","compare_url":"https://api.github.com/repos/andela/travel_tool_front/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andela/travel_tool_front/merges","archive_url":"https://api.github.com/repos/andela/travel_tool_front/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andela/travel_tool_front/downloads","issues_url":"https://api.github.com/repos/andela/travel_tool_front/issues{/number}","pulls_url":"https://api.github.com/repos/andela/travel_tool_front/pulls{/number}","milestones_url":"https://api.github.com/repos/andela/travel_tool_front/milestones{/number}","notifications_url":"https://api.github.com/repos/andela/travel_tool_front/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andela/travel_tool_front/labels{/name}","releases_url":"https://api.github.com/repos/andela/travel_tool_front/releases{/id}","deployments_url":"https://api.github.com/repos/andela/travel_tool_front/deployments","created_at":"2018-07-16T11:13:07Z","updated_at":"2018-08-16T06:44:46Z","pushed_at":"2018-08-16T07:40:15Z","git_url":"git://github.com/andela/travel_tool_front.git","ssh_url":"git@github.com:andela/travel_tool_front.git","clone_url":"https://github.com/andela/travel_tool_front.git","svn_url":"https://github.com/andela/travel_tool_front","homepage":"","size":4158,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"archived":false,"open_issues_count":5,"license":null,"forks":3,"open_issues":5,"watchers":2,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/andela/travel_tool_front/pulls/42"},"html":{"href":"https://github.com/andela/travel_tool_front/pull/42"},"issue":{"href":"https://api.github.com/repos/andela/travel_tool_front/issues/42"},"comments":{"href":"https://api.github.com/repos/andela/travel_tool_front/issues/42/comments"},"review_comments":{"href":"https://api.github.com/repos/andela/travel_tool_front/pulls/42/comments"},"review_comment":{"href":"https://api.github.com/repos/andela/travel_tool_front/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/andela/travel_tool_front/pulls/42/commits"},"statuses":{"href":"https://api.github.com/repos/andela/travel_tool_front/statuses/ea24683889c03029347f2784cbde73eb2fe7ff9c"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"hariclerry"}}