{"action":"created","issue":{"url":"https://api.github.com/repos/Icinga/icingaweb2-module-eventdb/issues/11","repository_url":"https://api.github.com/repos/Icinga/icingaweb2-module-eventdb","labels_url":"https://api.github.com/repos/Icinga/icingaweb2-module-eventdb/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/Icinga/icingaweb2-module-eventdb/issues/11/comments","events_url":"https://api.github.com/repos/Icinga/icingaweb2-module-eventdb/issues/11/events","html_url":"https://github.com/Icinga/icingaweb2-module-eventdb/pull/11","id":246328057,"number":11,"title":"Refactor Priority/Severity widget","user":{"login":"lazyfrosch","id":121874,"avatar_url":"https://avatars2.githubusercontent.com/u/121874?v=4","gravatar_id":"","url":"https://api.github.com/users/lazyfrosch","html_url":"https://github.com/lazyfrosch","followers_url":"https://api.github.com/users/lazyfrosch/followers","following_url":"https://api.github.com/users/lazyfrosch/following{/other_user}","gists_url":"https://api.github.com/users/lazyfrosch/gists{/gist_id}","starred_url":"https://api.github.com/users/lazyfrosch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lazyfrosch/subscriptions","organizations_url":"https://api.github.com/users/lazyfrosch/orgs","repos_url":"https://api.github.com/users/lazyfrosch/repos","events_url":"https://api.github.com/users/lazyfrosch/events{/privacy}","received_events_url":"https://api.github.com/users/lazyfrosch/received_events","type":"User","site_admin":false},"labels":[{"id":517412215,"url":"https://api.github.com/repos/Icinga/icingaweb2-module-eventdb/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"open","locked":false,"assignee":{"login":"lazyfrosch","id":121874,"avatar_url":"https://avatars2.githubusercontent.com/u/121874?v=4","gravatar_id":"","url":"https://api.github.com/users/lazyfrosch","html_url":"https://github.com/lazyfrosch","followers_url":"https://api.github.com/users/lazyfrosch/followers","following_url":"https://api.github.com/users/lazyfrosch/following{/other_user}","gists_url":"https://api.github.com/users/lazyfrosch/gists{/gist_id}","starred_url":"https://api.github.com/users/lazyfrosch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lazyfrosch/subscriptions","organizations_url":"https://api.github.com/users/lazyfrosch/orgs","repos_url":"https://api.github.com/users/lazyfrosch/repos","events_url":"https://api.github.com/users/lazyfrosch/events{/privacy}","received_events_url":"https://api.github.com/users/lazyfrosch/received_events","type":"User","site_admin":false},"assignees":[{"login":"lazyfrosch","id":121874,"avatar_url":"https://avatars2.githubusercontent.com/u/121874?v=4","gravatar_id":"","url":"https://api.github.com/users/lazyfrosch","html_url":"https://github.com/lazyfrosch","followers_url":"https://api.github.com/users/lazyfrosch/followers","following_url":"https://api.github.com/users/lazyfrosch/following{/other_user}","gists_url":"https://api.github.com/users/lazyfrosch/gists{/gist_id}","starred_url":"https://api.github.com/users/lazyfrosch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lazyfrosch/subscriptions","organizations_url":"https://api.github.com/users/lazyfrosch/orgs","repos_url":"https://api.github.com/users/lazyfrosch/repos","events_url":"https://api.github.com/users/lazyfrosch/events{/privacy}","received_events_url":"https://api.github.com/users/lazyfrosch/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/Icinga/icingaweb2-module-eventdb/milestones/2","html_url":"https://github.com/Icinga/icingaweb2-module-eventdb/milestone/2","labels_url":"https://api.github.com/repos/Icinga/icingaweb2-module-eventdb/milestones/2/labels","id":2667389,"number":2,"title":"1.1.0","description":"","creator":{"login":"lazyfrosch","id":121874,"avatar_url":"https://avatars2.githubusercontent.com/u/121874?v=4","gravatar_id":"","url":"https://api.github.com/users/lazyfrosch","html_url":"https://github.com/lazyfrosch","followers_url":"https://api.github.com/users/lazyfrosch/followers","following_url":"https://api.github.com/users/lazyfrosch/following{/other_user}","gists_url":"https://api.github.com/users/lazyfrosch/gists{/gist_id}","starred_url":"https://api.github.com/users/lazyfrosch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lazyfrosch/subscriptions","organizations_url":"https://api.github.com/users/lazyfrosch/orgs","repos_url":"https://api.github.com/users/lazyfrosch/repos","events_url":"https://api.github.com/users/lazyfrosch/events{/privacy}","received_events_url":"https://api.github.com/users/lazyfrosch/received_events","type":"User","site_admin":false},"open_issues":3,"closed_issues":0,"state":"open","created_at":"2017-07-28T12:03:17Z","updated_at":"2017-07-28T12:19:05Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2017-07-28T12:02:33Z","updated_at":"2017-07-28T12:25:21Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Icinga/icingaweb2-module-eventdb/pulls/11","html_url":"https://github.com/Icinga/icingaweb2-module-eventdb/pull/11","diff_url":"https://github.com/Icinga/icingaweb2-module-eventdb/pull/11.diff","patch_url":"https://github.com/Icinga/icingaweb2-module-eventdb/pull/11.patch"},"body":"This is a UI improvement consisting of:\r\n\r\n* Color and style changes for severity display and selection\r\n* A more logical filter widget for the severity\r\n* Minor fix that the widget will fail in pagination\r\n\r\nScreenshots below"},"comment":{"url":"https://api.github.com/repos/Icinga/icingaweb2-module-eventdb/issues/comments/318638678","html_url":"https://github.com/Icinga/icingaweb2-module-eventdb/pull/11#issuecomment-318638678","issue_url":"https://api.github.com/repos/Icinga/icingaweb2-module-eventdb/issues/11","id":318638678,"user":{"login":"lazyfrosch","id":121874,"avatar_url":"https://avatars2.githubusercontent.com/u/121874?v=4","gravatar_id":"","url":"https://api.github.com/users/lazyfrosch","html_url":"https://github.com/lazyfrosch","followers_url":"https://api.github.com/users/lazyfrosch/followers","following_url":"https://api.github.com/users/lazyfrosch/following{/other_user}","gists_url":"https://api.github.com/users/lazyfrosch/gists{/gist_id}","starred_url":"https://api.github.com/users/lazyfrosch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lazyfrosch/subscriptions","organizations_url":"https://api.github.com/users/lazyfrosch/orgs","repos_url":"https://api.github.com/users/lazyfrosch/repos","events_url":"https://api.github.com/users/lazyfrosch/events{/privacy}","received_events_url":"https://api.github.com/users/lazyfrosch/received_events","type":"User","site_admin":false},"created_at":"2017-07-28T12:25:21Z","updated_at":"2017-07-28T12:25:21Z","body":"## Inclusion / Exclusion\r\n\r\nWhats unchanged: By default every event is visible, unfiltered.\r\n\r\n**Before this PR:**\r\n\r\n* the widget would add a filter for the respective priority (now only some events visible)\r\n* When clicking a button an inclusion is toggled\r\n\r\nOld filter when selecting all priorities (with the widget):\r\n\r\n    eventdb/events?priority=0|priority=1|priority=3|priority=2|priority=4|priority=5|priority=6|priority=7\r\n\r\nWhich simply would be: (the default view)\r\n\r\n    eventdb/events\r\n\r\n**New behavior:**\r\n\r\n* The filter widget shows all priorities selected by default\r\n* When clicking a button, a exclusion filter toggles\r\n\r\nDefault view (even when clicking in the widget):\r\n\r\n    eventdb/events\r\n\r\nExcluding normal events:\r\n\r\n![bildschirmfoto von 2017-07-28 14-23-51](https://user-images.githubusercontent.com/121874/28717036-67fedcd8-73a0-11e7-8f7f-a1ced43140f9.png)\r\n\r\n    eventdb/events?priority!=7&priority!=6&priority!=5\r\n\r\nThis mimics the logic of the icinga-web 1 module, and makes more sense.\r\n\r\n### Compat\r\n\r\nInclusion filters are recognized, and adapted on using the widget again."}}
{"actor":{"display_login":"lazyfrosch"}}