{"action":"created","issue":{"url":"https://api.github.com/repos/mozilla-iot/gateway/issues/564","repository_url":"https://api.github.com/repos/mozilla-iot/gateway","labels_url":"https://api.github.com/repos/mozilla-iot/gateway/issues/564/labels{/name}","comments_url":"https://api.github.com/repos/mozilla-iot/gateway/issues/564/comments","events_url":"https://api.github.com/repos/mozilla-iot/gateway/issues/564/events","html_url":"https://github.com/mozilla-iot/gateway/issues/564","id":292527405,"node_id":"MDU6SXNzdWUyOTI1Mjc0MDU=","number":564,"title":"Allow deleting Rule in Rule page","user":{"login":"hobinjk","id":2776089,"node_id":"MDQ6VXNlcjI3NzYwODk=","avatar_url":"https://avatars1.githubusercontent.com/u/2776089?v=4","gravatar_id":"","url":"https://api.github.com/users/hobinjk","html_url":"https://github.com/hobinjk","followers_url":"https://api.github.com/users/hobinjk/followers","following_url":"https://api.github.com/users/hobinjk/following{/other_user}","gists_url":"https://api.github.com/users/hobinjk/gists{/gist_id}","starred_url":"https://api.github.com/users/hobinjk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hobinjk/subscriptions","organizations_url":"https://api.github.com/users/hobinjk/orgs","repos_url":"https://api.github.com/users/hobinjk/repos","events_url":"https://api.github.com/users/hobinjk/events{/privacy}","received_events_url":"https://api.github.com/users/hobinjk/received_events","type":"User","site_admin":false},"labels":[{"id":762290963,"node_id":"MDU6TGFiZWw3NjIyOTA5NjM=","url":"https://api.github.com/repos/mozilla-iot/gateway/labels/backlog","name":"backlog","color":"ededed","default":false},{"id":769275766,"node_id":"MDU6TGFiZWw3NjkyNzU3NjY=","url":"https://api.github.com/repos/mozilla-iot/gateway/labels/good%20first%20bug","name":"good first bug","color":"b2ef37","default":false},{"id":909480380,"node_id":"MDU6TGFiZWw5MDk0ODAzODA=","url":"https://api.github.com/repos/mozilla-iot/gateway/labels/rules-engine","name":"rules-engine","color":"09c2e2","default":false},{"id":567824439,"node_id":"MDU6TGFiZWw1Njc4MjQ0Mzk=","url":"https://api.github.com/repos/mozilla-iot/gateway/labels/story","name":"story","color":"0e8a16","default":false},{"id":737656961,"node_id":"MDU6TGFiZWw3Mzc2NTY5NjE=","url":"https://api.github.com/repos/mozilla-iot/gateway/labels/ui-needed","name":"ui-needed","color":"cccccc","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-01-29T19:18:21Z","updated_at":"2018-11-26T15:23:32Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"As a user, I want to be able to delete the rule I'm working on from the edit page instead of having to return to the rules list."},"comment":{"url":"https://api.github.com/repos/mozilla-iot/gateway/issues/comments/441677150","html_url":"https://github.com/mozilla-iot/gateway/issues/564#issuecomment-441677150","issue_url":"https://api.github.com/repos/mozilla-iot/gateway/issues/564","id":441677150,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MTY3NzE1MA==","user":{"login":"hobinjk","id":2776089,"node_id":"MDQ6VXNlcjI3NzYwODk=","avatar_url":"https://avatars1.githubusercontent.com/u/2776089?v=4","gravatar_id":"","url":"https://api.github.com/users/hobinjk","html_url":"https://github.com/hobinjk","followers_url":"https://api.github.com/users/hobinjk/followers","following_url":"https://api.github.com/users/hobinjk/following{/other_user}","gists_url":"https://api.github.com/users/hobinjk/gists{/gist_id}","starred_url":"https://api.github.com/users/hobinjk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hobinjk/subscriptions","organizations_url":"https://api.github.com/users/hobinjk/orgs","repos_url":"https://api.github.com/users/hobinjk/repos","events_url":"https://api.github.com/users/hobinjk/events{/privacy}","received_events_url":"https://api.github.com/users/hobinjk/received_events","type":"User","site_admin":false},"created_at":"2018-11-26T15:23:32Z","updated_at":"2018-11-26T15:23:32Z","author_association":"CONTRIBUTOR","body":"@marti1125  Sorry for the delay in responding! The general idea is to make sure that the logic in https://github.com/mozilla-iot/gateway/blob/master/static/js/rule-screen.js#L76 works. To do this, you'll just need to delete this line https://github.com/mozilla-iot/gateway/blob/master/static/css/rule.css#L32 to make the trash can icon show up (at least in theory).\r\n\r\nWhen this icon is clicked it should pop up a working rule deletion overlay when clicked. I think there will be some CSS/JS fixes necessary to get everything looking and behaving properly."}}
{"actor":{"display_login":"hobinjk"}}