{"action":"created","issue":{"url":"https://api.github.com/repos/blargity/toolkit-for-ynab/issues/93","labels_url":"https://api.github.com/repos/blargity/toolkit-for-ynab/issues/93/labels{/name}","comments_url":"https://api.github.com/repos/blargity/toolkit-for-ynab/issues/93/comments","events_url":"https://api.github.com/repos/blargity/toolkit-for-ynab/issues/93/events","html_url":"https://github.com/blargity/toolkit-for-ynab/pull/93","id":127078788,"number":93,"title":"New Feature: Notifications for pending imports","user":{"login":"iamnafets","id":93804,"avatar_url":"https://avatars.githubusercontent.com/u/93804?v=3","gravatar_id":"","url":"https://api.github.com/users/iamnafets","html_url":"https://github.com/iamnafets","followers_url":"https://api.github.com/users/iamnafets/followers","following_url":"https://api.github.com/users/iamnafets/following{/other_user}","gists_url":"https://api.github.com/users/iamnafets/gists{/gist_id}","starred_url":"https://api.github.com/users/iamnafets/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iamnafets/subscriptions","organizations_url":"https://api.github.com/users/iamnafets/orgs","repos_url":"https://api.github.com/users/iamnafets/repos","events_url":"https://api.github.com/users/iamnafets/events{/privacy}","received_events_url":"https://api.github.com/users/iamnafets/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-17T07:01:38Z","updated_at":"2016-01-17T07:49:27Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/blargity/toolkit-for-ynab/pulls/93","html_url":"https://github.com/blargity/toolkit-for-ynab/pull/93","diff_url":"https://github.com/blargity/toolkit-for-ynab/pull/93.diff","patch_url":"https://github.com/blargity/toolkit-for-ynab/pull/93.patch"},"body":"This feature shows a numerical indicator in the left sidebar when there are transactions to be imported. It updates immediately when the import is finished, and works with the existing notifications (though they are not combined like \"no category\" and \"pending approval\").\r\n\r\n![Demo](http://g.recordit.co/At6DTytKSI.gif)\r\n\r\n**Tested in Firefox and Chrome**\r\n\r\n*Note that I used the entity manager notifications instead of mutations. For imports, the transactions are actually already there -- with a specific \"source\" property set to \"raw_import\". Once the import button is clicked, they are actually input. In order to test this feature, I was forced to toggle this property several times.*"},"comment":{"url":"https://api.github.com/repos/blargity/toolkit-for-ynab/issues/comments/172298889","html_url":"https://github.com/blargity/toolkit-for-ynab/pull/93#issuecomment-172298889","issue_url":"https://api.github.com/repos/blargity/toolkit-for-ynab/issues/93","id":172298889,"user":{"login":"blargity","id":1531750,"avatar_url":"https://avatars.githubusercontent.com/u/1531750?v=3","gravatar_id":"","url":"https://api.github.com/users/blargity","html_url":"https://github.com/blargity","followers_url":"https://api.github.com/users/blargity/followers","following_url":"https://api.github.com/users/blargity/following{/other_user}","gists_url":"https://api.github.com/users/blargity/gists{/gist_id}","starred_url":"https://api.github.com/users/blargity/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blargity/subscriptions","organizations_url":"https://api.github.com/users/blargity/orgs","repos_url":"https://api.github.com/users/blargity/repos","events_url":"https://api.github.com/users/blargity/events{/privacy}","received_events_url":"https://api.github.com/users/blargity/received_events","type":"User","site_admin":false},"created_at":"2016-01-17T07:49:27Z","updated_at":"2016-01-17T07:49:27Z","body":"That's a really clean way to deal with the data changes. Very nice!\r\n\r\nBeing in Australia I can't test this. I'll have to merge and let others have a look. Also, is there a Trello card for this one? Couldn't see it at the moment. Happy to add one for you if needed."}}