{"action":"closed","number":4302,"pull_request":{"url":"https://api.github.com/repos/ankidroid/Anki-Android/pulls/4302","id":71814566,"html_url":"https://github.com/ankidroid/Anki-Android/pull/4302","diff_url":"https://github.com/ankidroid/Anki-Android/pull/4302.diff","patch_url":"https://github.com/ankidroid/Anki-Android/pull/4302.patch","issue_url":"https://api.github.com/repos/ankidroid/Anki-Android/issues/4302","number":4302,"state":"closed","locked":false,"title":"Don't immediately switch to normal undo on empty whiteboard undo queue","user":{"login":"timrae","id":2818274,"avatar_url":"https://avatars.githubusercontent.com/u/2818274?v=3","gravatar_id":"","url":"https://api.github.com/users/timrae","html_url":"https://github.com/timrae","followers_url":"https://api.github.com/users/timrae/followers","following_url":"https://api.github.com/users/timrae/following{/other_user}","gists_url":"https://api.github.com/users/timrae/gists{/gist_id}","starred_url":"https://api.github.com/users/timrae/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timrae/subscriptions","organizations_url":"https://api.github.com/users/timrae/orgs","repos_url":"https://api.github.com/users/timrae/repos","events_url":"https://api.github.com/users/timrae/events{/privacy}","received_events_url":"https://api.github.com/users/timrae/received_events","type":"User","site_admin":false},"body":"As identified on the forum, it's annoying when you are undoing whiteboard strokes quickly and accidentally undo the last review.\r\n\r\nThis changes the behavior slightly so that the undo button becomes disabled when the queue is empty, until the whiteboard is cleared.","created_at":"2016-05-28T23:58:33Z","updated_at":"2016-05-29T02:34:07Z","closed_at":"2016-05-29T02:34:07Z","merged_at":"2016-05-29T02:34:07Z","merge_commit_sha":"50c4853e319137541c295f148ca199d5e39a6d7a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ankidroid/Anki-Android/pulls/4302/commits","review_comments_url":"https://api.github.com/repos/ankidroid/Anki-Android/pulls/4302/comments","review_comment_url":"https://api.github.com/repos/ankidroid/Anki-Android/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ankidroid/Anki-Android/issues/4302/comments","statuses_url":"https://api.github.com/repos/ankidroid/Anki-Android/statuses/163fdb0968de8481208e7e2f0d08ca3abc4e2eb6","head":{"label":"timrae:undo-button","ref":"undo-button","sha":"163fdb0968de8481208e7e2f0d08ca3abc4e2eb6","user":{"login":"timrae","id":2818274,"avatar_url":"https://avatars.githubusercontent.com/u/2818274?v=3","gravatar_id":"","url":"https://api.github.com/users/timrae","html_url":"https://github.com/timrae","followers_url":"https://api.github.com/users/timrae/followers","following_url":"https://api.github.com/users/timrae/following{/other_user}","gists_url":"https://api.github.com/users/timrae/gists{/gist_id}","starred_url":"https://api.github.com/users/timrae/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timrae/subscriptions","organizations_url":"https://api.github.com/users/timrae/orgs","repos_url":"https://api.github.com/users/timrae/repos","events_url":"https://api.github.com/users/timrae/events{/privacy}","received_events_url":"https://api.github.com/users/timrae/received_events","type":"User","site_admin":false},"repo":{"id":16934714,"name":"Anki-Android","full_name":"timrae/Anki-Android","owner":{"login":"timrae","id":2818274,"avatar_url":"https://avatars.githubusercontent.com/u/2818274?v=3","gravatar_id":"","url":"https://api.github.com/users/timrae","html_url":"https://github.com/timrae","followers_url":"https://api.github.com/users/timrae/followers","following_url":"https://api.github.com/users/timrae/following{/other_user}","gists_url":"https://api.github.com/users/timrae/gists{/gist_id}","starred_url":"https://api.github.com/users/timrae/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timrae/subscriptions","organizations_url":"https://api.github.com/users/timrae/orgs","repos_url":"https://api.github.com/users/timrae/repos","events_url":"https://api.github.com/users/timrae/events{/privacy}","received_events_url":"https://api.github.com/users/timrae/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/timrae/Anki-Android","description":"Anki on Android","fork":true,"url":"https://api.github.com/repos/timrae/Anki-Android","forks_url":"https://api.github.com/repos/timrae/Anki-Android/forks","keys_url":"https://api.github.com/repos/timrae/Anki-Android/keys{/key_id}","collaborators_url":"https://api.github.com/repos/timrae/Anki-Android/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/timrae/Anki-Android/teams","hooks_url":"https://api.github.com/repos/timrae/Anki-Android/hooks","issue_events_url":"https://api.github.com/repos/timrae/Anki-Android/issues/events{/number}","events_url":"https://api.github.com/repos/timrae/Anki-Android/events","assignees_url":"https://api.github.com/repos/timrae/Anki-Android/assignees{/user}","branches_url":"https://api.github.com/repos/timrae/Anki-Android/branches{/branch}","tags_url":"https://api.github.com/repos/timrae/Anki-Android/tags","blobs_url":"https://api.github.com/repos/timrae/Anki-Android/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/timrae/Anki-Android/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/timrae/Anki-Android/git/refs{/sha}","trees_url":"https://api.github.com/repos/timrae/Anki-Android/git/trees{/sha}","statuses_url":"https://api.github.com/repos/timrae/Anki-Android/statuses/{sha}","languages_url":"https://api.github.com/repos/timrae/Anki-Android/languages","stargazers_url":"https://api.github.com/repos/timrae/Anki-Android/stargazers","contributors_url":"https://api.github.com/repos/timrae/Anki-Android/contributors","subscribers_url":"https://api.github.com/repos/timrae/Anki-Android/subscribers","subscription_url":"https://api.github.com/repos/timrae/Anki-Android/subscription","commits_url":"https://api.github.com/repos/timrae/Anki-Android/commits{/sha}","git_commits_url":"https://api.github.com/repos/timrae/Anki-Android/git/commits{/sha}","comments_url":"https://api.github.com/repos/timrae/Anki-Android/comments{/number}","issue_comment_url":"https://api.github.com/repos/timrae/Anki-Android/issues/comments{/number}","contents_url":"https://api.github.com/repos/timrae/Anki-Android/contents/{+path}","compare_url":"https://api.github.com/repos/timrae/Anki-Android/compare/{base}...{head}","merges_url":"https://api.github.com/repos/timrae/Anki-Android/merges","archive_url":"https://api.github.com/repos/timrae/Anki-Android/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/timrae/Anki-Android/downloads","issues_url":"https://api.github.com/repos/timrae/Anki-Android/issues{/number}","pulls_url":"https://api.github.com/repos/timrae/Anki-Android/pulls{/number}","milestones_url":"https://api.github.com/repos/timrae/Anki-Android/milestones{/number}","notifications_url":"https://api.github.com/repos/timrae/Anki-Android/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/timrae/Anki-Android/labels{/name}","releases_url":"https://api.github.com/repos/timrae/Anki-Android/releases{/id}","deployments_url":"https://api.github.com/repos/timrae/Anki-Android/deployments","created_at":"2014-02-18T02:46:48Z","updated_at":"2015-12-18T22:01:06Z","pushed_at":"2016-05-29T02:29:22Z","git_url":"git://github.com/timrae/Anki-Android.git","ssh_url":"git@github.com:timrae/Anki-Android.git","clone_url":"https://github.com/timrae/Anki-Android.git","svn_url":"https://github.com/timrae/Anki-Android","homepage":"","size":104627,"stargazers_count":2,"watchers_count":2,"language":"Java","has_issues":false,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":2,"default_branch":"develop"}},"base":{"label":"ankidroid:develop","ref":"develop","sha":"40c6f7c97d3ce383ab1feae3eabe314b9b5d84a7","user":{"login":"ankidroid","id":3320903,"avatar_url":"https://avatars.githubusercontent.com/u/3320903?v=3","gravatar_id":"","url":"https://api.github.com/users/ankidroid","html_url":"https://github.com/ankidroid","followers_url":"https://api.github.com/users/ankidroid/followers","following_url":"https://api.github.com/users/ankidroid/following{/other_user}","gists_url":"https://api.github.com/users/ankidroid/gists{/gist_id}","starred_url":"https://api.github.com/users/ankidroid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ankidroid/subscriptions","organizations_url":"https://api.github.com/users/ankidroid/orgs","repos_url":"https://api.github.com/users/ankidroid/repos","events_url":"https://api.github.com/users/ankidroid/events{/privacy}","received_events_url":"https://api.github.com/users/ankidroid/received_events","type":"Organization","site_admin":false},"repo":{"id":7716883,"name":"Anki-Android","full_name":"ankidroid/Anki-Android","owner":{"login":"ankidroid","id":3320903,"avatar_url":"https://avatars.githubusercontent.com/u/3320903?v=3","gravatar_id":"","url":"https://api.github.com/users/ankidroid","html_url":"https://github.com/ankidroid","followers_url":"https://api.github.com/users/ankidroid/followers","following_url":"https://api.github.com/users/ankidroid/following{/other_user}","gists_url":"https://api.github.com/users/ankidroid/gists{/gist_id}","starred_url":"https://api.github.com/users/ankidroid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ankidroid/subscriptions","organizations_url":"https://api.github.com/users/ankidroid/orgs","repos_url":"https://api.github.com/users/ankidroid/repos","events_url":"https://api.github.com/users/ankidroid/events{/privacy}","received_events_url":"https://api.github.com/users/ankidroid/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ankidroid/Anki-Android","description":"AnkiDroid: Anki on Android","fork":false,"url":"https://api.github.com/repos/ankidroid/Anki-Android","forks_url":"https://api.github.com/repos/ankidroid/Anki-Android/forks","keys_url":"https://api.github.com/repos/ankidroid/Anki-Android/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ankidroid/Anki-Android/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ankidroid/Anki-Android/teams","hooks_url":"https://api.github.com/repos/ankidroid/Anki-Android/hooks","issue_events_url":"https://api.github.com/repos/ankidroid/Anki-Android/issues/events{/number}","events_url":"https://api.github.com/repos/ankidroid/Anki-Android/events","assignees_url":"https://api.github.com/repos/ankidroid/Anki-Android/assignees{/user}","branches_url":"https://api.github.com/repos/ankidroid/Anki-Android/branches{/branch}","tags_url":"https://api.github.com/repos/ankidroid/Anki-Android/tags","blobs_url":"https://api.github.com/repos/ankidroid/Anki-Android/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ankidroid/Anki-Android/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ankidroid/Anki-Android/git/refs{/sha}","trees_url":"https://api.github.com/repos/ankidroid/Anki-Android/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ankidroid/Anki-Android/statuses/{sha}","languages_url":"https://api.github.com/repos/ankidroid/Anki-Android/languages","stargazers_url":"https://api.github.com/repos/ankidroid/Anki-Android/stargazers","contributors_url":"https://api.github.com/repos/ankidroid/Anki-Android/contributors","subscribers_url":"https://api.github.com/repos/ankidroid/Anki-Android/subscribers","subscription_url":"https://api.github.com/repos/ankidroid/Anki-Android/subscription","commits_url":"https://api.github.com/repos/ankidroid/Anki-Android/commits{/sha}","git_commits_url":"https://api.github.com/repos/ankidroid/Anki-Android/git/commits{/sha}","comments_url":"https://api.github.com/repos/ankidroid/Anki-Android/comments{/number}","issue_comment_url":"https://api.github.com/repos/ankidroid/Anki-Android/issues/comments{/number}","contents_url":"https://api.github.com/repos/ankidroid/Anki-Android/contents/{+path}","compare_url":"https://api.github.com/repos/ankidroid/Anki-Android/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ankidroid/Anki-Android/merges","archive_url":"https://api.github.com/repos/ankidroid/Anki-Android/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ankidroid/Anki-Android/downloads","issues_url":"https://api.github.com/repos/ankidroid/Anki-Android/issues{/number}","pulls_url":"https://api.github.com/repos/ankidroid/Anki-Android/pulls{/number}","milestones_url":"https://api.github.com/repos/ankidroid/Anki-Android/milestones{/number}","notifications_url":"https://api.github.com/repos/ankidroid/Anki-Android/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ankidroid/Anki-Android/labels{/name}","releases_url":"https://api.github.com/repos/ankidroid/Anki-Android/releases{/id}","deployments_url":"https://api.github.com/repos/ankidroid/Anki-Android/deployments","created_at":"2013-01-20T13:55:53Z","updated_at":"2016-05-22T17:44:09Z","pushed_at":"2016-05-29T02:34:07Z","git_url":"git://github.com/ankidroid/Anki-Android.git","ssh_url":"git@github.com:ankidroid/Anki-Android.git","clone_url":"https://github.com/ankidroid/Anki-Android.git","svn_url":"https://github.com/ankidroid/Anki-Android","homepage":"","size":121662,"stargazers_count":567,"watchers_count":567,"language":"Java","has_issues":true,"has_downloads":false,"has_wiki":true,"has_pages":false,"forks_count":430,"mirror_url":null,"open_issues_count":281,"forks":430,"open_issues":281,"watchers":567,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/ankidroid/Anki-Android/pulls/4302"},"html":{"href":"https://github.com/ankidroid/Anki-Android/pull/4302"},"issue":{"href":"https://api.github.com/repos/ankidroid/Anki-Android/issues/4302"},"comments":{"href":"https://api.github.com/repos/ankidroid/Anki-Android/issues/4302/comments"},"review_comments":{"href":"https://api.github.com/repos/ankidroid/Anki-Android/pulls/4302/comments"},"review_comment":{"href":"https://api.github.com/repos/ankidroid/Anki-Android/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ankidroid/Anki-Android/pulls/4302/commits"},"statuses":{"href":"https://api.github.com/repos/ankidroid/Anki-Android/statuses/163fdb0968de8481208e7e2f0d08ca3abc4e2eb6"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"timrae","id":2818274,"avatar_url":"https://avatars.githubusercontent.com/u/2818274?v=3","gravatar_id":"","url":"https://api.github.com/users/timrae","html_url":"https://github.com/timrae","followers_url":"https://api.github.com/users/timrae/followers","following_url":"https://api.github.com/users/timrae/following{/other_user}","gists_url":"https://api.github.com/users/timrae/gists{/gist_id}","starred_url":"https://api.github.com/users/timrae/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timrae/subscriptions","organizations_url":"https://api.github.com/users/timrae/orgs","repos_url":"https://api.github.com/users/timrae/repos","events_url":"https://api.github.com/users/timrae/events{/privacy}","received_events_url":"https://api.github.com/users/timrae/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":18,"deletions":0,"changed_files":2}}
{"actor":{"display_login":"timrae"}}