{"action":"created","comment":{"url":"https://api.github.com/repos/dForDeveloper/magic-whateverly/pulls/comments/242797145","pull_request_review_id":186394674,"id":242797145,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI0Mjc5NzE0NQ==","diff_hunk":"@@ -1,34 +1,53 @@\n import React, { Component } from 'react';\n import Controls from '../Controls/Controls.js';\n import AsideBody from '../AsideBody/AsideBody.js';\n+import {cards} from '../mtg.js'\n import './Aside.css';\n \n class Aside extends Component {\n   constructor() {\n     super();\n     this.state = {\n-      cardNames: []\n+      cardNames: [],\n+      hasDuplicates: false,","path":"src/Aside/Aside.js","position":13,"original_position":13,"commit_id":"5116d58b0373b3877d3d296d52904f5f698eae5f","original_commit_id":"5116d58b0373b3877d3d296d52904f5f698eae5f","user":{"login":"dylhof","id":37079656,"node_id":"MDQ6VXNlcjM3MDc5NjU2","avatar_url":"https://avatars0.githubusercontent.com/u/37079656?v=4","gravatar_id":"","url":"https://api.github.com/users/dylhof","html_url":"https://github.com/dylhof","followers_url":"https://api.github.com/users/dylhof/followers","following_url":"https://api.github.com/users/dylhof/following{/other_user}","gists_url":"https://api.github.com/users/dylhof/gists{/gist_id}","starred_url":"https://api.github.com/users/dylhof/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dylhof/subscriptions","organizations_url":"https://api.github.com/users/dylhof/orgs","repos_url":"https://api.github.com/users/dylhof/repos","events_url":"https://api.github.com/users/dylhof/events{/privacy}","received_events_url":"https://api.github.com/users/dylhof/received_events","type":"User","site_admin":false},"body":"Is this the right spot for hasDuplicates? I'm wondering if it gets changed to true, won't it throw the duplicate error for every card? I could definitely be missing the way this is passed around. ","created_at":"2018-12-19T05:46:37Z","updated_at":"2018-12-19T05:46:37Z","html_url":"https://github.com/dForDeveloper/magic-whateverly/pull/20#discussion_r242797145","pull_request_url":"https://api.github.com/repos/dForDeveloper/magic-whateverly/pulls/20","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/dForDeveloper/magic-whateverly/pulls/comments/242797145"},"html":{"href":"https://github.com/dForDeveloper/magic-whateverly/pull/20#discussion_r242797145"},"pull_request":{"href":"https://api.github.com/repos/dForDeveloper/magic-whateverly/pulls/20"}}},"pull_request":{"url":"https://api.github.com/repos/dForDeveloper/magic-whateverly/pulls/20","id":239714325,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM5NzE0MzI1","html_url":"https://github.com/dForDeveloper/magic-whateverly/pull/20","diff_url":"https://github.com/dForDeveloper/magic-whateverly/pull/20.diff","patch_url":"https://github.com/dForDeveloper/magic-whateverly/pull/20.patch","issue_url":"https://api.github.com/repos/dForDeveloper/magic-whateverly/issues/20","number":20,"state":"open","locked":false,"title":"Add feature for validating card names","user":{"login":"dForDeveloper","id":41239540,"node_id":"MDQ6VXNlcjQxMjM5NTQw","avatar_url":"https://avatars1.githubusercontent.com/u/41239540?v=4","gravatar_id":"","url":"https://api.github.com/users/dForDeveloper","html_url":"https://github.com/dForDeveloper","followers_url":"https://api.github.com/users/dForDeveloper/followers","following_url":"https://api.github.com/users/dForDeveloper/following{/other_user}","gists_url":"https://api.github.com/users/dForDeveloper/gists{/gist_id}","starred_url":"https://api.github.com/users/dForDeveloper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dForDeveloper/subscriptions","organizations_url":"https://api.github.com/users/dForDeveloper/orgs","repos_url":"https://api.github.com/users/dForDeveloper/repos","events_url":"https://api.github.com/users/dForDeveloper/events{/privacy}","received_events_url":"https://api.github.com/users/dForDeveloper/received_events","type":"User","site_admin":false},"body":"#18 \r\nThis feature validates that the card name submitted by the user corresponds to a card in the data set and that the card name is not a duplicate of one already submitted to the list.","created_at":"2018-12-19T05:14:16Z","updated_at":"2018-12-19T05:46:37Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c07ba21a66469f14219b2db334f3f5e2f767d14d","assignee":null,"assignees":[],"requested_reviewers":[{"login":"hillstew","id":36748280,"node_id":"MDQ6VXNlcjM2NzQ4Mjgw","avatar_url":"https://avatars3.githubusercontent.com/u/36748280?v=4","gravatar_id":"","url":"https://api.github.com/users/hillstew","html_url":"https://github.com/hillstew","followers_url":"https://api.github.com/users/hillstew/followers","following_url":"https://api.github.com/users/hillstew/following{/other_user}","gists_url":"https://api.github.com/users/hillstew/gists{/gist_id}","starred_url":"https://api.github.com/users/hillstew/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hillstew/subscriptions","organizations_url":"https://api.github.com/users/hillstew/orgs","repos_url":"https://api.github.com/users/hillstew/repos","events_url":"https://api.github.com/users/hillstew/events{/privacy}","received_events_url":"https://api.github.com/users/hillstew/received_events","type":"User","site_admin":false},{"login":"LittleD1808","id":41882380,"node_id":"MDQ6VXNlcjQxODgyMzgw","avatar_url":"https://avatars2.githubusercontent.com/u/41882380?v=4","gravatar_id":"","url":"https://api.github.com/users/LittleD1808","html_url":"https://github.com/LittleD1808","followers_url":"https://api.github.com/users/LittleD1808/followers","following_url":"https://api.github.com/users/LittleD1808/following{/other_user}","gists_url":"https://api.github.com/users/LittleD1808/gists{/gist_id}","starred_url":"https://api.github.com/users/LittleD1808/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LittleD1808/subscriptions","organizations_url":"https://api.github.com/users/LittleD1808/orgs","repos_url":"https://api.github.com/users/LittleD1808/repos","events_url":"https://api.github.com/users/LittleD1808/events{/privacy}","received_events_url":"https://api.github.com/users/LittleD1808/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[{"id":1164802149,"node_id":"MDU6TGFiZWwxMTY0ODAyMTQ5","url":"https://api.github.com/repos/dForDeveloper/magic-whateverly/labels/in%20progress","name":"in progress","color":"ededed","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/dForDeveloper/magic-whateverly/pulls/20/commits","review_comments_url":"https://api.github.com/repos/dForDeveloper/magic-whateverly/pulls/20/comments","review_comment_url":"https://api.github.com/repos/dForDeveloper/magic-whateverly/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dForDeveloper/magic-whateverly/issues/20/comments","statuses_url":"https://api.github.com/repos/dForDeveloper/magic-whateverly/statuses/5116d58b0373b3877d3d296d52904f5f698eae5f","head":{"label":"dForDeveloper:validate-card-name","ref":"validate-card-name","sha":"5116d58b0373b3877d3d296d52904f5f698eae5f","user":{"login":"dForDeveloper","id":41239540,"node_id":"MDQ6VXNlcjQxMjM5NTQw","avatar_url":"https://avatars1.githubusercontent.com/u/41239540?v=4","gravatar_id":"","url":"https://api.github.com/users/dForDeveloper","html_url":"https://github.com/dForDeveloper","followers_url":"https://api.github.com/users/dForDeveloper/followers","following_url":"https://api.github.com/users/dForDeveloper/following{/other_user}","gists_url":"https://api.github.com/users/dForDeveloper/gists{/gist_id}","starred_url":"https://api.github.com/users/dForDeveloper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dForDeveloper/subscriptions","organizations_url":"https://api.github.com/users/dForDeveloper/orgs","repos_url":"https://api.github.com/users/dForDeveloper/repos","events_url":"https://api.github.com/users/dForDeveloper/events{/privacy}","received_events_url":"https://api.github.com/users/dForDeveloper/received_events","type":"User","site_admin":false},"repo":{"id":162188008,"node_id":"MDEwOlJlcG9zaXRvcnkxNjIxODgwMDg=","name":"magic-whateverly","full_name":"dForDeveloper/magic-whateverly","private":false,"owner":{"login":"dForDeveloper","id":41239540,"node_id":"MDQ6VXNlcjQxMjM5NTQw","avatar_url":"https://avatars1.githubusercontent.com/u/41239540?v=4","gravatar_id":"","url":"https://api.github.com/users/dForDeveloper","html_url":"https://github.com/dForDeveloper","followers_url":"https://api.github.com/users/dForDeveloper/followers","following_url":"https://api.github.com/users/dForDeveloper/following{/other_user}","gists_url":"https://api.github.com/users/dForDeveloper/gists{/gist_id}","starred_url":"https://api.github.com/users/dForDeveloper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dForDeveloper/subscriptions","organizations_url":"https://api.github.com/users/dForDeveloper/orgs","repos_url":"https://api.github.com/users/dForDeveloper/repos","events_url":"https://api.github.com/users/dForDeveloper/events{/privacy}","received_events_url":"https://api.github.com/users/dForDeveloper/received_events","type":"User","site_admin":false},"html_url":"https://github.com/dForDeveloper/magic-whateverly","description":null,"fork":false,"url":"https://api.github.com/repos/dForDeveloper/magic-whateverly","forks_url":"https://api.github.com/repos/dForDeveloper/magic-whateverly/forks","keys_url":"https://api.github.com/repos/dForDeveloper/magic-whateverly/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dForDeveloper/magic-whateverly/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dForDeveloper/magic-whateverly/teams","hooks_url":"https://api.github.com/repos/dForDeveloper/magic-whateverly/hooks","issue_events_url":"https://api.github.com/repos/dForDeveloper/magic-whateverly/issues/events{/number}","events_url":"https://api.github.com/repos/dForDeveloper/magic-whateverly/events","assignees_url":"https://api.github.com/repos/dForDeveloper/magic-whateverly/assignees{/user}","branches_url":"https://api.github.com/repos/dForDeveloper/magic-whateverly/branches{/branch}","tags_url":"https://api.github.com/repos/dForDeveloper/magic-whateverly/tags","blobs_url":"https://api.github.com/repos/dForDeveloper/magic-whateverly/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dForDeveloper/magic-whateverly/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dForDeveloper/magic-whateverly/git/refs{/sha}","trees_url":"https://api.github.com/repos/dForDeveloper/magic-whateverly/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dForDeveloper/magic-whateverly/statuses/{sha}","languages_url":"https://api.github.com/repos/dForDeveloper/magic-whateverly/languages","stargazers_url":"https://api.github.com/repos/dForDeveloper/magic-whateverly/stargazers","contributors_url":"https://api.github.com/repos/dForDeveloper/magic-whateverly/contributors","subscribers_url":"https://api.github.com/repos/dForDeveloper/magic-whateverly/subscribers","subscription_url":"https://api.github.com/repos/dForDeveloper/magic-whateverly/subscription","commits_url":"https://api.github.com/repos/dForDeveloper/magic-whateverly/commits{/sha}","git_commits_url":"https://api.github.com/repos/dForDeveloper/magic-whateverly/git/commits{/sha}","comments_url":"https://api.github.com/repos/dForDeveloper/magic-whateverly/comments{/number}","issue_comment_url":"https://api.github.com/repos/dForDeveloper/magic-whateverly/issues/comments{/number}","contents_url":"https://api.github.com/repos/dForDeveloper/magic-whateverly/contents/{+path}","compare_url":"https://api.github.com/repos/dForDeveloper/magic-whateverly/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dForDeveloper/magic-whateverly/merges","archive_url":"https://api.github.com/repos/dForDeveloper/magic-whateverly/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dForDeveloper/magic-whateverly/downloads","issues_url":"https://api.github.com/repos/dForDeveloper/magic-whateverly/issues{/number}","pulls_url":"https://api.github.com/repos/dForDeveloper/magic-whateverly/pulls{/number}","milestones_url":"https://api.github.com/repos/dForDeveloper/magic-whateverly/milestones{/number}","notifications_url":"https://api.github.com/repos/dForDeveloper/magic-whateverly/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dForDeveloper/magic-whateverly/labels{/name}","releases_url":"https://api.github.com/repos/dForDeveloper/magic-whateverly/releases{/id}","deployments_url":"https://api.github.com/repos/dForDeveloper/magic-whateverly/deployments","created_at":"2018-12-17T20:47:47Z","updated_at":"2018-12-19T01:08:51Z","pushed_at":"2018-12-19T05:32:26Z","git_url":"git://github.com/dForDeveloper/magic-whateverly.git","ssh_url":"git@github.com:dForDeveloper/magic-whateverly.git","clone_url":"https://github.com/dForDeveloper/magic-whateverly.git","svn_url":"https://github.com/dForDeveloper/magic-whateverly","homepage":"https://dfordeveloper.github.io/magic-whateverly/","size":312,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":20,"license":null,"forks":0,"open_issues":20,"watchers":2,"default_branch":"master"}},"base":{"label":"dForDeveloper:master","ref":"master","sha":"e7a9b290972d496a59d51922c681884cec274778","user":{"login":"dForDeveloper","id":41239540,"node_id":"MDQ6VXNlcjQxMjM5NTQw","avatar_url":"https://avatars1.githubusercontent.com/u/41239540?v=4","gravatar_id":"","url":"https://api.github.com/users/dForDeveloper","html_url":"https://github.com/dForDeveloper","followers_url":"https://api.github.com/users/dForDeveloper/followers","following_url":"https://api.github.com/users/dForDeveloper/following{/other_user}","gists_url":"https://api.github.com/users/dForDeveloper/gists{/gist_id}","starred_url":"https://api.github.com/users/dForDeveloper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dForDeveloper/subscriptions","organizations_url":"https://api.github.com/users/dForDeveloper/orgs","repos_url":"https://api.github.com/users/dForDeveloper/repos","events_url":"https://api.github.com/users/dForDeveloper/events{/privacy}","received_events_url":"https://api.github.com/users/dForDeveloper/received_events","type":"User","site_admin":false},"repo":{"id":162188008,"node_id":"MDEwOlJlcG9zaXRvcnkxNjIxODgwMDg=","name":"magic-whateverly","full_name":"dForDeveloper/magic-whateverly","private":false,"owner":{"login":"dForDeveloper","id":41239540,"node_id":"MDQ6VXNlcjQxMjM5NTQw","avatar_url":"https://avatars1.githubusercontent.com/u/41239540?v=4","gravatar_id":"","url":"https://api.github.com/users/dForDeveloper","html_url":"https://github.com/dForDeveloper","followers_url":"https://api.github.com/users/dForDeveloper/followers","following_url":"https://api.github.com/users/dForDeveloper/following{/other_user}","gists_url":"https://api.github.com/users/dForDeveloper/gists{/gist_id}","starred_url":"https://api.github.com/users/dForDeveloper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dForDeveloper/subscriptions","organizations_url":"https://api.github.com/users/dForDeveloper/orgs","repos_url":"https://api.github.com/users/dForDeveloper/repos","events_url":"https://api.github.com/users/dForDeveloper/events{/privacy}","received_events_url":"https://api.github.com/users/dForDeveloper/received_events","type":"User","site_admin":false},"html_url":"https://github.com/dForDeveloper/magic-whateverly","description":null,"fork":false,"url":"https://api.github.com/repos/dForDeveloper/magic-whateverly","forks_url":"https://api.github.com/repos/dForDeveloper/magic-whateverly/forks","keys_url":"https://api.github.com/repos/dForDeveloper/magic-whateverly/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dForDeveloper/magic-whateverly/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dForDeveloper/magic-whateverly/teams","hooks_url":"https://api.github.com/repos/dForDeveloper/magic-whateverly/hooks","issue_events_url":"https://api.github.com/repos/dForDeveloper/magic-whateverly/issues/events{/number}","events_url":"https://api.github.com/repos/dForDeveloper/magic-whateverly/events","assignees_url":"https://api.github.com/repos/dForDeveloper/magic-whateverly/assignees{/user}","branches_url":"https://api.github.com/repos/dForDeveloper/magic-whateverly/branches{/branch}","tags_url":"https://api.github.com/repos/dForDeveloper/magic-whateverly/tags","blobs_url":"https://api.github.com/repos/dForDeveloper/magic-whateverly/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dForDeveloper/magic-whateverly/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dForDeveloper/magic-whateverly/git/refs{/sha}","trees_url":"https://api.github.com/repos/dForDeveloper/magic-whateverly/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dForDeveloper/magic-whateverly/statuses/{sha}","languages_url":"https://api.github.com/repos/dForDeveloper/magic-whateverly/languages","stargazers_url":"https://api.github.com/repos/dForDeveloper/magic-whateverly/stargazers","contributors_url":"https://api.github.com/repos/dForDeveloper/magic-whateverly/contributors","subscribers_url":"https://api.github.com/repos/dForDeveloper/magic-whateverly/subscribers","subscription_url":"https://api.github.com/repos/dForDeveloper/magic-whateverly/subscription","commits_url":"https://api.github.com/repos/dForDeveloper/magic-whateverly/commits{/sha}","git_commits_url":"https://api.github.com/repos/dForDeveloper/magic-whateverly/git/commits{/sha}","comments_url":"https://api.github.com/repos/dForDeveloper/magic-whateverly/comments{/number}","issue_comment_url":"https://api.github.com/repos/dForDeveloper/magic-whateverly/issues/comments{/number}","contents_url":"https://api.github.com/repos/dForDeveloper/magic-whateverly/contents/{+path}","compare_url":"https://api.github.com/repos/dForDeveloper/magic-whateverly/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dForDeveloper/magic-whateverly/merges","archive_url":"https://api.github.com/repos/dForDeveloper/magic-whateverly/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dForDeveloper/magic-whateverly/downloads","issues_url":"https://api.github.com/repos/dForDeveloper/magic-whateverly/issues{/number}","pulls_url":"https://api.github.com/repos/dForDeveloper/magic-whateverly/pulls{/number}","milestones_url":"https://api.github.com/repos/dForDeveloper/magic-whateverly/milestones{/number}","notifications_url":"https://api.github.com/repos/dForDeveloper/magic-whateverly/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dForDeveloper/magic-whateverly/labels{/name}","releases_url":"https://api.github.com/repos/dForDeveloper/magic-whateverly/releases{/id}","deployments_url":"https://api.github.com/repos/dForDeveloper/magic-whateverly/deployments","created_at":"2018-12-17T20:47:47Z","updated_at":"2018-12-19T01:08:51Z","pushed_at":"2018-12-19T05:32:26Z","git_url":"git://github.com/dForDeveloper/magic-whateverly.git","ssh_url":"git@github.com:dForDeveloper/magic-whateverly.git","clone_url":"https://github.com/dForDeveloper/magic-whateverly.git","svn_url":"https://github.com/dForDeveloper/magic-whateverly","homepage":"https://dfordeveloper.github.io/magic-whateverly/","size":312,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":20,"license":null,"forks":0,"open_issues":20,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dForDeveloper/magic-whateverly/pulls/20"},"html":{"href":"https://github.com/dForDeveloper/magic-whateverly/pull/20"},"issue":{"href":"https://api.github.com/repos/dForDeveloper/magic-whateverly/issues/20"},"comments":{"href":"https://api.github.com/repos/dForDeveloper/magic-whateverly/issues/20/comments"},"review_comments":{"href":"https://api.github.com/repos/dForDeveloper/magic-whateverly/pulls/20/comments"},"review_comment":{"href":"https://api.github.com/repos/dForDeveloper/magic-whateverly/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dForDeveloper/magic-whateverly/pulls/20/commits"},"statuses":{"href":"https://api.github.com/repos/dForDeveloper/magic-whateverly/statuses/5116d58b0373b3877d3d296d52904f5f698eae5f"}},"author_association":"OWNER"}}
{"actor":{"display_login":"dylhof"}}