{"action":"created","comment":{"url":"https://api.github.com/repos/revelrylabs/bn-mobile-react/pulls/comments/234307364","pull_request_review_id":175915976,"id":234307364,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzNDMwNzM2NA==","diff_hunk":"@@ -12,9 +13,27 @@ class EventManagerContainer extends Container {\n       statusIcon: '',\n       ticketInfo: {},\n       scanType: 'redeem',\n+      scanResult: null,\n+      events: [],\n+      eventToScan: {},\n     }\n   }\n \n+  get events() {\n+    return this.state.events\n+  }\n+\n+  // TODO: filter by live vs upcoming?","path":"src/state/eventManagerStateProvider.js","position":22,"original_position":22,"commit_id":"61ade0c698e0aecf541da8913fd707771de578a8","original_commit_id":"61ade0c698e0aecf541da8913fd707771de578a8","user":{"login":"daybreaker","id":12603,"node_id":"MDQ6VXNlcjEyNjAz","avatar_url":"https://avatars2.githubusercontent.com/u/12603?v=4","gravatar_id":"","url":"https://api.github.com/users/daybreaker","html_url":"https://github.com/daybreaker","followers_url":"https://api.github.com/users/daybreaker/followers","following_url":"https://api.github.com/users/daybreaker/following{/other_user}","gists_url":"https://api.github.com/users/daybreaker/gists{/gist_id}","starred_url":"https://api.github.com/users/daybreaker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daybreaker/subscriptions","organizations_url":"https://api.github.com/users/daybreaker/orgs","repos_url":"https://api.github.com/users/daybreaker/repos","events_url":"https://api.github.com/users/daybreaker/events{/privacy}","received_events_url":"https://api.github.com/users/daybreaker/received_events","type":"User","site_admin":false},"body":"So, I think there's a different way to get these events, rather than the normal events list.\r\n\r\nBased on the bn-web app, it looks like a user has organizations, and an organization can have events. But it also looks like it's not fully implemented yet?\r\n\r\nhttps://github.com/big-neon/bn-web/blob/master/src/components/pages/admin/events/List.js#L84\r\n\r\nYou might want to ask Keith which endpoint is the best for getting the Doorman EventManager event listing, or if for now maybe the normal event listing is fine?","created_at":"2018-11-16T18:37:33Z","updated_at":"2018-11-16T18:38:44Z","html_url":"https://github.com/revelrylabs/bn-mobile-react/pull/271#discussion_r234307364","pull_request_url":"https://api.github.com/repos/revelrylabs/bn-mobile-react/pulls/271","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/revelrylabs/bn-mobile-react/pulls/comments/234307364"},"html":{"href":"https://github.com/revelrylabs/bn-mobile-react/pull/271#discussion_r234307364"},"pull_request":{"href":"https://api.github.com/repos/revelrylabs/bn-mobile-react/pulls/271"}}},"pull_request":{"url":"https://api.github.com/repos/revelrylabs/bn-mobile-react/pulls/271","id":230954396,"node_id":"MDExOlB1bGxSZXF1ZXN0MjMwOTU0Mzk2","html_url":"https://github.com/revelrylabs/bn-mobile-react/pull/271","diff_url":"https://github.com/revelrylabs/bn-mobile-react/pull/271.diff","patch_url":"https://github.com/revelrylabs/bn-mobile-react/pull/271.patch","issue_url":"https://api.github.com/repos/revelrylabs/bn-mobile-react/issues/271","number":271,"state":"open","locked":false,"title":"get ticket scanning nominally working","user":{"login":"chas-mcmahon","id":3608676,"node_id":"MDQ6VXNlcjM2MDg2NzY=","avatar_url":"https://avatars2.githubusercontent.com/u/3608676?v=4","gravatar_id":"","url":"https://api.github.com/users/chas-mcmahon","html_url":"https://github.com/chas-mcmahon","followers_url":"https://api.github.com/users/chas-mcmahon/followers","following_url":"https://api.github.com/users/chas-mcmahon/following{/other_user}","gists_url":"https://api.github.com/users/chas-mcmahon/gists{/gist_id}","starred_url":"https://api.github.com/users/chas-mcmahon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chas-mcmahon/subscriptions","organizations_url":"https://api.github.com/users/chas-mcmahon/orgs","repos_url":"https://api.github.com/users/chas-mcmahon/repos","events_url":"https://api.github.com/users/chas-mcmahon/events{/privacy}","received_events_url":"https://api.github.com/users/chas-mcmahon/received_events","type":"User","site_admin":false},"body":"connect #238\r\n@daybreaker This is ready for review. I left a lot of questions/comments and todos in the code, let me know if you know the answers to any of 'em or if they don't make sense.\r\n\r\n~~WIP / don't merge~~\r\n\r\n~~needs some design help before merging, but automatic scanning seems to be working. I'm not sure if there need to be more steps for the failure modes, but I think I saw a comment on the manual check in ticket about alternatives to scanning in case of server errors, device malfunctions, or w/e else.~~\r\n\r\n~~adding @daybreaker for review since the technical bits are ready enough for another pair of eyes~~","created_at":"2018-11-14T19:30:24Z","updated_at":"2018-11-16T18:38:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f698796f2379b5109646cad958994a3246d062f0","assignee":{"login":"daybreaker","id":12603,"node_id":"MDQ6VXNlcjEyNjAz","avatar_url":"https://avatars2.githubusercontent.com/u/12603?v=4","gravatar_id":"","url":"https://api.github.com/users/daybreaker","html_url":"https://github.com/daybreaker","followers_url":"https://api.github.com/users/daybreaker/followers","following_url":"https://api.github.com/users/daybreaker/following{/other_user}","gists_url":"https://api.github.com/users/daybreaker/gists{/gist_id}","starred_url":"https://api.github.com/users/daybreaker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daybreaker/subscriptions","organizations_url":"https://api.github.com/users/daybreaker/orgs","repos_url":"https://api.github.com/users/daybreaker/repos","events_url":"https://api.github.com/users/daybreaker/events{/privacy}","received_events_url":"https://api.github.com/users/daybreaker/received_events","type":"User","site_admin":false},"assignees":[{"login":"daybreaker","id":12603,"node_id":"MDQ6VXNlcjEyNjAz","avatar_url":"https://avatars2.githubusercontent.com/u/12603?v=4","gravatar_id":"","url":"https://api.github.com/users/daybreaker","html_url":"https://github.com/daybreaker","followers_url":"https://api.github.com/users/daybreaker/followers","following_url":"https://api.github.com/users/daybreaker/following{/other_user}","gists_url":"https://api.github.com/users/daybreaker/gists{/gist_id}","starred_url":"https://api.github.com/users/daybreaker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daybreaker/subscriptions","organizations_url":"https://api.github.com/users/daybreaker/orgs","repos_url":"https://api.github.com/users/daybreaker/repos","events_url":"https://api.github.com/users/daybreaker/events{/privacy}","received_events_url":"https://api.github.com/users/daybreaker/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":1016354789,"node_id":"MDU6TGFiZWwxMDE2MzU0Nzg5","url":"https://api.github.com/repos/revelrylabs/bn-mobile-react/labels/in%20progress","name":"in progress","color":"ededed","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/revelrylabs/bn-mobile-react/pulls/271/commits","review_comments_url":"https://api.github.com/repos/revelrylabs/bn-mobile-react/pulls/271/comments","review_comment_url":"https://api.github.com/repos/revelrylabs/bn-mobile-react/pulls/comments{/number}","comments_url":"https://api.github.com/repos/revelrylabs/bn-mobile-react/issues/271/comments","statuses_url":"https://api.github.com/repos/revelrylabs/bn-mobile-react/statuses/61ade0c698e0aecf541da8913fd707771de578a8","head":{"label":"revelrylabs:238-ticket-scan-check-in","ref":"238-ticket-scan-check-in","sha":"61ade0c698e0aecf541da8913fd707771de578a8","user":{"login":"revelrylabs","id":43271,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQzMjcx","avatar_url":"https://avatars0.githubusercontent.com/u/43271?v=4","gravatar_id":"","url":"https://api.github.com/users/revelrylabs","html_url":"https://github.com/revelrylabs","followers_url":"https://api.github.com/users/revelrylabs/followers","following_url":"https://api.github.com/users/revelrylabs/following{/other_user}","gists_url":"https://api.github.com/users/revelrylabs/gists{/gist_id}","starred_url":"https://api.github.com/users/revelrylabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/revelrylabs/subscriptions","organizations_url":"https://api.github.com/users/revelrylabs/orgs","repos_url":"https://api.github.com/users/revelrylabs/repos","events_url":"https://api.github.com/users/revelrylabs/events{/privacy}","received_events_url":"https://api.github.com/users/revelrylabs/received_events","type":"Organization","site_admin":false},"repo":{"id":143337363,"node_id":"MDEwOlJlcG9zaXRvcnkxNDMzMzczNjM=","name":"bn-mobile-react","full_name":"revelrylabs/bn-mobile-react","private":false,"owner":{"login":"revelrylabs","id":43271,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQzMjcx","avatar_url":"https://avatars0.githubusercontent.com/u/43271?v=4","gravatar_id":"","url":"https://api.github.com/users/revelrylabs","html_url":"https://github.com/revelrylabs","followers_url":"https://api.github.com/users/revelrylabs/followers","following_url":"https://api.github.com/users/revelrylabs/following{/other_user}","gists_url":"https://api.github.com/users/revelrylabs/gists{/gist_id}","starred_url":"https://api.github.com/users/revelrylabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/revelrylabs/subscriptions","organizations_url":"https://api.github.com/users/revelrylabs/orgs","repos_url":"https://api.github.com/users/revelrylabs/repos","events_url":"https://api.github.com/users/revelrylabs/events{/privacy}","received_events_url":"https://api.github.com/users/revelrylabs/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/revelrylabs/bn-mobile-react","description":"BigNeon React Native Repo","fork":true,"url":"https://api.github.com/repos/revelrylabs/bn-mobile-react","forks_url":"https://api.github.com/repos/revelrylabs/bn-mobile-react/forks","keys_url":"https://api.github.com/repos/revelrylabs/bn-mobile-react/keys{/key_id}","collaborators_url":"https://api.github.com/repos/revelrylabs/bn-mobile-react/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/revelrylabs/bn-mobile-react/teams","hooks_url":"https://api.github.com/repos/revelrylabs/bn-mobile-react/hooks","issue_events_url":"https://api.github.com/repos/revelrylabs/bn-mobile-react/issues/events{/number}","events_url":"https://api.github.com/repos/revelrylabs/bn-mobile-react/events","assignees_url":"https://api.github.com/repos/revelrylabs/bn-mobile-react/assignees{/user}","branches_url":"https://api.github.com/repos/revelrylabs/bn-mobile-react/branches{/branch}","tags_url":"https://api.github.com/repos/revelrylabs/bn-mobile-react/tags","blobs_url":"https://api.github.com/repos/revelrylabs/bn-mobile-react/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/revelrylabs/bn-mobile-react/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/revelrylabs/bn-mobile-react/git/refs{/sha}","trees_url":"https://api.github.com/repos/revelrylabs/bn-mobile-react/git/trees{/sha}","statuses_url":"https://api.github.com/repos/revelrylabs/bn-mobile-react/statuses/{sha}","languages_url":"https://api.github.com/repos/revelrylabs/bn-mobile-react/languages","stargazers_url":"https://api.github.com/repos/revelrylabs/bn-mobile-react/stargazers","contributors_url":"https://api.github.com/repos/revelrylabs/bn-mobile-react/contributors","subscribers_url":"https://api.github.com/repos/revelrylabs/bn-mobile-react/subscribers","subscription_url":"https://api.github.com/repos/revelrylabs/bn-mobile-react/subscription","commits_url":"https://api.github.com/repos/revelrylabs/bn-mobile-react/commits{/sha}","git_commits_url":"https://api.github.com/repos/revelrylabs/bn-mobile-react/git/commits{/sha}","comments_url":"https://api.github.com/repos/revelrylabs/bn-mobile-react/comments{/number}","issue_comment_url":"https://api.github.com/repos/revelrylabs/bn-mobile-react/issues/comments{/number}","contents_url":"https://api.github.com/repos/revelrylabs/bn-mobile-react/contents/{+path}","compare_url":"https://api.github.com/repos/revelrylabs/bn-mobile-react/compare/{base}...{head}","merges_url":"https://api.github.com/repos/revelrylabs/bn-mobile-react/merges","archive_url":"https://api.github.com/repos/revelrylabs/bn-mobile-react/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/revelrylabs/bn-mobile-react/downloads","issues_url":"https://api.github.com/repos/revelrylabs/bn-mobile-react/issues{/number}","pulls_url":"https://api.github.com/repos/revelrylabs/bn-mobile-react/pulls{/number}","milestones_url":"https://api.github.com/repos/revelrylabs/bn-mobile-react/milestones{/number}","notifications_url":"https://api.github.com/repos/revelrylabs/bn-mobile-react/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/revelrylabs/bn-mobile-react/labels{/name}","releases_url":"https://api.github.com/repos/revelrylabs/bn-mobile-react/releases{/id}","deployments_url":"https://api.github.com/repos/revelrylabs/bn-mobile-react/deployments","created_at":"2018-08-02T19:36:02Z","updated_at":"2018-11-09T21:33:11Z","pushed_at":"2018-11-16T06:07:58Z","git_url":"git://github.com/revelrylabs/bn-mobile-react.git","ssh_url":"git@github.com:revelrylabs/bn-mobile-react.git","clone_url":"https://github.com/revelrylabs/bn-mobile-react.git","svn_url":"https://github.com/revelrylabs/bn-mobile-react","homepage":null,"size":51350,"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":0,"mirror_url":null,"archived":false,"open_issues_count":89,"license":{"key":"bsd-3-clause","name":"BSD 3-Clause \"New\" or \"Revised\" License","spdx_id":"BSD-3-Clause","url":"https://api.github.com/licenses/bsd-3-clause","node_id":"MDc6TGljZW5zZTU="},"forks":0,"open_issues":89,"watchers":0,"default_branch":"develop"}},"base":{"label":"revelrylabs:develop","ref":"develop","sha":"5895ad505ba76e84293e789f2a0668f59b1ea934","user":{"login":"revelrylabs","id":43271,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQzMjcx","avatar_url":"https://avatars0.githubusercontent.com/u/43271?v=4","gravatar_id":"","url":"https://api.github.com/users/revelrylabs","html_url":"https://github.com/revelrylabs","followers_url":"https://api.github.com/users/revelrylabs/followers","following_url":"https://api.github.com/users/revelrylabs/following{/other_user}","gists_url":"https://api.github.com/users/revelrylabs/gists{/gist_id}","starred_url":"https://api.github.com/users/revelrylabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/revelrylabs/subscriptions","organizations_url":"https://api.github.com/users/revelrylabs/orgs","repos_url":"https://api.github.com/users/revelrylabs/repos","events_url":"https://api.github.com/users/revelrylabs/events{/privacy}","received_events_url":"https://api.github.com/users/revelrylabs/received_events","type":"Organization","site_admin":false},"repo":{"id":143337363,"node_id":"MDEwOlJlcG9zaXRvcnkxNDMzMzczNjM=","name":"bn-mobile-react","full_name":"revelrylabs/bn-mobile-react","private":false,"owner":{"login":"revelrylabs","id":43271,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQzMjcx","avatar_url":"https://avatars0.githubusercontent.com/u/43271?v=4","gravatar_id":"","url":"https://api.github.com/users/revelrylabs","html_url":"https://github.com/revelrylabs","followers_url":"https://api.github.com/users/revelrylabs/followers","following_url":"https://api.github.com/users/revelrylabs/following{/other_user}","gists_url":"https://api.github.com/users/revelrylabs/gists{/gist_id}","starred_url":"https://api.github.com/users/revelrylabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/revelrylabs/subscriptions","organizations_url":"https://api.github.com/users/revelrylabs/orgs","repos_url":"https://api.github.com/users/revelrylabs/repos","events_url":"https://api.github.com/users/revelrylabs/events{/privacy}","received_events_url":"https://api.github.com/users/revelrylabs/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/revelrylabs/bn-mobile-react","description":"BigNeon React Native Repo","fork":true,"url":"https://api.github.com/repos/revelrylabs/bn-mobile-react","forks_url":"https://api.github.com/repos/revelrylabs/bn-mobile-react/forks","keys_url":"https://api.github.com/repos/revelrylabs/bn-mobile-react/keys{/key_id}","collaborators_url":"https://api.github.com/repos/revelrylabs/bn-mobile-react/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/revelrylabs/bn-mobile-react/teams","hooks_url":"https://api.github.com/repos/revelrylabs/bn-mobile-react/hooks","issue_events_url":"https://api.github.com/repos/revelrylabs/bn-mobile-react/issues/events{/number}","events_url":"https://api.github.com/repos/revelrylabs/bn-mobile-react/events","assignees_url":"https://api.github.com/repos/revelrylabs/bn-mobile-react/assignees{/user}","branches_url":"https://api.github.com/repos/revelrylabs/bn-mobile-react/branches{/branch}","tags_url":"https://api.github.com/repos/revelrylabs/bn-mobile-react/tags","blobs_url":"https://api.github.com/repos/revelrylabs/bn-mobile-react/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/revelrylabs/bn-mobile-react/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/revelrylabs/bn-mobile-react/git/refs{/sha}","trees_url":"https://api.github.com/repos/revelrylabs/bn-mobile-react/git/trees{/sha}","statuses_url":"https://api.github.com/repos/revelrylabs/bn-mobile-react/statuses/{sha}","languages_url":"https://api.github.com/repos/revelrylabs/bn-mobile-react/languages","stargazers_url":"https://api.github.com/repos/revelrylabs/bn-mobile-react/stargazers","contributors_url":"https://api.github.com/repos/revelrylabs/bn-mobile-react/contributors","subscribers_url":"https://api.github.com/repos/revelrylabs/bn-mobile-react/subscribers","subscription_url":"https://api.github.com/repos/revelrylabs/bn-mobile-react/subscription","commits_url":"https://api.github.com/repos/revelrylabs/bn-mobile-react/commits{/sha}","git_commits_url":"https://api.github.com/repos/revelrylabs/bn-mobile-react/git/commits{/sha}","comments_url":"https://api.github.com/repos/revelrylabs/bn-mobile-react/comments{/number}","issue_comment_url":"https://api.github.com/repos/revelrylabs/bn-mobile-react/issues/comments{/number}","contents_url":"https://api.github.com/repos/revelrylabs/bn-mobile-react/contents/{+path}","compare_url":"https://api.github.com/repos/revelrylabs/bn-mobile-react/compare/{base}...{head}","merges_url":"https://api.github.com/repos/revelrylabs/bn-mobile-react/merges","archive_url":"https://api.github.com/repos/revelrylabs/bn-mobile-react/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/revelrylabs/bn-mobile-react/downloads","issues_url":"https://api.github.com/repos/revelrylabs/bn-mobile-react/issues{/number}","pulls_url":"https://api.github.com/repos/revelrylabs/bn-mobile-react/pulls{/number}","milestones_url":"https://api.github.com/repos/revelrylabs/bn-mobile-react/milestones{/number}","notifications_url":"https://api.github.com/repos/revelrylabs/bn-mobile-react/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/revelrylabs/bn-mobile-react/labels{/name}","releases_url":"https://api.github.com/repos/revelrylabs/bn-mobile-react/releases{/id}","deployments_url":"https://api.github.com/repos/revelrylabs/bn-mobile-react/deployments","created_at":"2018-08-02T19:36:02Z","updated_at":"2018-11-09T21:33:11Z","pushed_at":"2018-11-16T06:07:58Z","git_url":"git://github.com/revelrylabs/bn-mobile-react.git","ssh_url":"git@github.com:revelrylabs/bn-mobile-react.git","clone_url":"https://github.com/revelrylabs/bn-mobile-react.git","svn_url":"https://github.com/revelrylabs/bn-mobile-react","homepage":null,"size":51350,"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":0,"mirror_url":null,"archived":false,"open_issues_count":89,"license":{"key":"bsd-3-clause","name":"BSD 3-Clause \"New\" or \"Revised\" License","spdx_id":"BSD-3-Clause","url":"https://api.github.com/licenses/bsd-3-clause","node_id":"MDc6TGljZW5zZTU="},"forks":0,"open_issues":89,"watchers":0,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/revelrylabs/bn-mobile-react/pulls/271"},"html":{"href":"https://github.com/revelrylabs/bn-mobile-react/pull/271"},"issue":{"href":"https://api.github.com/repos/revelrylabs/bn-mobile-react/issues/271"},"comments":{"href":"https://api.github.com/repos/revelrylabs/bn-mobile-react/issues/271/comments"},"review_comments":{"href":"https://api.github.com/repos/revelrylabs/bn-mobile-react/pulls/271/comments"},"review_comment":{"href":"https://api.github.com/repos/revelrylabs/bn-mobile-react/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/revelrylabs/bn-mobile-react/pulls/271/commits"},"statuses":{"href":"https://api.github.com/repos/revelrylabs/bn-mobile-react/statuses/61ade0c698e0aecf541da8913fd707771de578a8"}},"author_association":"NONE"}}
{"actor":{"display_login":"daybreaker"}}