{"action":"created","comment":{"url":"https://api.github.com/repos/CMPUT301W17T11/FeelTrip/pulls/comments/108065997","pull_request_review_id":29074631,"id":108065997,"diff_hunk":"@@ -150,11 +163,43 @@ public void onCheckedChanged(CompoundButton arg0, boolean isChecked) {\n             }\n         });\n \n+        ToggleButton toggleMostRecent = (ToggleButton) findViewById(R.id.toggleMostRecent);\n+        toggleMostRecent.setOnCheckedChangeListener(new CompoundButton.OnCheckedChangeListener() {\n+\n+            @Override\n+            public void onCheckedChanged(CompoundButton arg0, boolean isChecked) {\n+                //Toast.makeText(getApplicationContext(),\"Toggled filter for friends!\",Toast.LENGTH_SHORT).show();\n+                FeelTripApplication.getFilterController().setMostrecentfilter(isChecked);\n+                FeelTripApplication.loadFromElasticSearch();\n+                FeelTripApplication.getMoodAdapter(getBaseContext()).notifyDataSetChanged();\n+            }\n+        });\n+\n+        ImageButton searchButton = (ImageButton) findViewById(R.id.imageButton);\n+        searchButton.setOnClickListener(new View.OnClickListener() {\n+            @Override\n+            public void onClick(View v) {\n+                searchKeyword(v);","path":"app/src/main/java/com/example/henzoshimada/feeltrip/MainScreen.java","position":85,"original_position":85,"commit_id":"58a8ccb4fdb9795c805ef12b17d410cf783f6dbe","original_commit_id":"58a8ccb4fdb9795c805ef12b17d410cf783f6dbe","user":{"login":"cxbrettbaker","id":14657792,"avatar_url":"https://avatars1.githubusercontent.com/u/14657792?v=3","gravatar_id":"","url":"https://api.github.com/users/cxbrettbaker","html_url":"https://github.com/cxbrettbaker","followers_url":"https://api.github.com/users/cxbrettbaker/followers","following_url":"https://api.github.com/users/cxbrettbaker/following{/other_user}","gists_url":"https://api.github.com/users/cxbrettbaker/gists{/gist_id}","starred_url":"https://api.github.com/users/cxbrettbaker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cxbrettbaker/subscriptions","organizations_url":"https://api.github.com/users/cxbrettbaker/orgs","repos_url":"https://api.github.com/users/cxbrettbaker/repos","events_url":"https://api.github.com/users/cxbrettbaker/events{/privacy}","received_events_url":"https://api.github.com/users/cxbrettbaker/received_events","type":"User","site_admin":false},"body":"Backend implementation of the \"Keyword search\" filter","created_at":"2017-03-26T17:22:46Z","updated_at":"2017-03-26T18:00:31Z","html_url":"https://github.com/CMPUT301W17T11/FeelTrip/pull/36#discussion_r108065997","pull_request_url":"https://api.github.com/repos/CMPUT301W17T11/FeelTrip/pulls/36","_links":{"self":{"href":"https://api.github.com/repos/CMPUT301W17T11/FeelTrip/pulls/comments/108065997"},"html":{"href":"https://github.com/CMPUT301W17T11/FeelTrip/pull/36#discussion_r108065997"},"pull_request":{"href":"https://api.github.com/repos/CMPUT301W17T11/FeelTrip/pulls/36"}}},"pull_request":{"url":"https://api.github.com/repos/CMPUT301W17T11/FeelTrip/pulls/36","id":112633838,"html_url":"https://github.com/CMPUT301W17T11/FeelTrip/pull/36","diff_url":"https://github.com/CMPUT301W17T11/FeelTrip/pull/36.diff","patch_url":"https://github.com/CMPUT301W17T11/FeelTrip/pull/36.patch","issue_url":"https://api.github.com/repos/CMPUT301W17T11/FeelTrip/issues/36","number":36,"state":"open","locked":false,"title":"Finish Elasticsearch edit functionality, resolve all Filter issues, improve performance of Elasticsearch queries, fix general UI errors, and ADD ABILITY TO EZ LOAD/DELETE EMOTIONS","user":{"login":"cxbrettbaker","id":14657792,"avatar_url":"https://avatars1.githubusercontent.com/u/14657792?v=3","gravatar_id":"","url":"https://api.github.com/users/cxbrettbaker","html_url":"https://github.com/cxbrettbaker","followers_url":"https://api.github.com/users/cxbrettbaker/followers","following_url":"https://api.github.com/users/cxbrettbaker/following{/other_user}","gists_url":"https://api.github.com/users/cxbrettbaker/gists{/gist_id}","starred_url":"https://api.github.com/users/cxbrettbaker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cxbrettbaker/subscriptions","organizations_url":"https://api.github.com/users/cxbrettbaker/orgs","repos_url":"https://api.github.com/users/cxbrettbaker/repos","events_url":"https://api.github.com/users/cxbrettbaker/events{/privacy}","received_events_url":"https://api.github.com/users/cxbrettbaker/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-03-26T16:30:41Z","updated_at":"2017-03-26T18:00:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2e720439d282281f7579f133506baa83ad73c37a","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/CMPUT301W17T11/FeelTrip/pulls/36/commits","review_comments_url":"https://api.github.com/repos/CMPUT301W17T11/FeelTrip/pulls/36/comments","review_comment_url":"https://api.github.com/repos/CMPUT301W17T11/FeelTrip/pulls/comments{/number}","comments_url":"https://api.github.com/repos/CMPUT301W17T11/FeelTrip/issues/36/comments","statuses_url":"https://api.github.com/repos/CMPUT301W17T11/FeelTrip/statuses/58a8ccb4fdb9795c805ef12b17d410cf783f6dbe","head":{"label":"CMPUT301W17T11:ui-overhaul","ref":"ui-overhaul","sha":"58a8ccb4fdb9795c805ef12b17d410cf783f6dbe","user":{"login":"CMPUT301W17T11","id":25624926,"avatar_url":"https://avatars1.githubusercontent.com/u/25624926?v=3","gravatar_id":"","url":"https://api.github.com/users/CMPUT301W17T11","html_url":"https://github.com/CMPUT301W17T11","followers_url":"https://api.github.com/users/CMPUT301W17T11/followers","following_url":"https://api.github.com/users/CMPUT301W17T11/following{/other_user}","gists_url":"https://api.github.com/users/CMPUT301W17T11/gists{/gist_id}","starred_url":"https://api.github.com/users/CMPUT301W17T11/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CMPUT301W17T11/subscriptions","organizations_url":"https://api.github.com/users/CMPUT301W17T11/orgs","repos_url":"https://api.github.com/users/CMPUT301W17T11/repos","events_url":"https://api.github.com/users/CMPUT301W17T11/events{/privacy}","received_events_url":"https://api.github.com/users/CMPUT301W17T11/received_events","type":"Organization","site_admin":false},"repo":{"id":81278256,"name":"FeelTrip","full_name":"CMPUT301W17T11/FeelTrip","owner":{"login":"CMPUT301W17T11","id":25624926,"avatar_url":"https://avatars1.githubusercontent.com/u/25624926?v=3","gravatar_id":"","url":"https://api.github.com/users/CMPUT301W17T11","html_url":"https://github.com/CMPUT301W17T11","followers_url":"https://api.github.com/users/CMPUT301W17T11/followers","following_url":"https://api.github.com/users/CMPUT301W17T11/following{/other_user}","gists_url":"https://api.github.com/users/CMPUT301W17T11/gists{/gist_id}","starred_url":"https://api.github.com/users/CMPUT301W17T11/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CMPUT301W17T11/subscriptions","organizations_url":"https://api.github.com/users/CMPUT301W17T11/orgs","repos_url":"https://api.github.com/users/CMPUT301W17T11/repos","events_url":"https://api.github.com/users/CMPUT301W17T11/events{/privacy}","received_events_url":"https://api.github.com/users/CMPUT301W17T11/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CMPUT301W17T11/FeelTrip","description":"CMPUT301 Project","fork":false,"url":"https://api.github.com/repos/CMPUT301W17T11/FeelTrip","forks_url":"https://api.github.com/repos/CMPUT301W17T11/FeelTrip/forks","keys_url":"https://api.github.com/repos/CMPUT301W17T11/FeelTrip/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CMPUT301W17T11/FeelTrip/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CMPUT301W17T11/FeelTrip/teams","hooks_url":"https://api.github.com/repos/CMPUT301W17T11/FeelTrip/hooks","issue_events_url":"https://api.github.com/repos/CMPUT301W17T11/FeelTrip/issues/events{/number}","events_url":"https://api.github.com/repos/CMPUT301W17T11/FeelTrip/events","assignees_url":"https://api.github.com/repos/CMPUT301W17T11/FeelTrip/assignees{/user}","branches_url":"https://api.github.com/repos/CMPUT301W17T11/FeelTrip/branches{/branch}","tags_url":"https://api.github.com/repos/CMPUT301W17T11/FeelTrip/tags","blobs_url":"https://api.github.com/repos/CMPUT301W17T11/FeelTrip/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CMPUT301W17T11/FeelTrip/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CMPUT301W17T11/FeelTrip/git/refs{/sha}","trees_url":"https://api.github.com/repos/CMPUT301W17T11/FeelTrip/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CMPUT301W17T11/FeelTrip/statuses/{sha}","languages_url":"https://api.github.com/repos/CMPUT301W17T11/FeelTrip/languages","stargazers_url":"https://api.github.com/repos/CMPUT301W17T11/FeelTrip/stargazers","contributors_url":"https://api.github.com/repos/CMPUT301W17T11/FeelTrip/contributors","subscribers_url":"https://api.github.com/repos/CMPUT301W17T11/FeelTrip/subscribers","subscription_url":"https://api.github.com/repos/CMPUT301W17T11/FeelTrip/subscription","commits_url":"https://api.github.com/repos/CMPUT301W17T11/FeelTrip/commits{/sha}","git_commits_url":"https://api.github.com/repos/CMPUT301W17T11/FeelTrip/git/commits{/sha}","comments_url":"https://api.github.com/repos/CMPUT301W17T11/FeelTrip/comments{/number}","issue_comment_url":"https://api.github.com/repos/CMPUT301W17T11/FeelTrip/issues/comments{/number}","contents_url":"https://api.github.com/repos/CMPUT301W17T11/FeelTrip/contents/{+path}","compare_url":"https://api.github.com/repos/CMPUT301W17T11/FeelTrip/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CMPUT301W17T11/FeelTrip/merges","archive_url":"https://api.github.com/repos/CMPUT301W17T11/FeelTrip/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CMPUT301W17T11/FeelTrip/downloads","issues_url":"https://api.github.com/repos/CMPUT301W17T11/FeelTrip/issues{/number}","pulls_url":"https://api.github.com/repos/CMPUT301W17T11/FeelTrip/pulls{/number}","milestones_url":"https://api.github.com/repos/CMPUT301W17T11/FeelTrip/milestones{/number}","notifications_url":"https://api.github.com/repos/CMPUT301W17T11/FeelTrip/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CMPUT301W17T11/FeelTrip/labels{/name}","releases_url":"https://api.github.com/repos/CMPUT301W17T11/FeelTrip/releases{/id}","deployments_url":"https://api.github.com/repos/CMPUT301W17T11/FeelTrip/deployments","created_at":"2017-02-08T02:27:36Z","updated_at":"2017-03-21T08:08:02Z","pushed_at":"2017-03-26T17:51:29Z","git_url":"git://github.com/CMPUT301W17T11/FeelTrip.git","ssh_url":"git@github.com:CMPUT301W17T11/FeelTrip.git","clone_url":"https://github.com/CMPUT301W17T11/FeelTrip.git","svn_url":"https://github.com/CMPUT301W17T11/FeelTrip","homepage":null,"size":9208,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":6,"forks":0,"open_issues":6,"watchers":0,"default_branch":"master"}},"base":{"label":"CMPUT301W17T11:master","ref":"master","sha":"e51c3621fb8f6eb273a716ffb27fdef9cfd7ea9b","user":{"login":"CMPUT301W17T11","id":25624926,"avatar_url":"https://avatars1.githubusercontent.com/u/25624926?v=3","gravatar_id":"","url":"https://api.github.com/users/CMPUT301W17T11","html_url":"https://github.com/CMPUT301W17T11","followers_url":"https://api.github.com/users/CMPUT301W17T11/followers","following_url":"https://api.github.com/users/CMPUT301W17T11/following{/other_user}","gists_url":"https://api.github.com/users/CMPUT301W17T11/gists{/gist_id}","starred_url":"https://api.github.com/users/CMPUT301W17T11/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CMPUT301W17T11/subscriptions","organizations_url":"https://api.github.com/users/CMPUT301W17T11/orgs","repos_url":"https://api.github.com/users/CMPUT301W17T11/repos","events_url":"https://api.github.com/users/CMPUT301W17T11/events{/privacy}","received_events_url":"https://api.github.com/users/CMPUT301W17T11/received_events","type":"Organization","site_admin":false},"repo":{"id":81278256,"name":"FeelTrip","full_name":"CMPUT301W17T11/FeelTrip","owner":{"login":"CMPUT301W17T11","id":25624926,"avatar_url":"https://avatars1.githubusercontent.com/u/25624926?v=3","gravatar_id":"","url":"https://api.github.com/users/CMPUT301W17T11","html_url":"https://github.com/CMPUT301W17T11","followers_url":"https://api.github.com/users/CMPUT301W17T11/followers","following_url":"https://api.github.com/users/CMPUT301W17T11/following{/other_user}","gists_url":"https://api.github.com/users/CMPUT301W17T11/gists{/gist_id}","starred_url":"https://api.github.com/users/CMPUT301W17T11/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CMPUT301W17T11/subscriptions","organizations_url":"https://api.github.com/users/CMPUT301W17T11/orgs","repos_url":"https://api.github.com/users/CMPUT301W17T11/repos","events_url":"https://api.github.com/users/CMPUT301W17T11/events{/privacy}","received_events_url":"https://api.github.com/users/CMPUT301W17T11/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CMPUT301W17T11/FeelTrip","description":"CMPUT301 Project","fork":false,"url":"https://api.github.com/repos/CMPUT301W17T11/FeelTrip","forks_url":"https://api.github.com/repos/CMPUT301W17T11/FeelTrip/forks","keys_url":"https://api.github.com/repos/CMPUT301W17T11/FeelTrip/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CMPUT301W17T11/FeelTrip/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CMPUT301W17T11/FeelTrip/teams","hooks_url":"https://api.github.com/repos/CMPUT301W17T11/FeelTrip/hooks","issue_events_url":"https://api.github.com/repos/CMPUT301W17T11/FeelTrip/issues/events{/number}","events_url":"https://api.github.com/repos/CMPUT301W17T11/FeelTrip/events","assignees_url":"https://api.github.com/repos/CMPUT301W17T11/FeelTrip/assignees{/user}","branches_url":"https://api.github.com/repos/CMPUT301W17T11/FeelTrip/branches{/branch}","tags_url":"https://api.github.com/repos/CMPUT301W17T11/FeelTrip/tags","blobs_url":"https://api.github.com/repos/CMPUT301W17T11/FeelTrip/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CMPUT301W17T11/FeelTrip/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CMPUT301W17T11/FeelTrip/git/refs{/sha}","trees_url":"https://api.github.com/repos/CMPUT301W17T11/FeelTrip/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CMPUT301W17T11/FeelTrip/statuses/{sha}","languages_url":"https://api.github.com/repos/CMPUT301W17T11/FeelTrip/languages","stargazers_url":"https://api.github.com/repos/CMPUT301W17T11/FeelTrip/stargazers","contributors_url":"https://api.github.com/repos/CMPUT301W17T11/FeelTrip/contributors","subscribers_url":"https://api.github.com/repos/CMPUT301W17T11/FeelTrip/subscribers","subscription_url":"https://api.github.com/repos/CMPUT301W17T11/FeelTrip/subscription","commits_url":"https://api.github.com/repos/CMPUT301W17T11/FeelTrip/commits{/sha}","git_commits_url":"https://api.github.com/repos/CMPUT301W17T11/FeelTrip/git/commits{/sha}","comments_url":"https://api.github.com/repos/CMPUT301W17T11/FeelTrip/comments{/number}","issue_comment_url":"https://api.github.com/repos/CMPUT301W17T11/FeelTrip/issues/comments{/number}","contents_url":"https://api.github.com/repos/CMPUT301W17T11/FeelTrip/contents/{+path}","compare_url":"https://api.github.com/repos/CMPUT301W17T11/FeelTrip/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CMPUT301W17T11/FeelTrip/merges","archive_url":"https://api.github.com/repos/CMPUT301W17T11/FeelTrip/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CMPUT301W17T11/FeelTrip/downloads","issues_url":"https://api.github.com/repos/CMPUT301W17T11/FeelTrip/issues{/number}","pulls_url":"https://api.github.com/repos/CMPUT301W17T11/FeelTrip/pulls{/number}","milestones_url":"https://api.github.com/repos/CMPUT301W17T11/FeelTrip/milestones{/number}","notifications_url":"https://api.github.com/repos/CMPUT301W17T11/FeelTrip/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CMPUT301W17T11/FeelTrip/labels{/name}","releases_url":"https://api.github.com/repos/CMPUT301W17T11/FeelTrip/releases{/id}","deployments_url":"https://api.github.com/repos/CMPUT301W17T11/FeelTrip/deployments","created_at":"2017-02-08T02:27:36Z","updated_at":"2017-03-21T08:08:02Z","pushed_at":"2017-03-26T17:51:29Z","git_url":"git://github.com/CMPUT301W17T11/FeelTrip.git","ssh_url":"git@github.com:CMPUT301W17T11/FeelTrip.git","clone_url":"https://github.com/CMPUT301W17T11/FeelTrip.git","svn_url":"https://github.com/CMPUT301W17T11/FeelTrip","homepage":null,"size":9208,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":6,"forks":0,"open_issues":6,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/CMPUT301W17T11/FeelTrip/pulls/36"},"html":{"href":"https://github.com/CMPUT301W17T11/FeelTrip/pull/36"},"issue":{"href":"https://api.github.com/repos/CMPUT301W17T11/FeelTrip/issues/36"},"comments":{"href":"https://api.github.com/repos/CMPUT301W17T11/FeelTrip/issues/36/comments"},"review_comments":{"href":"https://api.github.com/repos/CMPUT301W17T11/FeelTrip/pulls/36/comments"},"review_comment":{"href":"https://api.github.com/repos/CMPUT301W17T11/FeelTrip/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/CMPUT301W17T11/FeelTrip/pulls/36/commits"},"statuses":{"href":"https://api.github.com/repos/CMPUT301W17T11/FeelTrip/statuses/58a8ccb4fdb9795c805ef12b17d410cf783f6dbe"}}}}
{"actor":{"display_login":"cxbrettbaker"}}