{"action":"created","comment":{"url":"https://api.github.com/repos/andela/ah-scorpion-frontend/pulls/comments/215403135","pull_request_review_id":152660319,"id":215403135,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxNTQwMzEzNQ==","diff_hunk":"@@ -0,0 +1,39 @@\n+import * as types from '../actions/types';","path":"src/reducers/signUp.js","position":1,"original_position":1,"commit_id":"7f5d456876669e63d3656e5b81e1bc0fdfa91b01","original_commit_id":"7f5d456876669e63d3656e5b81e1bc0fdfa91b01","user":{"login":"houndci-bot","id":6697940,"node_id":"MDQ6VXNlcjY2OTc5NDA=","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":"'import' is only available in ES6 (use 'esversion: 6').","created_at":"2018-09-05T19:48:17Z","updated_at":"2018-09-05T19:48:18Z","html_url":"https://github.com/andela/ah-scorpion-frontend/pull/16#discussion_r215403135","pull_request_url":"https://api.github.com/repos/andela/ah-scorpion-frontend/pulls/16","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/andela/ah-scorpion-frontend/pulls/comments/215403135"},"html":{"href":"https://github.com/andela/ah-scorpion-frontend/pull/16#discussion_r215403135"},"pull_request":{"href":"https://api.github.com/repos/andela/ah-scorpion-frontend/pulls/16"}}},"pull_request":{"url":"https://api.github.com/repos/andela/ah-scorpion-frontend/pulls/16","id":213368584,"node_id":"MDExOlB1bGxSZXF1ZXN0MjEzMzY4NTg0","html_url":"https://github.com/andela/ah-scorpion-frontend/pull/16","diff_url":"https://github.com/andela/ah-scorpion-frontend/pull/16.diff","patch_url":"https://github.com/andela/ah-scorpion-frontend/pull/16.patch","issue_url":"https://api.github.com/repos/andela/ah-scorpion-frontend/issues/16","number":16,"state":"open","locked":false,"title":"#159993335 Allow for user registration","user":{"login":"lennykioko","id":28927645,"node_id":"MDQ6VXNlcjI4OTI3NjQ1","avatar_url":"https://avatars3.githubusercontent.com/u/28927645?v=4","gravatar_id":"","url":"https://api.github.com/users/lennykioko","html_url":"https://github.com/lennykioko","followers_url":"https://api.github.com/users/lennykioko/followers","following_url":"https://api.github.com/users/lennykioko/following{/other_user}","gists_url":"https://api.github.com/users/lennykioko/gists{/gist_id}","starred_url":"https://api.github.com/users/lennykioko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lennykioko/subscriptions","organizations_url":"https://api.github.com/users/lennykioko/orgs","repos_url":"https://api.github.com/users/lennykioko/repos","events_url":"https://api.github.com/users/lennykioko/events{/privacy}","received_events_url":"https://api.github.com/users/lennykioko/received_events","type":"User","site_admin":false},"body":"#### What does this PR do?\r\n\r\n- Allows for user signUp.\r\n\r\n#### Description of Task to be completed?\r\n- Handle disabling the Signup button to indicate loading status during SignUp.\r\n- Handle successful user signUp and display the message asking the user to confirm their email address before proceeding.\r\n- Handle unsuccessful signUp and display descriptive error messages for the errors raised.\r\n\r\n#### How should this be manually tested?\r\n\r\n- Clone this branch `ft-user-registration-159993335`.\r\n- Go to the signup endpoint\r\n\r\n- _When you try signing up a user:_\r\n\r\n  - You should see the SignUp button get disabled to indicate that the request is pending.\r\n  - You should get an alert box with the message `Please confirm your email address to complete the registration` in case of a successful request.\r\n  - You should get an alert box with the relevant error message in case of an invalid request.\r\n\r\n#### Any background context you want to provide?\r\n\r\n- None\r\n\r\n#### What are the relevant pivotal tracker stories?\r\n[#159993335](https://www.pivotaltracker.com/story/show/159993335)","created_at":"2018-09-05T17:17:22Z","updated_at":"2018-09-05T19:48:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2b8eee4ea831bc9a209b5a8f19bada710c916474","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/andela/ah-scorpion-frontend/pulls/16/commits","review_comments_url":"https://api.github.com/repos/andela/ah-scorpion-frontend/pulls/16/comments","review_comment_url":"https://api.github.com/repos/andela/ah-scorpion-frontend/pulls/comments{/number}","comments_url":"https://api.github.com/repos/andela/ah-scorpion-frontend/issues/16/comments","statuses_url":"https://api.github.com/repos/andela/ah-scorpion-frontend/statuses/7f5d456876669e63d3656e5b81e1bc0fdfa91b01","head":{"label":"andela:ft-user-registration-159993335","ref":"ft-user-registration-159993335","sha":"7f5d456876669e63d3656e5b81e1bc0fdfa91b01","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":145820513,"node_id":"MDEwOlJlcG9zaXRvcnkxNDU4MjA1MTM=","name":"ah-scorpion-frontend","full_name":"andela/ah-scorpion-frontend","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/ah-scorpion-frontend","description":null,"fork":false,"url":"https://api.github.com/repos/andela/ah-scorpion-frontend","forks_url":"https://api.github.com/repos/andela/ah-scorpion-frontend/forks","keys_url":"https://api.github.com/repos/andela/ah-scorpion-frontend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andela/ah-scorpion-frontend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andela/ah-scorpion-frontend/teams","hooks_url":"https://api.github.com/repos/andela/ah-scorpion-frontend/hooks","issue_events_url":"https://api.github.com/repos/andela/ah-scorpion-frontend/issues/events{/number}","events_url":"https://api.github.com/repos/andela/ah-scorpion-frontend/events","assignees_url":"https://api.github.com/repos/andela/ah-scorpion-frontend/assignees{/user}","branches_url":"https://api.github.com/repos/andela/ah-scorpion-frontend/branches{/branch}","tags_url":"https://api.github.com/repos/andela/ah-scorpion-frontend/tags","blobs_url":"https://api.github.com/repos/andela/ah-scorpion-frontend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andela/ah-scorpion-frontend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andela/ah-scorpion-frontend/git/refs{/sha}","trees_url":"https://api.github.com/repos/andela/ah-scorpion-frontend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andela/ah-scorpion-frontend/statuses/{sha}","languages_url":"https://api.github.com/repos/andela/ah-scorpion-frontend/languages","stargazers_url":"https://api.github.com/repos/andela/ah-scorpion-frontend/stargazers","contributors_url":"https://api.github.com/repos/andela/ah-scorpion-frontend/contributors","subscribers_url":"https://api.github.com/repos/andela/ah-scorpion-frontend/subscribers","subscription_url":"https://api.github.com/repos/andela/ah-scorpion-frontend/subscription","commits_url":"https://api.github.com/repos/andela/ah-scorpion-frontend/commits{/sha}","git_commits_url":"https://api.github.com/repos/andela/ah-scorpion-frontend/git/commits{/sha}","comments_url":"https://api.github.com/repos/andela/ah-scorpion-frontend/comments{/number}","issue_comment_url":"https://api.github.com/repos/andela/ah-scorpion-frontend/issues/comments{/number}","contents_url":"https://api.github.com/repos/andela/ah-scorpion-frontend/contents/{+path}","compare_url":"https://api.github.com/repos/andela/ah-scorpion-frontend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andela/ah-scorpion-frontend/merges","archive_url":"https://api.github.com/repos/andela/ah-scorpion-frontend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andela/ah-scorpion-frontend/downloads","issues_url":"https://api.github.com/repos/andela/ah-scorpion-frontend/issues{/number}","pulls_url":"https://api.github.com/repos/andela/ah-scorpion-frontend/pulls{/number}","milestones_url":"https://api.github.com/repos/andela/ah-scorpion-frontend/milestones{/number}","notifications_url":"https://api.github.com/repos/andela/ah-scorpion-frontend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andela/ah-scorpion-frontend/labels{/name}","releases_url":"https://api.github.com/repos/andela/ah-scorpion-frontend/releases{/id}","deployments_url":"https://api.github.com/repos/andela/ah-scorpion-frontend/deployments","created_at":"2018-08-23T07:55:30Z","updated_at":"2018-09-04T14:11:37Z","pushed_at":"2018-09-05T19:31:07Z","git_url":"git://github.com/andela/ah-scorpion-frontend.git","ssh_url":"git@github.com:andela/ah-scorpion-frontend.git","clone_url":"https://github.com/andela/ah-scorpion-frontend.git","svn_url":"https://github.com/andela/ah-scorpion-frontend","homepage":null,"size":7165,"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":1,"mirror_url":null,"archived":false,"open_issues_count":5,"license":null,"forks":1,"open_issues":5,"watchers":0,"default_branch":"develop"}},"base":{"label":"andela:develop","ref":"develop","sha":"97c602ef59d18fa36ff7b47f80a75b88f96886a8","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":145820513,"node_id":"MDEwOlJlcG9zaXRvcnkxNDU4MjA1MTM=","name":"ah-scorpion-frontend","full_name":"andela/ah-scorpion-frontend","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/ah-scorpion-frontend","description":null,"fork":false,"url":"https://api.github.com/repos/andela/ah-scorpion-frontend","forks_url":"https://api.github.com/repos/andela/ah-scorpion-frontend/forks","keys_url":"https://api.github.com/repos/andela/ah-scorpion-frontend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andela/ah-scorpion-frontend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andela/ah-scorpion-frontend/teams","hooks_url":"https://api.github.com/repos/andela/ah-scorpion-frontend/hooks","issue_events_url":"https://api.github.com/repos/andela/ah-scorpion-frontend/issues/events{/number}","events_url":"https://api.github.com/repos/andela/ah-scorpion-frontend/events","assignees_url":"https://api.github.com/repos/andela/ah-scorpion-frontend/assignees{/user}","branches_url":"https://api.github.com/repos/andela/ah-scorpion-frontend/branches{/branch}","tags_url":"https://api.github.com/repos/andela/ah-scorpion-frontend/tags","blobs_url":"https://api.github.com/repos/andela/ah-scorpion-frontend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andela/ah-scorpion-frontend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andela/ah-scorpion-frontend/git/refs{/sha}","trees_url":"https://api.github.com/repos/andela/ah-scorpion-frontend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andela/ah-scorpion-frontend/statuses/{sha}","languages_url":"https://api.github.com/repos/andela/ah-scorpion-frontend/languages","stargazers_url":"https://api.github.com/repos/andela/ah-scorpion-frontend/stargazers","contributors_url":"https://api.github.com/repos/andela/ah-scorpion-frontend/contributors","subscribers_url":"https://api.github.com/repos/andela/ah-scorpion-frontend/subscribers","subscription_url":"https://api.github.com/repos/andela/ah-scorpion-frontend/subscription","commits_url":"https://api.github.com/repos/andela/ah-scorpion-frontend/commits{/sha}","git_commits_url":"https://api.github.com/repos/andela/ah-scorpion-frontend/git/commits{/sha}","comments_url":"https://api.github.com/repos/andela/ah-scorpion-frontend/comments{/number}","issue_comment_url":"https://api.github.com/repos/andela/ah-scorpion-frontend/issues/comments{/number}","contents_url":"https://api.github.com/repos/andela/ah-scorpion-frontend/contents/{+path}","compare_url":"https://api.github.com/repos/andela/ah-scorpion-frontend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andela/ah-scorpion-frontend/merges","archive_url":"https://api.github.com/repos/andela/ah-scorpion-frontend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andela/ah-scorpion-frontend/downloads","issues_url":"https://api.github.com/repos/andela/ah-scorpion-frontend/issues{/number}","pulls_url":"https://api.github.com/repos/andela/ah-scorpion-frontend/pulls{/number}","milestones_url":"https://api.github.com/repos/andela/ah-scorpion-frontend/milestones{/number}","notifications_url":"https://api.github.com/repos/andela/ah-scorpion-frontend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andela/ah-scorpion-frontend/labels{/name}","releases_url":"https://api.github.com/repos/andela/ah-scorpion-frontend/releases{/id}","deployments_url":"https://api.github.com/repos/andela/ah-scorpion-frontend/deployments","created_at":"2018-08-23T07:55:30Z","updated_at":"2018-09-04T14:11:37Z","pushed_at":"2018-09-05T19:31:07Z","git_url":"git://github.com/andela/ah-scorpion-frontend.git","ssh_url":"git@github.com:andela/ah-scorpion-frontend.git","clone_url":"https://github.com/andela/ah-scorpion-frontend.git","svn_url":"https://github.com/andela/ah-scorpion-frontend","homepage":null,"size":7165,"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":1,"mirror_url":null,"archived":false,"open_issues_count":5,"license":null,"forks":1,"open_issues":5,"watchers":0,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/andela/ah-scorpion-frontend/pulls/16"},"html":{"href":"https://github.com/andela/ah-scorpion-frontend/pull/16"},"issue":{"href":"https://api.github.com/repos/andela/ah-scorpion-frontend/issues/16"},"comments":{"href":"https://api.github.com/repos/andela/ah-scorpion-frontend/issues/16/comments"},"review_comments":{"href":"https://api.github.com/repos/andela/ah-scorpion-frontend/pulls/16/comments"},"review_comment":{"href":"https://api.github.com/repos/andela/ah-scorpion-frontend/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/andela/ah-scorpion-frontend/pulls/16/commits"},"statuses":{"href":"https://api.github.com/repos/andela/ah-scorpion-frontend/statuses/7f5d456876669e63d3656e5b81e1bc0fdfa91b01"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"houndci-bot"}}