{"action":"closed","issue":{"url":"https://api.github.com/repos/cims-bioko/cims-tablet/issues/195","repository_url":"https://api.github.com/repos/cims-bioko/cims-tablet","labels_url":"https://api.github.com/repos/cims-bioko/cims-tablet/issues/195/labels{/name}","comments_url":"https://api.github.com/repos/cims-bioko/cims-tablet/issues/195/comments","events_url":"https://api.github.com/repos/cims-bioko/cims-tablet/issues/195/events","html_url":"https://github.com/cims-bioko/cims-tablet/issues/195","id":153486041,"number":195,"title":"Clear stale update notifications when downloading new updates","user":{"login":"batkinson","id":478997,"avatar_url":"https://avatars.githubusercontent.com/u/478997?v=3","gravatar_id":"","url":"https://api.github.com/users/batkinson","html_url":"https://github.com/batkinson","followers_url":"https://api.github.com/users/batkinson/followers","following_url":"https://api.github.com/users/batkinson/following{/other_user}","gists_url":"https://api.github.com/users/batkinson/gists{/gist_id}","starred_url":"https://api.github.com/users/batkinson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/batkinson/subscriptions","organizations_url":"https://api.github.com/users/batkinson/orgs","repos_url":"https://api.github.com/users/batkinson/repos","events_url":"https://api.github.com/users/batkinson/events{/privacy}","received_events_url":"https://api.github.com/users/batkinson/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/cims-bioko/cims-tablet/milestones/20","html_url":"https://github.com/cims-bioko/cims-tablet/milestones/2.3.1","labels_url":"https://api.github.com/repos/cims-bioko/cims-tablet/milestones/20/labels","id":1751967,"number":20,"title":"2.3.1","description":"","creator":{"login":"batkinson","id":478997,"avatar_url":"https://avatars.githubusercontent.com/u/478997?v=3","gravatar_id":"","url":"https://api.github.com/users/batkinson","html_url":"https://github.com/batkinson","followers_url":"https://api.github.com/users/batkinson/followers","following_url":"https://api.github.com/users/batkinson/following{/other_user}","gists_url":"https://api.github.com/users/batkinson/gists{/gist_id}","starred_url":"https://api.github.com/users/batkinson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/batkinson/subscriptions","organizations_url":"https://api.github.com/users/batkinson/orgs","repos_url":"https://api.github.com/users/batkinson/repos","events_url":"https://api.github.com/users/batkinson/events{/privacy}","received_events_url":"https://api.github.com/users/batkinson/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":1,"state":"open","created_at":"2016-05-06T16:35:24Z","updated_at":"2016-05-06T16:57:46Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2016-05-06T16:13:40Z","updated_at":"2016-05-06T16:57:46Z","closed_at":"2016-05-06T16:57:46Z","body":"Originally reported by Jordan Smith.\r\n\r\nThe way the sync process works, it is currently very confusing for users under the following conditions:\r\n\r\n- an update is downloaded and a status notification is shown indicating there is a data update to apply\r\n- a new update is made available, so the application begins downloading it\r\n\r\nIn this situation, if the user responds to the still-visible notification by logging in as a supervisor they will not see an enabled update button since the new update is not yet available (it's in the process of downloading). However, once the download is complete the notification, which was actually for the original un-applied update, will again reflect the current state of the application.\r\n\r\nBecause of the confusion this can cause, any outstanding update notification should be cleared when downloading a new update."}}