{"action":"opened","number":366,"pull_request":{"url":"https://api.github.com/repos/micro-manager/micro-manager/pulls/366","id":78525639,"html_url":"https://github.com/micro-manager/micro-manager/pull/366","diff_url":"https://github.com/micro-manager/micro-manager/pull/366.diff","patch_url":"https://github.com/micro-manager/micro-manager/pull/366.patch","issue_url":"https://api.github.com/repos/micro-manager/micro-manager/issues/366","number":366,"state":"open","locked":false,"title":"Add Alerts API and implementation","user":{"login":"ChrisWeisiger","id":10535260,"avatar_url":"https://avatars.githubusercontent.com/u/10535260?v=3","gravatar_id":"","url":"https://api.github.com/users/ChrisWeisiger","html_url":"https://github.com/ChrisWeisiger","followers_url":"https://api.github.com/users/ChrisWeisiger/followers","following_url":"https://api.github.com/users/ChrisWeisiger/following{/other_user}","gists_url":"https://api.github.com/users/ChrisWeisiger/gists{/gist_id}","starred_url":"https://api.github.com/users/ChrisWeisiger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChrisWeisiger/subscriptions","organizations_url":"https://api.github.com/users/ChrisWeisiger/orgs","repos_url":"https://api.github.com/users/ChrisWeisiger/repos","events_url":"https://api.github.com/users/ChrisWeisiger/events{/privacy}","received_events_url":"https://api.github.com/users/ChrisWeisiger/received_events","type":"User","site_admin":false},"body":"This adds a system for showing \"alerts\" to the user. Alerts are non-intrusive (non-modal, undecorated) dialogs that appear along the righthand side of the primary display. The API allows the creation of simple \"one-shot\" text alerts, lengthier \"message log\" alerts (which combine multiple text lines using a scrollpane), and completely custom alerts. Alerts can be dismissed either by clicking on them (for the one-shot alerts), or by hovering over them to reveal a close button, and clicking on that button (for the other alert types).\r\n\r\nThis also adds an alert that is shown during an acquisition to track how many images have been received. The alert automatically dismisses itself 5s after the acquisition finishes, if it was not dismissed by the user earlier.\r\n\r\nI believe the alerts are a positive addition to the codebase at this level of completion. They could perhaps use a little more iteration of the GUI, but I don't see any obvious issues. More importantly, there's a current need for the functionality they provide (see issue #343).","created_at":"2016-07-22T19:10:06Z","updated_at":"2016-07-22T19:10:06Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/micro-manager/micro-manager/pulls/366/commits","review_comments_url":"https://api.github.com/repos/micro-manager/micro-manager/pulls/366/comments","review_comment_url":"https://api.github.com/repos/micro-manager/micro-manager/pulls/comments{/number}","comments_url":"https://api.github.com/repos/micro-manager/micro-manager/issues/366/comments","statuses_url":"https://api.github.com/repos/micro-manager/micro-manager/statuses/bd95e39a23d3efa1e1097112daf49bde6be3c00d","head":{"label":"ChrisWeisiger:alerts","ref":"alerts","sha":"bd95e39a23d3efa1e1097112daf49bde6be3c00d","user":{"login":"ChrisWeisiger","id":10535260,"avatar_url":"https://avatars.githubusercontent.com/u/10535260?v=3","gravatar_id":"","url":"https://api.github.com/users/ChrisWeisiger","html_url":"https://github.com/ChrisWeisiger","followers_url":"https://api.github.com/users/ChrisWeisiger/followers","following_url":"https://api.github.com/users/ChrisWeisiger/following{/other_user}","gists_url":"https://api.github.com/users/ChrisWeisiger/gists{/gist_id}","starred_url":"https://api.github.com/users/ChrisWeisiger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChrisWeisiger/subscriptions","organizations_url":"https://api.github.com/users/ChrisWeisiger/orgs","repos_url":"https://api.github.com/users/ChrisWeisiger/repos","events_url":"https://api.github.com/users/ChrisWeisiger/events{/privacy}","received_events_url":"https://api.github.com/users/ChrisWeisiger/received_events","type":"User","site_admin":false},"repo":{"id":29258967,"name":"micro-manager","full_name":"ChrisWeisiger/micro-manager","owner":{"login":"ChrisWeisiger","id":10535260,"avatar_url":"https://avatars.githubusercontent.com/u/10535260?v=3","gravatar_id":"","url":"https://api.github.com/users/ChrisWeisiger","html_url":"https://github.com/ChrisWeisiger","followers_url":"https://api.github.com/users/ChrisWeisiger/followers","following_url":"https://api.github.com/users/ChrisWeisiger/following{/other_user}","gists_url":"https://api.github.com/users/ChrisWeisiger/gists{/gist_id}","starred_url":"https://api.github.com/users/ChrisWeisiger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChrisWeisiger/subscriptions","organizations_url":"https://api.github.com/users/ChrisWeisiger/orgs","repos_url":"https://api.github.com/users/ChrisWeisiger/repos","events_url":"https://api.github.com/users/ChrisWeisiger/events{/privacy}","received_events_url":"https://api.github.com/users/ChrisWeisiger/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ChrisWeisiger/micro-manager","description":"Micro-Manager is an open-source microscope control program. Please see http://www.micro-manager.org for more information.","fork":true,"url":"https://api.github.com/repos/ChrisWeisiger/micro-manager","forks_url":"https://api.github.com/repos/ChrisWeisiger/micro-manager/forks","keys_url":"https://api.github.com/repos/ChrisWeisiger/micro-manager/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ChrisWeisiger/micro-manager/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ChrisWeisiger/micro-manager/teams","hooks_url":"https://api.github.com/repos/ChrisWeisiger/micro-manager/hooks","issue_events_url":"https://api.github.com/repos/ChrisWeisiger/micro-manager/issues/events{/number}","events_url":"https://api.github.com/repos/ChrisWeisiger/micro-manager/events","assignees_url":"https://api.github.com/repos/ChrisWeisiger/micro-manager/assignees{/user}","branches_url":"https://api.github.com/repos/ChrisWeisiger/micro-manager/branches{/branch}","tags_url":"https://api.github.com/repos/ChrisWeisiger/micro-manager/tags","blobs_url":"https://api.github.com/repos/ChrisWeisiger/micro-manager/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ChrisWeisiger/micro-manager/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ChrisWeisiger/micro-manager/git/refs{/sha}","trees_url":"https://api.github.com/repos/ChrisWeisiger/micro-manager/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ChrisWeisiger/micro-manager/statuses/{sha}","languages_url":"https://api.github.com/repos/ChrisWeisiger/micro-manager/languages","stargazers_url":"https://api.github.com/repos/ChrisWeisiger/micro-manager/stargazers","contributors_url":"https://api.github.com/repos/ChrisWeisiger/micro-manager/contributors","subscribers_url":"https://api.github.com/repos/ChrisWeisiger/micro-manager/subscribers","subscription_url":"https://api.github.com/repos/ChrisWeisiger/micro-manager/subscription","commits_url":"https://api.github.com/repos/ChrisWeisiger/micro-manager/commits{/sha}","git_commits_url":"https://api.github.com/repos/ChrisWeisiger/micro-manager/git/commits{/sha}","comments_url":"https://api.github.com/repos/ChrisWeisiger/micro-manager/comments{/number}","issue_comment_url":"https://api.github.com/repos/ChrisWeisiger/micro-manager/issues/comments{/number}","contents_url":"https://api.github.com/repos/ChrisWeisiger/micro-manager/contents/{+path}","compare_url":"https://api.github.com/repos/ChrisWeisiger/micro-manager/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ChrisWeisiger/micro-manager/merges","archive_url":"https://api.github.com/repos/ChrisWeisiger/micro-manager/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ChrisWeisiger/micro-manager/downloads","issues_url":"https://api.github.com/repos/ChrisWeisiger/micro-manager/issues{/number}","pulls_url":"https://api.github.com/repos/ChrisWeisiger/micro-manager/pulls{/number}","milestones_url":"https://api.github.com/repos/ChrisWeisiger/micro-manager/milestones{/number}","notifications_url":"https://api.github.com/repos/ChrisWeisiger/micro-manager/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ChrisWeisiger/micro-manager/labels{/name}","releases_url":"https://api.github.com/repos/ChrisWeisiger/micro-manager/releases{/id}","deployments_url":"https://api.github.com/repos/ChrisWeisiger/micro-manager/deployments","created_at":"2015-01-14T18:28:44Z","updated_at":"2016-07-19T17:31:26Z","pushed_at":"2016-07-22T19:06:05Z","git_url":"git://github.com/ChrisWeisiger/micro-manager.git","ssh_url":"git@github.com:ChrisWeisiger/micro-manager.git","clone_url":"https://github.com/ChrisWeisiger/micro-manager.git","svn_url":"https://github.com/ChrisWeisiger/micro-manager","homepage":null,"size":211369,"stargazers_count":0,"watchers_count":0,"language":"C++","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":"micro-manager:mm2","ref":"mm2","sha":"3e6b615563ac26b9d3202b74a4cd17b961bd7a67","user":{"login":"micro-manager","id":8339406,"avatar_url":"https://avatars.githubusercontent.com/u/8339406?v=3","gravatar_id":"","url":"https://api.github.com/users/micro-manager","html_url":"https://github.com/micro-manager","followers_url":"https://api.github.com/users/micro-manager/followers","following_url":"https://api.github.com/users/micro-manager/following{/other_user}","gists_url":"https://api.github.com/users/micro-manager/gists{/gist_id}","starred_url":"https://api.github.com/users/micro-manager/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/micro-manager/subscriptions","organizations_url":"https://api.github.com/users/micro-manager/orgs","repos_url":"https://api.github.com/users/micro-manager/repos","events_url":"https://api.github.com/users/micro-manager/events{/privacy}","received_events_url":"https://api.github.com/users/micro-manager/received_events","type":"Organization","site_admin":false},"repo":{"id":29258811,"name":"micro-manager","full_name":"micro-manager/micro-manager","owner":{"login":"micro-manager","id":8339406,"avatar_url":"https://avatars.githubusercontent.com/u/8339406?v=3","gravatar_id":"","url":"https://api.github.com/users/micro-manager","html_url":"https://github.com/micro-manager","followers_url":"https://api.github.com/users/micro-manager/followers","following_url":"https://api.github.com/users/micro-manager/following{/other_user}","gists_url":"https://api.github.com/users/micro-manager/gists{/gist_id}","starred_url":"https://api.github.com/users/micro-manager/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/micro-manager/subscriptions","organizations_url":"https://api.github.com/users/micro-manager/orgs","repos_url":"https://api.github.com/users/micro-manager/repos","events_url":"https://api.github.com/users/micro-manager/events{/privacy}","received_events_url":"https://api.github.com/users/micro-manager/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/micro-manager/micro-manager","description":"Microscope control and image acquisition integrated with ImageJ.","fork":false,"url":"https://api.github.com/repos/micro-manager/micro-manager","forks_url":"https://api.github.com/repos/micro-manager/micro-manager/forks","keys_url":"https://api.github.com/repos/micro-manager/micro-manager/keys{/key_id}","collaborators_url":"https://api.github.com/repos/micro-manager/micro-manager/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/micro-manager/micro-manager/teams","hooks_url":"https://api.github.com/repos/micro-manager/micro-manager/hooks","issue_events_url":"https://api.github.com/repos/micro-manager/micro-manager/issues/events{/number}","events_url":"https://api.github.com/repos/micro-manager/micro-manager/events","assignees_url":"https://api.github.com/repos/micro-manager/micro-manager/assignees{/user}","branches_url":"https://api.github.com/repos/micro-manager/micro-manager/branches{/branch}","tags_url":"https://api.github.com/repos/micro-manager/micro-manager/tags","blobs_url":"https://api.github.com/repos/micro-manager/micro-manager/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/micro-manager/micro-manager/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/micro-manager/micro-manager/git/refs{/sha}","trees_url":"https://api.github.com/repos/micro-manager/micro-manager/git/trees{/sha}","statuses_url":"https://api.github.com/repos/micro-manager/micro-manager/statuses/{sha}","languages_url":"https://api.github.com/repos/micro-manager/micro-manager/languages","stargazers_url":"https://api.github.com/repos/micro-manager/micro-manager/stargazers","contributors_url":"https://api.github.com/repos/micro-manager/micro-manager/contributors","subscribers_url":"https://api.github.com/repos/micro-manager/micro-manager/subscribers","subscription_url":"https://api.github.com/repos/micro-manager/micro-manager/subscription","commits_url":"https://api.github.com/repos/micro-manager/micro-manager/commits{/sha}","git_commits_url":"https://api.github.com/repos/micro-manager/micro-manager/git/commits{/sha}","comments_url":"https://api.github.com/repos/micro-manager/micro-manager/comments{/number}","issue_comment_url":"https://api.github.com/repos/micro-manager/micro-manager/issues/comments{/number}","contents_url":"https://api.github.com/repos/micro-manager/micro-manager/contents/{+path}","compare_url":"https://api.github.com/repos/micro-manager/micro-manager/compare/{base}...{head}","merges_url":"https://api.github.com/repos/micro-manager/micro-manager/merges","archive_url":"https://api.github.com/repos/micro-manager/micro-manager/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/micro-manager/micro-manager/downloads","issues_url":"https://api.github.com/repos/micro-manager/micro-manager/issues{/number}","pulls_url":"https://api.github.com/repos/micro-manager/micro-manager/pulls{/number}","milestones_url":"https://api.github.com/repos/micro-manager/micro-manager/milestones{/number}","notifications_url":"https://api.github.com/repos/micro-manager/micro-manager/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/micro-manager/micro-manager/labels{/name}","releases_url":"https://api.github.com/repos/micro-manager/micro-manager/releases{/id}","deployments_url":"https://api.github.com/repos/micro-manager/micro-manager/deployments","created_at":"2015-01-14T18:25:22Z","updated_at":"2016-06-16T15:17:27Z","pushed_at":"2016-07-22T19:10:06Z","git_url":"git://github.com/micro-manager/micro-manager.git","ssh_url":"git@github.com:micro-manager/micro-manager.git","clone_url":"https://github.com/micro-manager/micro-manager.git","svn_url":"https://github.com/micro-manager/micro-manager","homepage":"http://www.micro-manager.org","size":219375,"stargazers_count":16,"watchers_count":16,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":12,"mirror_url":null,"open_issues_count":47,"forks":12,"open_issues":47,"watchers":16,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/micro-manager/micro-manager/pulls/366"},"html":{"href":"https://github.com/micro-manager/micro-manager/pull/366"},"issue":{"href":"https://api.github.com/repos/micro-manager/micro-manager/issues/366"},"comments":{"href":"https://api.github.com/repos/micro-manager/micro-manager/issues/366/comments"},"review_comments":{"href":"https://api.github.com/repos/micro-manager/micro-manager/pulls/366/comments"},"review_comment":{"href":"https://api.github.com/repos/micro-manager/micro-manager/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/micro-manager/micro-manager/pulls/366/commits"},"statuses":{"href":"https://api.github.com/repos/micro-manager/micro-manager/statuses/bd95e39a23d3efa1e1097112daf49bde6be3c00d"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":10,"additions":655,"deletions":3,"changed_files":8}}
{"actor":{"display_login":"ChrisWeisiger"}}