{"action":"opened","number":96,"pull_request":{"url":"https://api.github.com/repos/acceptmycrypto/AMC-Web/pulls/96","id":235324827,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM1MzI0ODI3","html_url":"https://github.com/acceptmycrypto/AMC-Web/pull/96","diff_url":"https://github.com/acceptmycrypto/AMC-Web/pull/96.diff","patch_url":"https://github.com/acceptmycrypto/AMC-Web/pull/96.patch","issue_url":"https://api.github.com/repos/acceptmycrypto/AMC-Web/issues/96","number":96,"state":"open","locked":false,"title":"Navbar category","user":{"login":"simonnguyen3054","id":33471438,"node_id":"MDQ6VXNlcjMzNDcxNDM4","avatar_url":"https://avatars0.githubusercontent.com/u/33471438?v=4","gravatar_id":"","url":"https://api.github.com/users/simonnguyen3054","html_url":"https://github.com/simonnguyen3054","followers_url":"https://api.github.com/users/simonnguyen3054/followers","following_url":"https://api.github.com/users/simonnguyen3054/following{/other_user}","gists_url":"https://api.github.com/users/simonnguyen3054/gists{/gist_id}","starred_url":"https://api.github.com/users/simonnguyen3054/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simonnguyen3054/subscriptions","organizations_url":"https://api.github.com/users/simonnguyen3054/orgs","repos_url":"https://api.github.com/users/simonnguyen3054/repos","events_url":"https://api.github.com/users/simonnguyen3054/events{/privacy}","received_events_url":"https://api.github.com/users/simonnguyen3054/received_events","type":"User","site_admin":false},"body":"- category column is added to the users_purchase table\r\n- categories in this case is not strict. We just have to come up with a name for the category. Based on the deal items we have in our seed file, I just named the categories based on the deal items. It's gonna be changed when we have real deal items. \r\n- On the front end, deal items are filtered based on its category. (thanks to Yanan's work on the search filtering. I just built mine filtering based on that)\r\n- Added function to reset filter when user clicks on logo or deals on the navbar. ","created_at":"2018-12-03T04:41:40Z","updated_at":"2018-12-03T04:41:40Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/acceptmycrypto/AMC-Web/pulls/96/commits","review_comments_url":"https://api.github.com/repos/acceptmycrypto/AMC-Web/pulls/96/comments","review_comment_url":"https://api.github.com/repos/acceptmycrypto/AMC-Web/pulls/comments{/number}","comments_url":"https://api.github.com/repos/acceptmycrypto/AMC-Web/issues/96/comments","statuses_url":"https://api.github.com/repos/acceptmycrypto/AMC-Web/statuses/b4c9c26cfe9c7109439704da10886942e62d0602","head":{"label":"acceptmycrypto:navbar-category","ref":"navbar-category","sha":"b4c9c26cfe9c7109439704da10886942e62d0602","user":{"login":"acceptmycrypto","id":44853501,"node_id":"MDQ6VXNlcjQ0ODUzNTAx","avatar_url":"https://avatars2.githubusercontent.com/u/44853501?v=4","gravatar_id":"","url":"https://api.github.com/users/acceptmycrypto","html_url":"https://github.com/acceptmycrypto","followers_url":"https://api.github.com/users/acceptmycrypto/followers","following_url":"https://api.github.com/users/acceptmycrypto/following{/other_user}","gists_url":"https://api.github.com/users/acceptmycrypto/gists{/gist_id}","starred_url":"https://api.github.com/users/acceptmycrypto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acceptmycrypto/subscriptions","organizations_url":"https://api.github.com/users/acceptmycrypto/orgs","repos_url":"https://api.github.com/users/acceptmycrypto/repos","events_url":"https://api.github.com/users/acceptmycrypto/events{/privacy}","received_events_url":"https://api.github.com/users/acceptmycrypto/received_events","type":"User","site_admin":false},"repo":{"id":156642508,"node_id":"MDEwOlJlcG9zaXRvcnkxNTY2NDI1MDg=","name":"AMC-Web","full_name":"acceptmycrypto/AMC-Web","private":false,"owner":{"login":"acceptmycrypto","id":44853501,"node_id":"MDQ6VXNlcjQ0ODUzNTAx","avatar_url":"https://avatars2.githubusercontent.com/u/44853501?v=4","gravatar_id":"","url":"https://api.github.com/users/acceptmycrypto","html_url":"https://github.com/acceptmycrypto","followers_url":"https://api.github.com/users/acceptmycrypto/followers","following_url":"https://api.github.com/users/acceptmycrypto/following{/other_user}","gists_url":"https://api.github.com/users/acceptmycrypto/gists{/gist_id}","starred_url":"https://api.github.com/users/acceptmycrypto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acceptmycrypto/subscriptions","organizations_url":"https://api.github.com/users/acceptmycrypto/orgs","repos_url":"https://api.github.com/users/acceptmycrypto/repos","events_url":"https://api.github.com/users/acceptmycrypto/events{/privacy}","received_events_url":"https://api.github.com/users/acceptmycrypto/received_events","type":"User","site_admin":false},"html_url":"https://github.com/acceptmycrypto/AMC-Web","description":null,"fork":false,"url":"https://api.github.com/repos/acceptmycrypto/AMC-Web","forks_url":"https://api.github.com/repos/acceptmycrypto/AMC-Web/forks","keys_url":"https://api.github.com/repos/acceptmycrypto/AMC-Web/keys{/key_id}","collaborators_url":"https://api.github.com/repos/acceptmycrypto/AMC-Web/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/acceptmycrypto/AMC-Web/teams","hooks_url":"https://api.github.com/repos/acceptmycrypto/AMC-Web/hooks","issue_events_url":"https://api.github.com/repos/acceptmycrypto/AMC-Web/issues/events{/number}","events_url":"https://api.github.com/repos/acceptmycrypto/AMC-Web/events","assignees_url":"https://api.github.com/repos/acceptmycrypto/AMC-Web/assignees{/user}","branches_url":"https://api.github.com/repos/acceptmycrypto/AMC-Web/branches{/branch}","tags_url":"https://api.github.com/repos/acceptmycrypto/AMC-Web/tags","blobs_url":"https://api.github.com/repos/acceptmycrypto/AMC-Web/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/acceptmycrypto/AMC-Web/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/acceptmycrypto/AMC-Web/git/refs{/sha}","trees_url":"https://api.github.com/repos/acceptmycrypto/AMC-Web/git/trees{/sha}","statuses_url":"https://api.github.com/repos/acceptmycrypto/AMC-Web/statuses/{sha}","languages_url":"https://api.github.com/repos/acceptmycrypto/AMC-Web/languages","stargazers_url":"https://api.github.com/repos/acceptmycrypto/AMC-Web/stargazers","contributors_url":"https://api.github.com/repos/acceptmycrypto/AMC-Web/contributors","subscribers_url":"https://api.github.com/repos/acceptmycrypto/AMC-Web/subscribers","subscription_url":"https://api.github.com/repos/acceptmycrypto/AMC-Web/subscription","commits_url":"https://api.github.com/repos/acceptmycrypto/AMC-Web/commits{/sha}","git_commits_url":"https://api.github.com/repos/acceptmycrypto/AMC-Web/git/commits{/sha}","comments_url":"https://api.github.com/repos/acceptmycrypto/AMC-Web/comments{/number}","issue_comment_url":"https://api.github.com/repos/acceptmycrypto/AMC-Web/issues/comments{/number}","contents_url":"https://api.github.com/repos/acceptmycrypto/AMC-Web/contents/{+path}","compare_url":"https://api.github.com/repos/acceptmycrypto/AMC-Web/compare/{base}...{head}","merges_url":"https://api.github.com/repos/acceptmycrypto/AMC-Web/merges","archive_url":"https://api.github.com/repos/acceptmycrypto/AMC-Web/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/acceptmycrypto/AMC-Web/downloads","issues_url":"https://api.github.com/repos/acceptmycrypto/AMC-Web/issues{/number}","pulls_url":"https://api.github.com/repos/acceptmycrypto/AMC-Web/pulls{/number}","milestones_url":"https://api.github.com/repos/acceptmycrypto/AMC-Web/milestones{/number}","notifications_url":"https://api.github.com/repos/acceptmycrypto/AMC-Web/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/acceptmycrypto/AMC-Web/labels{/name}","releases_url":"https://api.github.com/repos/acceptmycrypto/AMC-Web/releases{/id}","deployments_url":"https://api.github.com/repos/acceptmycrypto/AMC-Web/deployments","created_at":"2018-11-08T03:04:20Z","updated_at":"2018-12-01T02:59:34Z","pushed_at":"2018-12-03T04:37:28Z","git_url":"git://github.com/acceptmycrypto/AMC-Web.git","ssh_url":"git@github.com:acceptmycrypto/AMC-Web.git","clone_url":"https://github.com/acceptmycrypto/AMC-Web.git","svn_url":"https://github.com/acceptmycrypto/AMC-Web","homepage":null,"size":557,"stargazers_count":4,"watchers_count":4,"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":36,"license":null,"forks":0,"open_issues":36,"watchers":4,"default_branch":"master"}},"base":{"label":"acceptmycrypto:deployment","ref":"deployment","sha":"55ffc56735945f120908d91a3e498a3850d2567f","user":{"login":"acceptmycrypto","id":44853501,"node_id":"MDQ6VXNlcjQ0ODUzNTAx","avatar_url":"https://avatars2.githubusercontent.com/u/44853501?v=4","gravatar_id":"","url":"https://api.github.com/users/acceptmycrypto","html_url":"https://github.com/acceptmycrypto","followers_url":"https://api.github.com/users/acceptmycrypto/followers","following_url":"https://api.github.com/users/acceptmycrypto/following{/other_user}","gists_url":"https://api.github.com/users/acceptmycrypto/gists{/gist_id}","starred_url":"https://api.github.com/users/acceptmycrypto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acceptmycrypto/subscriptions","organizations_url":"https://api.github.com/users/acceptmycrypto/orgs","repos_url":"https://api.github.com/users/acceptmycrypto/repos","events_url":"https://api.github.com/users/acceptmycrypto/events{/privacy}","received_events_url":"https://api.github.com/users/acceptmycrypto/received_events","type":"User","site_admin":false},"repo":{"id":156642508,"node_id":"MDEwOlJlcG9zaXRvcnkxNTY2NDI1MDg=","name":"AMC-Web","full_name":"acceptmycrypto/AMC-Web","private":false,"owner":{"login":"acceptmycrypto","id":44853501,"node_id":"MDQ6VXNlcjQ0ODUzNTAx","avatar_url":"https://avatars2.githubusercontent.com/u/44853501?v=4","gravatar_id":"","url":"https://api.github.com/users/acceptmycrypto","html_url":"https://github.com/acceptmycrypto","followers_url":"https://api.github.com/users/acceptmycrypto/followers","following_url":"https://api.github.com/users/acceptmycrypto/following{/other_user}","gists_url":"https://api.github.com/users/acceptmycrypto/gists{/gist_id}","starred_url":"https://api.github.com/users/acceptmycrypto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acceptmycrypto/subscriptions","organizations_url":"https://api.github.com/users/acceptmycrypto/orgs","repos_url":"https://api.github.com/users/acceptmycrypto/repos","events_url":"https://api.github.com/users/acceptmycrypto/events{/privacy}","received_events_url":"https://api.github.com/users/acceptmycrypto/received_events","type":"User","site_admin":false},"html_url":"https://github.com/acceptmycrypto/AMC-Web","description":null,"fork":false,"url":"https://api.github.com/repos/acceptmycrypto/AMC-Web","forks_url":"https://api.github.com/repos/acceptmycrypto/AMC-Web/forks","keys_url":"https://api.github.com/repos/acceptmycrypto/AMC-Web/keys{/key_id}","collaborators_url":"https://api.github.com/repos/acceptmycrypto/AMC-Web/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/acceptmycrypto/AMC-Web/teams","hooks_url":"https://api.github.com/repos/acceptmycrypto/AMC-Web/hooks","issue_events_url":"https://api.github.com/repos/acceptmycrypto/AMC-Web/issues/events{/number}","events_url":"https://api.github.com/repos/acceptmycrypto/AMC-Web/events","assignees_url":"https://api.github.com/repos/acceptmycrypto/AMC-Web/assignees{/user}","branches_url":"https://api.github.com/repos/acceptmycrypto/AMC-Web/branches{/branch}","tags_url":"https://api.github.com/repos/acceptmycrypto/AMC-Web/tags","blobs_url":"https://api.github.com/repos/acceptmycrypto/AMC-Web/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/acceptmycrypto/AMC-Web/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/acceptmycrypto/AMC-Web/git/refs{/sha}","trees_url":"https://api.github.com/repos/acceptmycrypto/AMC-Web/git/trees{/sha}","statuses_url":"https://api.github.com/repos/acceptmycrypto/AMC-Web/statuses/{sha}","languages_url":"https://api.github.com/repos/acceptmycrypto/AMC-Web/languages","stargazers_url":"https://api.github.com/repos/acceptmycrypto/AMC-Web/stargazers","contributors_url":"https://api.github.com/repos/acceptmycrypto/AMC-Web/contributors","subscribers_url":"https://api.github.com/repos/acceptmycrypto/AMC-Web/subscribers","subscription_url":"https://api.github.com/repos/acceptmycrypto/AMC-Web/subscription","commits_url":"https://api.github.com/repos/acceptmycrypto/AMC-Web/commits{/sha}","git_commits_url":"https://api.github.com/repos/acceptmycrypto/AMC-Web/git/commits{/sha}","comments_url":"https://api.github.com/repos/acceptmycrypto/AMC-Web/comments{/number}","issue_comment_url":"https://api.github.com/repos/acceptmycrypto/AMC-Web/issues/comments{/number}","contents_url":"https://api.github.com/repos/acceptmycrypto/AMC-Web/contents/{+path}","compare_url":"https://api.github.com/repos/acceptmycrypto/AMC-Web/compare/{base}...{head}","merges_url":"https://api.github.com/repos/acceptmycrypto/AMC-Web/merges","archive_url":"https://api.github.com/repos/acceptmycrypto/AMC-Web/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/acceptmycrypto/AMC-Web/downloads","issues_url":"https://api.github.com/repos/acceptmycrypto/AMC-Web/issues{/number}","pulls_url":"https://api.github.com/repos/acceptmycrypto/AMC-Web/pulls{/number}","milestones_url":"https://api.github.com/repos/acceptmycrypto/AMC-Web/milestones{/number}","notifications_url":"https://api.github.com/repos/acceptmycrypto/AMC-Web/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/acceptmycrypto/AMC-Web/labels{/name}","releases_url":"https://api.github.com/repos/acceptmycrypto/AMC-Web/releases{/id}","deployments_url":"https://api.github.com/repos/acceptmycrypto/AMC-Web/deployments","created_at":"2018-11-08T03:04:20Z","updated_at":"2018-12-01T02:59:34Z","pushed_at":"2018-12-03T04:37:28Z","git_url":"git://github.com/acceptmycrypto/AMC-Web.git","ssh_url":"git@github.com:acceptmycrypto/AMC-Web.git","clone_url":"https://github.com/acceptmycrypto/AMC-Web.git","svn_url":"https://github.com/acceptmycrypto/AMC-Web","homepage":null,"size":557,"stargazers_count":4,"watchers_count":4,"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":36,"license":null,"forks":0,"open_issues":36,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/acceptmycrypto/AMC-Web/pulls/96"},"html":{"href":"https://github.com/acceptmycrypto/AMC-Web/pull/96"},"issue":{"href":"https://api.github.com/repos/acceptmycrypto/AMC-Web/issues/96"},"comments":{"href":"https://api.github.com/repos/acceptmycrypto/AMC-Web/issues/96/comments"},"review_comments":{"href":"https://api.github.com/repos/acceptmycrypto/AMC-Web/pulls/96/comments"},"review_comment":{"href":"https://api.github.com/repos/acceptmycrypto/AMC-Web/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/acceptmycrypto/AMC-Web/pulls/96/commits"},"statuses":{"href":"https://api.github.com/repos/acceptmycrypto/AMC-Web/statuses/b4c9c26cfe9c7109439704da10886942e62d0602"}},"author_association":"COLLABORATOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":3,"additions":134,"deletions":36,"changed_files":11}}
{"actor":{"display_login":"simonnguyen3054"}}