{"action":"closed","number":8082,"pull_request":{"url":"https://api.github.com/repos/elastic/kibana/pulls/8082","id":82631682,"html_url":"https://github.com/elastic/kibana/pull/8082","diff_url":"https://github.com/elastic/kibana/pull/8082.diff","patch_url":"https://github.com/elastic/kibana/pull/8082.patch","issue_url":"https://api.github.com/repos/elastic/kibana/issues/8082","number":8082,"state":"closed","locked":false,"title":"Update appStatus when saving changed to savedObjects","user":{"login":"w33ble","id":404731,"avatar_url":"https://avatars.githubusercontent.com/u/404731?v=3","gravatar_id":"","url":"https://api.github.com/users/w33ble","html_url":"https://github.com/w33ble","followers_url":"https://api.github.com/users/w33ble/followers","following_url":"https://api.github.com/users/w33ble/following{/other_user}","gists_url":"https://api.github.com/users/w33ble/gists{/gist_id}","starred_url":"https://api.github.com/users/w33ble/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/w33ble/subscriptions","organizations_url":"https://api.github.com/users/w33ble/orgs","repos_url":"https://api.github.com/users/w33ble/repos","events_url":"https://api.github.com/users/w33ble/events{/privacy}","received_events_url":"https://api.github.com/users/w33ble/received_events","type":"User","site_admin":false},"body":"Closes https://github.com/elastic/kibana/issues/8081\r\n\r\nThis PR adds a new method to the state monitor: `setDefault`. This method allows the \"original\" state to be changed in flight, so that state comparisons can be updated. This is useful for updating the comparison of the current app state when changes to the underlying saved objects are saved.\r\n\r\nDiscover, Visualize and Dashboard were all updated to use `setDefault` on save.\r\n\r\n- Add `setDefault` to `state_monitor`\r\n- Add tests for new method\r\n- Use `setDefault` when saving changes in apps\r\n\r\n![aug-24-2016 15-55-30](https://cloud.githubusercontent.com/assets/404731/17950920/3b27fa6a-6a13-11e6-8eb0-2619b005ae2f.gif)\r\n","created_at":"2016-08-24T22:56:28Z","updated_at":"2016-08-26T16:50:10Z","closed_at":"2016-08-26T16:50:09Z","merged_at":"2016-08-26T16:50:09Z","merge_commit_sha":"c68bf9dd29c9dd70a7cd8e6db39071e432227af0","assignee":{"login":"tylersmalley","id":40265,"avatar_url":"https://avatars.githubusercontent.com/u/40265?v=3","gravatar_id":"","url":"https://api.github.com/users/tylersmalley","html_url":"https://github.com/tylersmalley","followers_url":"https://api.github.com/users/tylersmalley/followers","following_url":"https://api.github.com/users/tylersmalley/following{/other_user}","gists_url":"https://api.github.com/users/tylersmalley/gists{/gist_id}","starred_url":"https://api.github.com/users/tylersmalley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tylersmalley/subscriptions","organizations_url":"https://api.github.com/users/tylersmalley/orgs","repos_url":"https://api.github.com/users/tylersmalley/repos","events_url":"https://api.github.com/users/tylersmalley/events{/privacy}","received_events_url":"https://api.github.com/users/tylersmalley/received_events","type":"User","site_admin":false},"assignees":[{"login":"tylersmalley","id":40265,"avatar_url":"https://avatars.githubusercontent.com/u/40265?v=3","gravatar_id":"","url":"https://api.github.com/users/tylersmalley","html_url":"https://github.com/tylersmalley","followers_url":"https://api.github.com/users/tylersmalley/followers","following_url":"https://api.github.com/users/tylersmalley/following{/other_user}","gists_url":"https://api.github.com/users/tylersmalley/gists{/gist_id}","starred_url":"https://api.github.com/users/tylersmalley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tylersmalley/subscriptions","organizations_url":"https://api.github.com/users/tylersmalley/orgs","repos_url":"https://api.github.com/users/tylersmalley/repos","events_url":"https://api.github.com/users/tylersmalley/events{/privacy}","received_events_url":"https://api.github.com/users/tylersmalley/received_events","type":"User","site_admin":false},{"login":"cjcenizal","id":1238659,"avatar_url":"https://avatars.githubusercontent.com/u/1238659?v=3","gravatar_id":"","url":"https://api.github.com/users/cjcenizal","html_url":"https://github.com/cjcenizal","followers_url":"https://api.github.com/users/cjcenizal/followers","following_url":"https://api.github.com/users/cjcenizal/following{/other_user}","gists_url":"https://api.github.com/users/cjcenizal/gists{/gist_id}","starred_url":"https://api.github.com/users/cjcenizal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cjcenizal/subscriptions","organizations_url":"https://api.github.com/users/cjcenizal/orgs","repos_url":"https://api.github.com/users/cjcenizal/repos","events_url":"https://api.github.com/users/cjcenizal/events{/privacy}","received_events_url":"https://api.github.com/users/cjcenizal/received_events","type":"User","site_admin":false},{"login":"spalger","id":1329312,"avatar_url":"https://avatars.githubusercontent.com/u/1329312?v=3","gravatar_id":"","url":"https://api.github.com/users/spalger","html_url":"https://github.com/spalger","followers_url":"https://api.github.com/users/spalger/followers","following_url":"https://api.github.com/users/spalger/following{/other_user}","gists_url":"https://api.github.com/users/spalger/gists{/gist_id}","starred_url":"https://api.github.com/users/spalger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spalger/subscriptions","organizations_url":"https://api.github.com/users/spalger/orgs","repos_url":"https://api.github.com/users/spalger/repos","events_url":"https://api.github.com/users/spalger/events{/privacy}","received_events_url":"https://api.github.com/users/spalger/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/elastic/kibana/pulls/8082/commits","review_comments_url":"https://api.github.com/repos/elastic/kibana/pulls/8082/comments","review_comment_url":"https://api.github.com/repos/elastic/kibana/pulls/comments{/number}","comments_url":"https://api.github.com/repos/elastic/kibana/issues/8082/comments","statuses_url":"https://api.github.com/repos/elastic/kibana/statuses/f21054c82d5186ac85bdbfb1d31cf1fe1dc38c0b","head":{"label":"w33ble:fix/save-update-status","ref":"fix/save-update-status","sha":"f21054c82d5186ac85bdbfb1d31cf1fe1dc38c0b","user":{"login":"w33ble","id":404731,"avatar_url":"https://avatars.githubusercontent.com/u/404731?v=3","gravatar_id":"","url":"https://api.github.com/users/w33ble","html_url":"https://github.com/w33ble","followers_url":"https://api.github.com/users/w33ble/followers","following_url":"https://api.github.com/users/w33ble/following{/other_user}","gists_url":"https://api.github.com/users/w33ble/gists{/gist_id}","starred_url":"https://api.github.com/users/w33ble/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/w33ble/subscriptions","organizations_url":"https://api.github.com/users/w33ble/orgs","repos_url":"https://api.github.com/users/w33ble/repos","events_url":"https://api.github.com/users/w33ble/events{/privacy}","received_events_url":"https://api.github.com/users/w33ble/received_events","type":"User","site_admin":false},"repo":{"id":21840088,"name":"kibana","full_name":"w33ble/kibana","owner":{"login":"w33ble","id":404731,"avatar_url":"https://avatars.githubusercontent.com/u/404731?v=3","gravatar_id":"","url":"https://api.github.com/users/w33ble","html_url":"https://github.com/w33ble","followers_url":"https://api.github.com/users/w33ble/followers","following_url":"https://api.github.com/users/w33ble/following{/other_user}","gists_url":"https://api.github.com/users/w33ble/gists{/gist_id}","starred_url":"https://api.github.com/users/w33ble/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/w33ble/subscriptions","organizations_url":"https://api.github.com/users/w33ble/orgs","repos_url":"https://api.github.com/users/w33ble/repos","events_url":"https://api.github.com/users/w33ble/events{/privacy}","received_events_url":"https://api.github.com/users/w33ble/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/w33ble/kibana","description":"Kibana","fork":true,"url":"https://api.github.com/repos/w33ble/kibana","forks_url":"https://api.github.com/repos/w33ble/kibana/forks","keys_url":"https://api.github.com/repos/w33ble/kibana/keys{/key_id}","collaborators_url":"https://api.github.com/repos/w33ble/kibana/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/w33ble/kibana/teams","hooks_url":"https://api.github.com/repos/w33ble/kibana/hooks","issue_events_url":"https://api.github.com/repos/w33ble/kibana/issues/events{/number}","events_url":"https://api.github.com/repos/w33ble/kibana/events","assignees_url":"https://api.github.com/repos/w33ble/kibana/assignees{/user}","branches_url":"https://api.github.com/repos/w33ble/kibana/branches{/branch}","tags_url":"https://api.github.com/repos/w33ble/kibana/tags","blobs_url":"https://api.github.com/repos/w33ble/kibana/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/w33ble/kibana/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/w33ble/kibana/git/refs{/sha}","trees_url":"https://api.github.com/repos/w33ble/kibana/git/trees{/sha}","statuses_url":"https://api.github.com/repos/w33ble/kibana/statuses/{sha}","languages_url":"https://api.github.com/repos/w33ble/kibana/languages","stargazers_url":"https://api.github.com/repos/w33ble/kibana/stargazers","contributors_url":"https://api.github.com/repos/w33ble/kibana/contributors","subscribers_url":"https://api.github.com/repos/w33ble/kibana/subscribers","subscription_url":"https://api.github.com/repos/w33ble/kibana/subscription","commits_url":"https://api.github.com/repos/w33ble/kibana/commits{/sha}","git_commits_url":"https://api.github.com/repos/w33ble/kibana/git/commits{/sha}","comments_url":"https://api.github.com/repos/w33ble/kibana/comments{/number}","issue_comment_url":"https://api.github.com/repos/w33ble/kibana/issues/comments{/number}","contents_url":"https://api.github.com/repos/w33ble/kibana/contents/{+path}","compare_url":"https://api.github.com/repos/w33ble/kibana/compare/{base}...{head}","merges_url":"https://api.github.com/repos/w33ble/kibana/merges","archive_url":"https://api.github.com/repos/w33ble/kibana/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/w33ble/kibana/downloads","issues_url":"https://api.github.com/repos/w33ble/kibana/issues{/number}","pulls_url":"https://api.github.com/repos/w33ble/kibana/pulls{/number}","milestones_url":"https://api.github.com/repos/w33ble/kibana/milestones{/number}","notifications_url":"https://api.github.com/repos/w33ble/kibana/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/w33ble/kibana/labels{/name}","releases_url":"https://api.github.com/repos/w33ble/kibana/releases{/id}","deployments_url":"https://api.github.com/repos/w33ble/kibana/deployments","created_at":"2014-07-14T23:59:39Z","updated_at":"2016-02-12T18:53:11Z","pushed_at":"2016-08-25T21:16:00Z","git_url":"git://github.com/w33ble/kibana.git","ssh_url":"git@github.com:w33ble/kibana.git","clone_url":"https://github.com/w33ble/kibana.git","svn_url":"https://github.com/w33ble/kibana","homepage":"http://www.elasticsearch.org/overview/kibana/","size":182474,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"elastic:4.x","ref":"4.x","sha":"6b8dddec160b894d761eee2cf61c840e7e7731f9","user":{"login":"elastic","id":6764390,"avatar_url":"https://avatars.githubusercontent.com/u/6764390?v=3","gravatar_id":"","url":"https://api.github.com/users/elastic","html_url":"https://github.com/elastic","followers_url":"https://api.github.com/users/elastic/followers","following_url":"https://api.github.com/users/elastic/following{/other_user}","gists_url":"https://api.github.com/users/elastic/gists{/gist_id}","starred_url":"https://api.github.com/users/elastic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elastic/subscriptions","organizations_url":"https://api.github.com/users/elastic/orgs","repos_url":"https://api.github.com/users/elastic/repos","events_url":"https://api.github.com/users/elastic/events{/privacy}","received_events_url":"https://api.github.com/users/elastic/received_events","type":"Organization","site_admin":false},"repo":{"id":7833168,"name":"kibana","full_name":"elastic/kibana","owner":{"login":"elastic","id":6764390,"avatar_url":"https://avatars.githubusercontent.com/u/6764390?v=3","gravatar_id":"","url":"https://api.github.com/users/elastic","html_url":"https://github.com/elastic","followers_url":"https://api.github.com/users/elastic/followers","following_url":"https://api.github.com/users/elastic/following{/other_user}","gists_url":"https://api.github.com/users/elastic/gists{/gist_id}","starred_url":"https://api.github.com/users/elastic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elastic/subscriptions","organizations_url":"https://api.github.com/users/elastic/orgs","repos_url":"https://api.github.com/users/elastic/repos","events_url":"https://api.github.com/users/elastic/events{/privacy}","received_events_url":"https://api.github.com/users/elastic/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/elastic/kibana","description":":bar_chart: Kibana analytics and search dashboard for Elasticsearch","fork":false,"url":"https://api.github.com/repos/elastic/kibana","forks_url":"https://api.github.com/repos/elastic/kibana/forks","keys_url":"https://api.github.com/repos/elastic/kibana/keys{/key_id}","collaborators_url":"https://api.github.com/repos/elastic/kibana/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/elastic/kibana/teams","hooks_url":"https://api.github.com/repos/elastic/kibana/hooks","issue_events_url":"https://api.github.com/repos/elastic/kibana/issues/events{/number}","events_url":"https://api.github.com/repos/elastic/kibana/events","assignees_url":"https://api.github.com/repos/elastic/kibana/assignees{/user}","branches_url":"https://api.github.com/repos/elastic/kibana/branches{/branch}","tags_url":"https://api.github.com/repos/elastic/kibana/tags","blobs_url":"https://api.github.com/repos/elastic/kibana/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/elastic/kibana/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/elastic/kibana/git/refs{/sha}","trees_url":"https://api.github.com/repos/elastic/kibana/git/trees{/sha}","statuses_url":"https://api.github.com/repos/elastic/kibana/statuses/{sha}","languages_url":"https://api.github.com/repos/elastic/kibana/languages","stargazers_url":"https://api.github.com/repos/elastic/kibana/stargazers","contributors_url":"https://api.github.com/repos/elastic/kibana/contributors","subscribers_url":"https://api.github.com/repos/elastic/kibana/subscribers","subscription_url":"https://api.github.com/repos/elastic/kibana/subscription","commits_url":"https://api.github.com/repos/elastic/kibana/commits{/sha}","git_commits_url":"https://api.github.com/repos/elastic/kibana/git/commits{/sha}","comments_url":"https://api.github.com/repos/elastic/kibana/comments{/number}","issue_comment_url":"https://api.github.com/repos/elastic/kibana/issues/comments{/number}","contents_url":"https://api.github.com/repos/elastic/kibana/contents/{+path}","compare_url":"https://api.github.com/repos/elastic/kibana/compare/{base}...{head}","merges_url":"https://api.github.com/repos/elastic/kibana/merges","archive_url":"https://api.github.com/repos/elastic/kibana/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/elastic/kibana/downloads","issues_url":"https://api.github.com/repos/elastic/kibana/issues{/number}","pulls_url":"https://api.github.com/repos/elastic/kibana/pulls{/number}","milestones_url":"https://api.github.com/repos/elastic/kibana/milestones{/number}","notifications_url":"https://api.github.com/repos/elastic/kibana/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/elastic/kibana/labels{/name}","releases_url":"https://api.github.com/repos/elastic/kibana/releases{/id}","deployments_url":"https://api.github.com/repos/elastic/kibana/deployments","created_at":"2013-01-26T04:00:59Z","updated_at":"2016-08-26T13:27:19Z","pushed_at":"2016-08-26T16:50:10Z","git_url":"git://github.com/elastic/kibana.git","ssh_url":"git@github.com:elastic/kibana.git","clone_url":"https://github.com/elastic/kibana.git","svn_url":"https://github.com/elastic/kibana","homepage":"https://www.elastic.co/products/kibana","size":263158,"stargazers_count":5897,"watchers_count":5897,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2161,"mirror_url":null,"open_issues_count":1166,"forks":2161,"open_issues":1166,"watchers":5897,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/elastic/kibana/pulls/8082"},"html":{"href":"https://github.com/elastic/kibana/pull/8082"},"issue":{"href":"https://api.github.com/repos/elastic/kibana/issues/8082"},"comments":{"href":"https://api.github.com/repos/elastic/kibana/issues/8082/comments"},"review_comments":{"href":"https://api.github.com/repos/elastic/kibana/pulls/8082/comments"},"review_comment":{"href":"https://api.github.com/repos/elastic/kibana/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/elastic/kibana/pulls/8082/commits"},"statuses":{"href":"https://api.github.com/repos/elastic/kibana/statuses/f21054c82d5186ac85bdbfb1d31cf1fe1dc38c0b"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"epixa","id":53814,"avatar_url":"https://avatars.githubusercontent.com/u/53814?v=3","gravatar_id":"","url":"https://api.github.com/users/epixa","html_url":"https://github.com/epixa","followers_url":"https://api.github.com/users/epixa/followers","following_url":"https://api.github.com/users/epixa/following{/other_user}","gists_url":"https://api.github.com/users/epixa/gists{/gist_id}","starred_url":"https://api.github.com/users/epixa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/epixa/subscriptions","organizations_url":"https://api.github.com/users/epixa/orgs","repos_url":"https://api.github.com/users/epixa/repos","events_url":"https://api.github.com/users/epixa/events{/privacy}","received_events_url":"https://api.github.com/users/epixa/received_events","type":"User","site_admin":false},"comments":7,"review_comments":19,"commits":12,"additions":89,"deletions":27,"changed_files":5}}
{"actor":{"display_login":"epixa"}}