{"action":"opened","number":120,"pull_request":{"url":"https://api.github.com/repos/pajato/GameChat/pulls/120","id":89973038,"html_url":"https://github.com/pajato/GameChat/pull/120","diff_url":"https://github.com/pajato/GameChat/pull/120.diff","patch_url":"https://github.com/pajato/GameChat/pull/120.patch","issue_url":"https://api.github.com/repos/pajato/GameChat/issues/120","number":120,"state":"open","locked":false,"title":"Implement the menu item to file a bug report.","user":{"login":"pajatopmr","id":2983697,"avatar_url":"https://avatars.githubusercontent.com/u/2983697?v=3","gravatar_id":"","url":"https://api.github.com/users/pajatopmr","html_url":"https://github.com/pajatopmr","followers_url":"https://api.github.com/users/pajatopmr/followers","following_url":"https://api.github.com/users/pajatopmr/following{/other_user}","gists_url":"https://api.github.com/users/pajatopmr/gists{/gist_id}","starred_url":"https://api.github.com/users/pajatopmr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pajatopmr/subscriptions","organizations_url":"https://api.github.com/users/pajatopmr/orgs","repos_url":"https://api.github.com/users/pajatopmr/repos","events_url":"https://api.github.com/users/pajatopmr/events{/privacy}","received_events_url":"https://api.github.com/users/pajatopmr/received_events","type":"User","site_admin":false},"body":"<h1>Rationale:</h1>\r\n\r\nAs GameChat is prepared to enter alpha testing in the Play Store it is essential to make filing bug reports.  This commit provides the first step by adding an options menu item that will take a screen shot and send it to support@pajato.com allowing the sender to edit the message body to provide more information.\r\n\r\n<h1>File changes:</h1>\r\n\r\nmodified:   app/src/main/AndroidManifest.xml\r\n\r\n- provider: add an element that allows a file to be created and emailed by an app selected by the User.\r\n\r\nnew file:   app/src/main/java/com/pajato/android/gamechat/event/MenuItemEvent.java\r\n\r\n- New file to allow options item clicks to be broadcast over the app event bus.\r\n\r\nmodified:   app/src/main/java/com/pajato/android/gamechat/game/NotificationManager.java\r\n\r\n- NotificationManager: make package local per AS.\r\n- dismiss(): destroy a lingering snackbar object if necessary.\r\n\r\nmodified:   app/src/main/java/com/pajato/android/gamechat/main/MainActivity.java\r\n\r\n- onNavigationItemSelected(): remove all but the default case.\r\n- onMenuItem(): provide a new method to handle an options item menu click event.\r\n- getBitmapPath(): provide a new method to stream a screen capture to a file.\r\n- handleBugReport(): implement the File Bug Report options menu item.\r\n\r\nnew file:   app/src/main/java/com/pajato/android/gamechat/main/SupportManager.java\r\nnew file:   app/src/main/res/xml/file_provider_paths.xml\r\n\r\n- Provide new files for sending support messaging to the PTLLC.\r\n\r\ndeleted:    app/src/main/res/drawable/ic_bug_report_white_24px.xml\r\n\r\n- Removed since material design does not encourage the use of menu icons.\r\n\r\nmodified:   app/src/main/res/menu/add_group_menu.xml\r\nmodified:   app/src/main/res/menu/main_menu.xml\r\nmodified:   app/src/main/res/values/strings.xml\r\n\r\n- Canonicalize menu items used in options menus.\r\n\r\nmodified:   app/src/main/res/menu/drawer_footer.xml\r\n\r\n- Remove menu icons and integer constants that are not used.\r\n\r\nmodified:   app/src/main/res/values/integers.xml\r\n\r\n- Remove stale values.\r\n\r\nmodified:   app/src/main/res/values/strings_game.xml\r\n\r\n- Remove a stale item.","created_at":"2016-10-19T09:35:00Z","updated_at":"2016-10-19T09:35:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":"568e9ffe31ff956bea48a7efd206a4326989c7ce","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/pajato/GameChat/pulls/120/commits","review_comments_url":"https://api.github.com/repos/pajato/GameChat/pulls/120/comments","review_comment_url":"https://api.github.com/repos/pajato/GameChat/pulls/comments{/number}","comments_url":"https://api.github.com/repos/pajato/GameChat/issues/120/comments","statuses_url":"https://api.github.com/repos/pajato/GameChat/statuses/5522e15ec1e62b4db648f1da4a8148af93231a02","head":{"label":"pajato:implement-file-bug-report","ref":"implement-file-bug-report","sha":"5522e15ec1e62b4db648f1da4a8148af93231a02","user":{"login":"pajato","id":13346210,"avatar_url":"https://avatars.githubusercontent.com/u/13346210?v=3","gravatar_id":"","url":"https://api.github.com/users/pajato","html_url":"https://github.com/pajato","followers_url":"https://api.github.com/users/pajato/followers","following_url":"https://api.github.com/users/pajato/following{/other_user}","gists_url":"https://api.github.com/users/pajato/gists{/gist_id}","starred_url":"https://api.github.com/users/pajato/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pajato/subscriptions","organizations_url":"https://api.github.com/users/pajato/orgs","repos_url":"https://api.github.com/users/pajato/repos","events_url":"https://api.github.com/users/pajato/events{/privacy}","received_events_url":"https://api.github.com/users/pajato/received_events","type":"Organization","site_admin":false},"repo":{"id":58804972,"name":"GameChat","full_name":"pajato/GameChat","owner":{"login":"pajato","id":13346210,"avatar_url":"https://avatars.githubusercontent.com/u/13346210?v=3","gravatar_id":"","url":"https://api.github.com/users/pajato","html_url":"https://github.com/pajato","followers_url":"https://api.github.com/users/pajato/followers","following_url":"https://api.github.com/users/pajato/following{/other_user}","gists_url":"https://api.github.com/users/pajato/gists{/gist_id}","starred_url":"https://api.github.com/users/pajato/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pajato/subscriptions","organizations_url":"https://api.github.com/users/pajato/orgs","repos_url":"https://api.github.com/users/pajato/repos","events_url":"https://api.github.com/users/pajato/events{/privacy}","received_events_url":"https://api.github.com/users/pajato/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/pajato/GameChat","description":"An Android app allowing gamers and gawkers to chat while playing and observing one or more games.","fork":false,"url":"https://api.github.com/repos/pajato/GameChat","forks_url":"https://api.github.com/repos/pajato/GameChat/forks","keys_url":"https://api.github.com/repos/pajato/GameChat/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pajato/GameChat/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pajato/GameChat/teams","hooks_url":"https://api.github.com/repos/pajato/GameChat/hooks","issue_events_url":"https://api.github.com/repos/pajato/GameChat/issues/events{/number}","events_url":"https://api.github.com/repos/pajato/GameChat/events","assignees_url":"https://api.github.com/repos/pajato/GameChat/assignees{/user}","branches_url":"https://api.github.com/repos/pajato/GameChat/branches{/branch}","tags_url":"https://api.github.com/repos/pajato/GameChat/tags","blobs_url":"https://api.github.com/repos/pajato/GameChat/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pajato/GameChat/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pajato/GameChat/git/refs{/sha}","trees_url":"https://api.github.com/repos/pajato/GameChat/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pajato/GameChat/statuses/{sha}","languages_url":"https://api.github.com/repos/pajato/GameChat/languages","stargazers_url":"https://api.github.com/repos/pajato/GameChat/stargazers","contributors_url":"https://api.github.com/repos/pajato/GameChat/contributors","subscribers_url":"https://api.github.com/repos/pajato/GameChat/subscribers","subscription_url":"https://api.github.com/repos/pajato/GameChat/subscription","commits_url":"https://api.github.com/repos/pajato/GameChat/commits{/sha}","git_commits_url":"https://api.github.com/repos/pajato/GameChat/git/commits{/sha}","comments_url":"https://api.github.com/repos/pajato/GameChat/comments{/number}","issue_comment_url":"https://api.github.com/repos/pajato/GameChat/issues/comments{/number}","contents_url":"https://api.github.com/repos/pajato/GameChat/contents/{+path}","compare_url":"https://api.github.com/repos/pajato/GameChat/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pajato/GameChat/merges","archive_url":"https://api.github.com/repos/pajato/GameChat/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pajato/GameChat/downloads","issues_url":"https://api.github.com/repos/pajato/GameChat/issues{/number}","pulls_url":"https://api.github.com/repos/pajato/GameChat/pulls{/number}","milestones_url":"https://api.github.com/repos/pajato/GameChat/milestones{/number}","notifications_url":"https://api.github.com/repos/pajato/GameChat/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pajato/GameChat/labels{/name}","releases_url":"https://api.github.com/repos/pajato/GameChat/releases{/id}","deployments_url":"https://api.github.com/repos/pajato/GameChat/deployments","created_at":"2016-05-14T11:42:49Z","updated_at":"2016-05-15T08:58:39Z","pushed_at":"2016-10-19T09:35:00Z","git_url":"git://github.com/pajato/GameChat.git","ssh_url":"git@github.com:pajato/GameChat.git","clone_url":"https://github.com/pajato/GameChat.git","svn_url":"https://github.com/pajato/GameChat","homepage":null,"size":2956,"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":"pajato:master","ref":"master","sha":"287945af9a8e92111b2d000b4bb6fe85d5393dd6","user":{"login":"pajato","id":13346210,"avatar_url":"https://avatars.githubusercontent.com/u/13346210?v=3","gravatar_id":"","url":"https://api.github.com/users/pajato","html_url":"https://github.com/pajato","followers_url":"https://api.github.com/users/pajato/followers","following_url":"https://api.github.com/users/pajato/following{/other_user}","gists_url":"https://api.github.com/users/pajato/gists{/gist_id}","starred_url":"https://api.github.com/users/pajato/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pajato/subscriptions","organizations_url":"https://api.github.com/users/pajato/orgs","repos_url":"https://api.github.com/users/pajato/repos","events_url":"https://api.github.com/users/pajato/events{/privacy}","received_events_url":"https://api.github.com/users/pajato/received_events","type":"Organization","site_admin":false},"repo":{"id":58804972,"name":"GameChat","full_name":"pajato/GameChat","owner":{"login":"pajato","id":13346210,"avatar_url":"https://avatars.githubusercontent.com/u/13346210?v=3","gravatar_id":"","url":"https://api.github.com/users/pajato","html_url":"https://github.com/pajato","followers_url":"https://api.github.com/users/pajato/followers","following_url":"https://api.github.com/users/pajato/following{/other_user}","gists_url":"https://api.github.com/users/pajato/gists{/gist_id}","starred_url":"https://api.github.com/users/pajato/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pajato/subscriptions","organizations_url":"https://api.github.com/users/pajato/orgs","repos_url":"https://api.github.com/users/pajato/repos","events_url":"https://api.github.com/users/pajato/events{/privacy}","received_events_url":"https://api.github.com/users/pajato/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/pajato/GameChat","description":"An Android app allowing gamers and gawkers to chat while playing and observing one or more games.","fork":false,"url":"https://api.github.com/repos/pajato/GameChat","forks_url":"https://api.github.com/repos/pajato/GameChat/forks","keys_url":"https://api.github.com/repos/pajato/GameChat/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pajato/GameChat/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pajato/GameChat/teams","hooks_url":"https://api.github.com/repos/pajato/GameChat/hooks","issue_events_url":"https://api.github.com/repos/pajato/GameChat/issues/events{/number}","events_url":"https://api.github.com/repos/pajato/GameChat/events","assignees_url":"https://api.github.com/repos/pajato/GameChat/assignees{/user}","branches_url":"https://api.github.com/repos/pajato/GameChat/branches{/branch}","tags_url":"https://api.github.com/repos/pajato/GameChat/tags","blobs_url":"https://api.github.com/repos/pajato/GameChat/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pajato/GameChat/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pajato/GameChat/git/refs{/sha}","trees_url":"https://api.github.com/repos/pajato/GameChat/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pajato/GameChat/statuses/{sha}","languages_url":"https://api.github.com/repos/pajato/GameChat/languages","stargazers_url":"https://api.github.com/repos/pajato/GameChat/stargazers","contributors_url":"https://api.github.com/repos/pajato/GameChat/contributors","subscribers_url":"https://api.github.com/repos/pajato/GameChat/subscribers","subscription_url":"https://api.github.com/repos/pajato/GameChat/subscription","commits_url":"https://api.github.com/repos/pajato/GameChat/commits{/sha}","git_commits_url":"https://api.github.com/repos/pajato/GameChat/git/commits{/sha}","comments_url":"https://api.github.com/repos/pajato/GameChat/comments{/number}","issue_comment_url":"https://api.github.com/repos/pajato/GameChat/issues/comments{/number}","contents_url":"https://api.github.com/repos/pajato/GameChat/contents/{+path}","compare_url":"https://api.github.com/repos/pajato/GameChat/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pajato/GameChat/merges","archive_url":"https://api.github.com/repos/pajato/GameChat/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pajato/GameChat/downloads","issues_url":"https://api.github.com/repos/pajato/GameChat/issues{/number}","pulls_url":"https://api.github.com/repos/pajato/GameChat/pulls{/number}","milestones_url":"https://api.github.com/repos/pajato/GameChat/milestones{/number}","notifications_url":"https://api.github.com/repos/pajato/GameChat/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pajato/GameChat/labels{/name}","releases_url":"https://api.github.com/repos/pajato/GameChat/releases{/id}","deployments_url":"https://api.github.com/repos/pajato/GameChat/deployments","created_at":"2016-05-14T11:42:49Z","updated_at":"2016-05-15T08:58:39Z","pushed_at":"2016-10-19T09:35:00Z","git_url":"git://github.com/pajato/GameChat.git","ssh_url":"git@github.com:pajato/GameChat.git","clone_url":"https://github.com/pajato/GameChat.git","svn_url":"https://github.com/pajato/GameChat","homepage":null,"size":2956,"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/pajato/GameChat/pulls/120"},"html":{"href":"https://github.com/pajato/GameChat/pull/120"},"issue":{"href":"https://api.github.com/repos/pajato/GameChat/issues/120"},"comments":{"href":"https://api.github.com/repos/pajato/GameChat/issues/120/comments"},"review_comments":{"href":"https://api.github.com/repos/pajato/GameChat/pulls/120/comments"},"review_comment":{"href":"https://api.github.com/repos/pajato/GameChat/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/pajato/GameChat/pulls/120/commits"},"statuses":{"href":"https://api.github.com/repos/pajato/GameChat/statuses/5522e15ec1e62b4db648f1da4a8148af93231a02"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":231,"deletions":45,"changed_files":13}}
{"actor":{"display_login":"pajatopmr"}}