{"action":"opened","issue":{"url":"https://api.github.com/repos/devtools-html/debugger.html/issues/5461","repository_url":"https://api.github.com/repos/devtools-html/debugger.html","labels_url":"https://api.github.com/repos/devtools-html/debugger.html/issues/5461/labels{/name}","comments_url":"https://api.github.com/repos/devtools-html/debugger.html/issues/5461/comments","events_url":"https://api.github.com/repos/devtools-html/debugger.html/issues/5461/events","html_url":"https://github.com/devtools-html/debugger.html/issues/5461","id":298085109,"number":5461,"title":"Remove all [Breakpoints] button on their [AccordionPaneItem]","user":{"login":"kootoopas","id":601001,"avatar_url":"https://avatars2.githubusercontent.com/u/601001?v=4","gravatar_id":"","url":"https://api.github.com/users/kootoopas","html_url":"https://github.com/kootoopas","followers_url":"https://api.github.com/users/kootoopas/followers","following_url":"https://api.github.com/users/kootoopas/following{/other_user}","gists_url":"https://api.github.com/users/kootoopas/gists{/gist_id}","starred_url":"https://api.github.com/users/kootoopas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kootoopas/subscriptions","organizations_url":"https://api.github.com/users/kootoopas/orgs","repos_url":"https://api.github.com/users/kootoopas/repos","events_url":"https://api.github.com/users/kootoopas/events{/privacy}","received_events_url":"https://api.github.com/users/kootoopas/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-18T13:33:13Z","updated_at":"2018-02-18T13:33:13Z","closed_at":null,"author_association":"MEMBER","body":"[***EDIT***: I just found out that there's a context menu option to `Remove all` but I still think this is useful to have since it makes its existence obvious]\r\n\r\nProposal\r\n---------\r\n\r\nAlthough it could be dangerous to lose all breakpoints by misclick, say if the button were to be placed really close to the 'toggle all' checkbox on the pane's header, it kind of sucks to manually have to delete each breakpoint when you just want to clear 'em all.\r\n\r\n<img width=\"303\" alt=\"screen shot 2018-02-18 at 2 09 50 pm\" src=\"https://user-images.githubusercontent.com/601001/36351620-9c722f40-14b5-11e8-91b0-59e5080f84d1.png\">\r\n\r\n\r\nImplementation\r\n---------------\r\n\r\nStarting points in code:\r\n* add button to breakpoints `AccordionPaneItem`: https://github.com/devtools-html/debugger.html/blob/fa77e0bb471a82fa36e4e144a3a4e97ff4a24e88/src/components/SecondaryPanes/index.js#L195\r\n* `connect()` button with action: https://github.com/devtools-html/debugger.html/blob/fa77e0bb471a82fa36e4e144a3a4e97ff4a24e88/src/actions/breakpoints.js#L227-L234\r\n"}}
{"actor":{"display_login":"kootoopas"}}