{"action":"created","issue":{"url":"https://api.github.com/repos/pouchdb/pouchdb/issues/3700","labels_url":"https://api.github.com/repos/pouchdb/pouchdb/issues/3700/labels{/name}","comments_url":"https://api.github.com/repos/pouchdb/pouchdb/issues/3700/comments","events_url":"https://api.github.com/repos/pouchdb/pouchdb/issues/3700/events","html_url":"https://github.com/pouchdb/pouchdb/issues/3700","id":66700555,"number":3700,"title":"progress bars","user":{"login":"dholth","id":208018,"avatar_url":"https://avatars.githubusercontent.com/u/208018?v=3","gravatar_id":"","url":"https://api.github.com/users/dholth","html_url":"https://github.com/dholth","followers_url":"https://api.github.com/users/dholth/followers","following_url":"https://api.github.com/users/dholth/following{/other_user}","gists_url":"https://api.github.com/users/dholth/gists{/gist_id}","starred_url":"https://api.github.com/users/dholth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dholth/subscriptions","organizations_url":"https://api.github.com/users/dholth/orgs","repos_url":"https://api.github.com/users/dholth/repos","events_url":"https://api.github.com/users/dholth/events{/privacy}","received_events_url":"https://api.github.com/users/dholth/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-04-06T20:44:01Z","updated_at":"2015-04-25T18:44:33Z","closed_at":"2015-04-25T18:44:33Z","body":"PouchDB progress bar algorithm.\r\n\r\n1. Fetch .info() of local and remote databases\r\n2. Watch incoming change events. Divide last_seq from change event by update_seq of source database. This is the progress during replication.\r\n3. When replication is paused there are no change events and last_seq from the last change event is often less than update_seq of the remote database (progress < 1). Assume paused with no error means progress == 1, or compare the doc_count of the local and remote databases."},"comment":{"url":"https://api.github.com/repos/pouchdb/pouchdb/issues/comments/96258823","html_url":"https://github.com/pouchdb/pouchdb/issues/3700#issuecomment-96258823","issue_url":"https://api.github.com/repos/pouchdb/pouchdb/issues/3700","id":96258823,"user":{"login":"nolanlawson","id":283842,"avatar_url":"https://avatars.githubusercontent.com/u/283842?v=3","gravatar_id":"","url":"https://api.github.com/users/nolanlawson","html_url":"https://github.com/nolanlawson","followers_url":"https://api.github.com/users/nolanlawson/followers","following_url":"https://api.github.com/users/nolanlawson/following{/other_user}","gists_url":"https://api.github.com/users/nolanlawson/gists{/gist_id}","starred_url":"https://api.github.com/users/nolanlawson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nolanlawson/subscriptions","organizations_url":"https://api.github.com/users/nolanlawson/orgs","repos_url":"https://api.github.com/users/nolanlawson/repos","events_url":"https://api.github.com/users/nolanlawson/events{/privacy}","received_events_url":"https://api.github.com/users/nolanlawson/received_events","type":"User","site_admin":false},"created_at":"2015-04-25T18:44:33Z","updated_at":"2015-04-25T18:44:33Z","body":"Agreed, would love to see a plugin for this!"}}