{"action":"created","issue":{"url":"https://api.github.com/repos/unlhcc/HCCGo/issues/40","repository_url":"https://api.github.com/repos/unlhcc/HCCGo","labels_url":"https://api.github.com/repos/unlhcc/HCCGo/issues/40/labels{/name}","comments_url":"https://api.github.com/repos/unlhcc/HCCGo/issues/40/comments","events_url":"https://api.github.com/repos/unlhcc/HCCGo/issues/40/events","html_url":"https://github.com/unlhcc/HCCGo/pull/40","id":170689105,"number":40,"title":"Notify Service","user":{"login":"robogen","id":13003316,"avatar_url":"https://avatars.githubusercontent.com/u/13003316?v=3","gravatar_id":"","url":"https://api.github.com/users/robogen","html_url":"https://github.com/robogen","followers_url":"https://api.github.com/users/robogen/followers","following_url":"https://api.github.com/users/robogen/following{/other_user}","gists_url":"https://api.github.com/users/robogen/gists{/gist_id}","starred_url":"https://api.github.com/users/robogen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robogen/subscriptions","organizations_url":"https://api.github.com/users/robogen/orgs","repos_url":"https://api.github.com/users/robogen/repos","events_url":"https://api.github.com/users/robogen/events{/privacy}","received_events_url":"https://api.github.com/users/robogen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-08-11T16:31:38Z","updated_at":"2016-08-16T16:42:43Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/unlhcc/HCCGo/pulls/40","html_url":"https://github.com/unlhcc/HCCGo/pull/40","diff_url":"https://github.com/unlhcc/HCCGo/pull/40.diff","patch_url":"https://github.com/unlhcc/HCCGo/pull/40.patch"},"body":"This service has dual purpose, acting as a 'wrapper' to the toastr service that we've been using, but also adds notification bar messaging. In the notifierModule controller, it uses ipc messaging to communicate with the main process to detect if the application has window focus. If it does, then any messages passed to the service get sent to the user in the form of the usual toastr message. If however the user starts a process (e.g. a large data transfer) and goes to work on another application to wait for it to finish, then when a message whether its a warning that something failed for a notification that it is done, a notification will pop up on the desktop over whatever else they are doing to let them know it has finished or something 'bad' has occurred. This leverages the [node-notifier](https://github.com/mikaelbr/node-notifier) package.\r\n\r\nConfirmed working on Win7, about to test on Linux, would you mind trying Mac? As it is configured it should handle cross platform no problem, but just to check."},"comment":{"url":"https://api.github.com/repos/unlhcc/HCCGo/issues/comments/240161825","html_url":"https://github.com/unlhcc/HCCGo/pull/40#issuecomment-240161825","issue_url":"https://api.github.com/repos/unlhcc/HCCGo/issues/40","id":240161825,"user":{"login":"robogen","id":13003316,"avatar_url":"https://avatars.githubusercontent.com/u/13003316?v=3","gravatar_id":"","url":"https://api.github.com/users/robogen","html_url":"https://github.com/robogen","followers_url":"https://api.github.com/users/robogen/followers","following_url":"https://api.github.com/users/robogen/following{/other_user}","gists_url":"https://api.github.com/users/robogen/gists{/gist_id}","starred_url":"https://api.github.com/users/robogen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robogen/subscriptions","organizations_url":"https://api.github.com/users/robogen/orgs","repos_url":"https://api.github.com/users/robogen/repos","events_url":"https://api.github.com/users/robogen/events{/privacy}","received_events_url":"https://api.github.com/users/robogen/received_events","type":"User","site_admin":false},"created_at":"2016-08-16T16:42:43Z","updated_at":"2016-08-16T16:42:43Z","body":"Fixed it, the 'injection' method for toastr in the module declaration got cleared out. I'm not 100% on why that happened though."}}
{"actor":{"display_login":"robogen"}}