{"action":"closed","number":804,"pull_request":{"url":"https://api.github.com/repos/veloce/lichobile/pulls/804","id":180493317,"html_url":"https://github.com/veloce/lichobile/pull/804","diff_url":"https://github.com/veloce/lichobile/pull/804.diff","patch_url":"https://github.com/veloce/lichobile/pull/804.patch","issue_url":"https://api.github.com/repos/veloce/lichobile/issues/804","number":804,"state":"closed","locked":false,"title":"Change the bookmark icon to change locally in round view","user":{"login":"DanielShaulov","id":3260178,"avatar_url":"https://avatars0.githubusercontent.com/u/3260178?v=4","gravatar_id":"","url":"https://api.github.com/users/DanielShaulov","html_url":"https://github.com/DanielShaulov","followers_url":"https://api.github.com/users/DanielShaulov/followers","following_url":"https://api.github.com/users/DanielShaulov/following{/other_user}","gists_url":"https://api.github.com/users/DanielShaulov/gists{/gist_id}","starred_url":"https://api.github.com/users/DanielShaulov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DanielShaulov/subscriptions","organizations_url":"https://api.github.com/users/DanielShaulov/orgs","repos_url":"https://api.github.com/users/DanielShaulov/repos","events_url":"https://api.github.com/users/DanielShaulov/events{/privacy}","received_events_url":"https://api.github.com/users/DanielShaulov/received_events","type":"User","site_admin":false},"body":"After successfully toggling the bookmark in the server, there is no need for a separate request to update the gamedata just to toggle the UI. This is the way it is already done in the search and game list views.\r\n\r\nAlso, there seems to be some problem in the server - it takes some time for it to start returning \"bookmarked = true\"  in the gameData.  This causes the UI to not toggle at all, this PR works around this issue.","created_at":"2018-04-10T05:27:54Z","updated_at":"2018-04-10T09:30:44Z","closed_at":"2018-04-10T09:30:44Z","merged_at":"2018-04-10T09:30:44Z","merge_commit_sha":"d56dcb591e6f3573612562230b8f6e677be4f393","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/veloce/lichobile/pulls/804/commits","review_comments_url":"https://api.github.com/repos/veloce/lichobile/pulls/804/comments","review_comment_url":"https://api.github.com/repos/veloce/lichobile/pulls/comments{/number}","comments_url":"https://api.github.com/repos/veloce/lichobile/issues/804/comments","statuses_url":"https://api.github.com/repos/veloce/lichobile/statuses/b9f01d74a5c8602e5fcf423f37caa4c88312808b","head":{"label":"DanielShaulov:bugfix/bookmark_icon_not_changing","ref":"bugfix/bookmark_icon_not_changing","sha":"b9f01d74a5c8602e5fcf423f37caa4c88312808b","user":{"login":"DanielShaulov","id":3260178,"avatar_url":"https://avatars0.githubusercontent.com/u/3260178?v=4","gravatar_id":"","url":"https://api.github.com/users/DanielShaulov","html_url":"https://github.com/DanielShaulov","followers_url":"https://api.github.com/users/DanielShaulov/followers","following_url":"https://api.github.com/users/DanielShaulov/following{/other_user}","gists_url":"https://api.github.com/users/DanielShaulov/gists{/gist_id}","starred_url":"https://api.github.com/users/DanielShaulov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DanielShaulov/subscriptions","organizations_url":"https://api.github.com/users/DanielShaulov/orgs","repos_url":"https://api.github.com/users/DanielShaulov/repos","events_url":"https://api.github.com/users/DanielShaulov/events{/privacy}","received_events_url":"https://api.github.com/users/DanielShaulov/received_events","type":"User","site_admin":false},"repo":{"id":127033925,"name":"lichobile","full_name":"DanielShaulov/lichobile","owner":{"login":"DanielShaulov","id":3260178,"avatar_url":"https://avatars0.githubusercontent.com/u/3260178?v=4","gravatar_id":"","url":"https://api.github.com/users/DanielShaulov","html_url":"https://github.com/DanielShaulov","followers_url":"https://api.github.com/users/DanielShaulov/followers","following_url":"https://api.github.com/users/DanielShaulov/following{/other_user}","gists_url":"https://api.github.com/users/DanielShaulov/gists{/gist_id}","starred_url":"https://api.github.com/users/DanielShaulov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DanielShaulov/subscriptions","organizations_url":"https://api.github.com/users/DanielShaulov/orgs","repos_url":"https://api.github.com/users/DanielShaulov/repos","events_url":"https://api.github.com/users/DanielShaulov/events{/privacy}","received_events_url":"https://api.github.com/users/DanielShaulov/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/DanielShaulov/lichobile","description":"lichess.org mobile application","fork":true,"url":"https://api.github.com/repos/DanielShaulov/lichobile","forks_url":"https://api.github.com/repos/DanielShaulov/lichobile/forks","keys_url":"https://api.github.com/repos/DanielShaulov/lichobile/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DanielShaulov/lichobile/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DanielShaulov/lichobile/teams","hooks_url":"https://api.github.com/repos/DanielShaulov/lichobile/hooks","issue_events_url":"https://api.github.com/repos/DanielShaulov/lichobile/issues/events{/number}","events_url":"https://api.github.com/repos/DanielShaulov/lichobile/events","assignees_url":"https://api.github.com/repos/DanielShaulov/lichobile/assignees{/user}","branches_url":"https://api.github.com/repos/DanielShaulov/lichobile/branches{/branch}","tags_url":"https://api.github.com/repos/DanielShaulov/lichobile/tags","blobs_url":"https://api.github.com/repos/DanielShaulov/lichobile/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DanielShaulov/lichobile/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DanielShaulov/lichobile/git/refs{/sha}","trees_url":"https://api.github.com/repos/DanielShaulov/lichobile/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DanielShaulov/lichobile/statuses/{sha}","languages_url":"https://api.github.com/repos/DanielShaulov/lichobile/languages","stargazers_url":"https://api.github.com/repos/DanielShaulov/lichobile/stargazers","contributors_url":"https://api.github.com/repos/DanielShaulov/lichobile/contributors","subscribers_url":"https://api.github.com/repos/DanielShaulov/lichobile/subscribers","subscription_url":"https://api.github.com/repos/DanielShaulov/lichobile/subscription","commits_url":"https://api.github.com/repos/DanielShaulov/lichobile/commits{/sha}","git_commits_url":"https://api.github.com/repos/DanielShaulov/lichobile/git/commits{/sha}","comments_url":"https://api.github.com/repos/DanielShaulov/lichobile/comments{/number}","issue_comment_url":"https://api.github.com/repos/DanielShaulov/lichobile/issues/comments{/number}","contents_url":"https://api.github.com/repos/DanielShaulov/lichobile/contents/{+path}","compare_url":"https://api.github.com/repos/DanielShaulov/lichobile/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DanielShaulov/lichobile/merges","archive_url":"https://api.github.com/repos/DanielShaulov/lichobile/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DanielShaulov/lichobile/downloads","issues_url":"https://api.github.com/repos/DanielShaulov/lichobile/issues{/number}","pulls_url":"https://api.github.com/repos/DanielShaulov/lichobile/pulls{/number}","milestones_url":"https://api.github.com/repos/DanielShaulov/lichobile/milestones{/number}","notifications_url":"https://api.github.com/repos/DanielShaulov/lichobile/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DanielShaulov/lichobile/labels{/name}","releases_url":"https://api.github.com/repos/DanielShaulov/lichobile/releases{/id}","deployments_url":"https://api.github.com/repos/DanielShaulov/lichobile/deployments","created_at":"2018-03-27T19:08:42Z","updated_at":"2018-03-31T16:53:52Z","pushed_at":"2018-04-08T21:04:38Z","git_url":"git://github.com/DanielShaulov/lichobile.git","ssh_url":"git@github.com:DanielShaulov/lichobile.git","clone_url":"https://github.com/DanielShaulov/lichobile.git","svn_url":"https://github.com/DanielShaulov/lichobile","homepage":"http://lichess.org","size":63885,"stargazers_count":0,"watchers_count":0,"language":"TypeScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"veloce:master","ref":"master","sha":"6efadf90360c0296a960d1b06905373a8c22a8e4","user":{"login":"veloce","id":423393,"avatar_url":"https://avatars1.githubusercontent.com/u/423393?v=4","gravatar_id":"","url":"https://api.github.com/users/veloce","html_url":"https://github.com/veloce","followers_url":"https://api.github.com/users/veloce/followers","following_url":"https://api.github.com/users/veloce/following{/other_user}","gists_url":"https://api.github.com/users/veloce/gists{/gist_id}","starred_url":"https://api.github.com/users/veloce/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/veloce/subscriptions","organizations_url":"https://api.github.com/users/veloce/orgs","repos_url":"https://api.github.com/users/veloce/repos","events_url":"https://api.github.com/users/veloce/events{/privacy}","received_events_url":"https://api.github.com/users/veloce/received_events","type":"User","site_admin":false},"repo":{"id":19611854,"name":"lichobile","full_name":"veloce/lichobile","owner":{"login":"veloce","id":423393,"avatar_url":"https://avatars1.githubusercontent.com/u/423393?v=4","gravatar_id":"","url":"https://api.github.com/users/veloce","html_url":"https://github.com/veloce","followers_url":"https://api.github.com/users/veloce/followers","following_url":"https://api.github.com/users/veloce/following{/other_user}","gists_url":"https://api.github.com/users/veloce/gists{/gist_id}","starred_url":"https://api.github.com/users/veloce/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/veloce/subscriptions","organizations_url":"https://api.github.com/users/veloce/orgs","repos_url":"https://api.github.com/users/veloce/repos","events_url":"https://api.github.com/users/veloce/events{/privacy}","received_events_url":"https://api.github.com/users/veloce/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/veloce/lichobile","description":"lichess.org mobile application","fork":false,"url":"https://api.github.com/repos/veloce/lichobile","forks_url":"https://api.github.com/repos/veloce/lichobile/forks","keys_url":"https://api.github.com/repos/veloce/lichobile/keys{/key_id}","collaborators_url":"https://api.github.com/repos/veloce/lichobile/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/veloce/lichobile/teams","hooks_url":"https://api.github.com/repos/veloce/lichobile/hooks","issue_events_url":"https://api.github.com/repos/veloce/lichobile/issues/events{/number}","events_url":"https://api.github.com/repos/veloce/lichobile/events","assignees_url":"https://api.github.com/repos/veloce/lichobile/assignees{/user}","branches_url":"https://api.github.com/repos/veloce/lichobile/branches{/branch}","tags_url":"https://api.github.com/repos/veloce/lichobile/tags","blobs_url":"https://api.github.com/repos/veloce/lichobile/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/veloce/lichobile/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/veloce/lichobile/git/refs{/sha}","trees_url":"https://api.github.com/repos/veloce/lichobile/git/trees{/sha}","statuses_url":"https://api.github.com/repos/veloce/lichobile/statuses/{sha}","languages_url":"https://api.github.com/repos/veloce/lichobile/languages","stargazers_url":"https://api.github.com/repos/veloce/lichobile/stargazers","contributors_url":"https://api.github.com/repos/veloce/lichobile/contributors","subscribers_url":"https://api.github.com/repos/veloce/lichobile/subscribers","subscription_url":"https://api.github.com/repos/veloce/lichobile/subscription","commits_url":"https://api.github.com/repos/veloce/lichobile/commits{/sha}","git_commits_url":"https://api.github.com/repos/veloce/lichobile/git/commits{/sha}","comments_url":"https://api.github.com/repos/veloce/lichobile/comments{/number}","issue_comment_url":"https://api.github.com/repos/veloce/lichobile/issues/comments{/number}","contents_url":"https://api.github.com/repos/veloce/lichobile/contents/{+path}","compare_url":"https://api.github.com/repos/veloce/lichobile/compare/{base}...{head}","merges_url":"https://api.github.com/repos/veloce/lichobile/merges","archive_url":"https://api.github.com/repos/veloce/lichobile/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/veloce/lichobile/downloads","issues_url":"https://api.github.com/repos/veloce/lichobile/issues{/number}","pulls_url":"https://api.github.com/repos/veloce/lichobile/pulls{/number}","milestones_url":"https://api.github.com/repos/veloce/lichobile/milestones{/number}","notifications_url":"https://api.github.com/repos/veloce/lichobile/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/veloce/lichobile/labels{/name}","releases_url":"https://api.github.com/repos/veloce/lichobile/releases{/id}","deployments_url":"https://api.github.com/repos/veloce/lichobile/deployments","created_at":"2014-05-09T13:23:47Z","updated_at":"2018-04-09T10:18:29Z","pushed_at":"2018-04-10T09:30:44Z","git_url":"git://github.com/veloce/lichobile.git","ssh_url":"git@github.com:veloce/lichobile.git","clone_url":"https://github.com/veloce/lichobile.git","svn_url":"https://github.com/veloce/lichobile","homepage":"http://lichess.org","size":64827,"stargazers_count":414,"watchers_count":414,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":96,"mirror_url":null,"archived":false,"open_issues_count":70,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":96,"open_issues":70,"watchers":414,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/veloce/lichobile/pulls/804"},"html":{"href":"https://github.com/veloce/lichobile/pull/804"},"issue":{"href":"https://api.github.com/repos/veloce/lichobile/issues/804"},"comments":{"href":"https://api.github.com/repos/veloce/lichobile/issues/804/comments"},"review_comments":{"href":"https://api.github.com/repos/veloce/lichobile/pulls/804/comments"},"review_comment":{"href":"https://api.github.com/repos/veloce/lichobile/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/veloce/lichobile/pulls/804/commits"},"statuses":{"href":"https://api.github.com/repos/veloce/lichobile/statuses/b9f01d74a5c8602e5fcf423f37caa4c88312808b"}},"author_association":"CONTRIBUTOR","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"veloce","id":423393,"avatar_url":"https://avatars1.githubusercontent.com/u/423393?v=4","gravatar_id":"","url":"https://api.github.com/users/veloce","html_url":"https://github.com/veloce","followers_url":"https://api.github.com/users/veloce/followers","following_url":"https://api.github.com/users/veloce/following{/other_user}","gists_url":"https://api.github.com/users/veloce/gists{/gist_id}","starred_url":"https://api.github.com/users/veloce/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/veloce/subscriptions","organizations_url":"https://api.github.com/users/veloce/orgs","repos_url":"https://api.github.com/users/veloce/repos","events_url":"https://api.github.com/users/veloce/events{/privacy}","received_events_url":"https://api.github.com/users/veloce/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":8,"deletions":4,"changed_files":3}}
{"actor":{"display_login":"veloce"}}