{"action":"closed","number":2363,"pull_request":{"url":"https://api.github.com/repos/zaproxy/zaproxy/pulls/2363","id":64860695,"html_url":"https://github.com/zaproxy/zaproxy/pull/2363","diff_url":"https://github.com/zaproxy/zaproxy/pull/2363.diff","patch_url":"https://github.com/zaproxy/zaproxy/pull/2363.patch","issue_url":"https://api.github.com/repos/zaproxy/zaproxy/issues/2363","number":2363,"state":"closed","locked":false,"title":"Keep break buttons in sync when changing mode","user":{"login":"thc202","id":4639210,"avatar_url":"https://avatars.githubusercontent.com/u/4639210?v=3","gravatar_id":"","url":"https://api.github.com/users/thc202","html_url":"https://github.com/thc202","followers_url":"https://api.github.com/users/thc202/followers","following_url":"https://api.github.com/users/thc202/following{/other_user}","gists_url":"https://api.github.com/users/thc202/gists{/gist_id}","starred_url":"https://api.github.com/users/thc202/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thc202/subscriptions","organizations_url":"https://api.github.com/users/thc202/orgs","repos_url":"https://api.github.com/users/thc202/repos","events_url":"https://api.github.com/users/thc202/events{/privacy}","received_events_url":"https://api.github.com/users/thc202/received_events","type":"User","site_admin":false},"body":"Change class BreakPanelToolbarFactory to keep the break buttons \"All\"\r\nand \"Request\"/\"Response\" in sync, that is, when changing between the two\r\ntypes of buttons set them selected (and old buttons unselected, to not\r\ninterfere with others buttons' state) depending on the selection state\r\nof the other ones, otherwise while changing modes the button(s) would\r\nstill be selected and would trigger the breakpoints without the newly\r\nshown button(s) being selected.\r\nThe logic is as follow:\r\n - When changing to \"Request\"/\"Response\" buttons set both selected, if\r\n the \"All\" button is selected;\r\n - When changing to \"All\" set it selected, if at least one of the\r\n \"Request\"/\"Response\" buttons is selected;\r\n - If none of the button(s) is selected there's no change in its states.","created_at":"2016-03-31T21:19:21Z","updated_at":"2016-04-01T06:51:34Z","closed_at":"2016-04-01T06:51:34Z","merged_at":"2016-04-01T06:51:34Z","merge_commit_sha":"74da572cc1e8848e1031a9930614ee4e1b59f60a","assignee":null,"milestone":{"url":"https://api.github.com/repos/zaproxy/zaproxy/milestones/1","html_url":"https://github.com/zaproxy/zaproxy/milestones/2.5.0","labels_url":"https://api.github.com/repos/zaproxy/zaproxy/milestones/1/labels","id":1487775,"number":1,"title":"2.5.0","description":"Enhancements and bug fixes expected to be included in the next main release.","creator":{"login":"thc202","id":4639210,"avatar_url":"https://avatars.githubusercontent.com/u/4639210?v=3","gravatar_id":"","url":"https://api.github.com/users/thc202","html_url":"https://github.com/thc202","followers_url":"https://api.github.com/users/thc202/followers","following_url":"https://api.github.com/users/thc202/following{/other_user}","gists_url":"https://api.github.com/users/thc202/gists{/gist_id}","starred_url":"https://api.github.com/users/thc202/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thc202/subscriptions","organizations_url":"https://api.github.com/users/thc202/orgs","repos_url":"https://api.github.com/users/thc202/repos","events_url":"https://api.github.com/users/thc202/events{/privacy}","received_events_url":"https://api.github.com/users/thc202/received_events","type":"User","site_admin":false},"open_issues":8,"closed_issues":76,"state":"open","created_at":"2016-01-06T16:25:24Z","updated_at":"2016-04-01T06:51:34Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/zaproxy/zaproxy/pulls/2363/commits","review_comments_url":"https://api.github.com/repos/zaproxy/zaproxy/pulls/2363/comments","review_comment_url":"https://api.github.com/repos/zaproxy/zaproxy/pulls/comments{/number}","comments_url":"https://api.github.com/repos/zaproxy/zaproxy/issues/2363/comments","statuses_url":"https://api.github.com/repos/zaproxy/zaproxy/statuses/42b910382887a78fcdab9d5e57bf49882c26a16e","head":{"label":"thc202:sync-break-buttons-modes","ref":"sync-break-buttons-modes","sha":"42b910382887a78fcdab9d5e57bf49882c26a16e","user":{"login":"thc202","id":4639210,"avatar_url":"https://avatars.githubusercontent.com/u/4639210?v=3","gravatar_id":"","url":"https://api.github.com/users/thc202","html_url":"https://github.com/thc202","followers_url":"https://api.github.com/users/thc202/followers","following_url":"https://api.github.com/users/thc202/following{/other_user}","gists_url":"https://api.github.com/users/thc202/gists{/gist_id}","starred_url":"https://api.github.com/users/thc202/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thc202/subscriptions","organizations_url":"https://api.github.com/users/thc202/orgs","repos_url":"https://api.github.com/users/thc202/repos","events_url":"https://api.github.com/users/thc202/events{/privacy}","received_events_url":"https://api.github.com/users/thc202/received_events","type":"User","site_admin":false},"repo":{"id":36922121,"name":"zaproxy","full_name":"thc202/zaproxy","owner":{"login":"thc202","id":4639210,"avatar_url":"https://avatars.githubusercontent.com/u/4639210?v=3","gravatar_id":"","url":"https://api.github.com/users/thc202","html_url":"https://github.com/thc202","followers_url":"https://api.github.com/users/thc202/followers","following_url":"https://api.github.com/users/thc202/following{/other_user}","gists_url":"https://api.github.com/users/thc202/gists{/gist_id}","starred_url":"https://api.github.com/users/thc202/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thc202/subscriptions","organizations_url":"https://api.github.com/users/thc202/orgs","repos_url":"https://api.github.com/users/thc202/repos","events_url":"https://api.github.com/users/thc202/events{/privacy}","received_events_url":"https://api.github.com/users/thc202/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/thc202/zaproxy","description":"The OWASP ZAP core project","fork":true,"url":"https://api.github.com/repos/thc202/zaproxy","forks_url":"https://api.github.com/repos/thc202/zaproxy/forks","keys_url":"https://api.github.com/repos/thc202/zaproxy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/thc202/zaproxy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/thc202/zaproxy/teams","hooks_url":"https://api.github.com/repos/thc202/zaproxy/hooks","issue_events_url":"https://api.github.com/repos/thc202/zaproxy/issues/events{/number}","events_url":"https://api.github.com/repos/thc202/zaproxy/events","assignees_url":"https://api.github.com/repos/thc202/zaproxy/assignees{/user}","branches_url":"https://api.github.com/repos/thc202/zaproxy/branches{/branch}","tags_url":"https://api.github.com/repos/thc202/zaproxy/tags","blobs_url":"https://api.github.com/repos/thc202/zaproxy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/thc202/zaproxy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/thc202/zaproxy/git/refs{/sha}","trees_url":"https://api.github.com/repos/thc202/zaproxy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/thc202/zaproxy/statuses/{sha}","languages_url":"https://api.github.com/repos/thc202/zaproxy/languages","stargazers_url":"https://api.github.com/repos/thc202/zaproxy/stargazers","contributors_url":"https://api.github.com/repos/thc202/zaproxy/contributors","subscribers_url":"https://api.github.com/repos/thc202/zaproxy/subscribers","subscription_url":"https://api.github.com/repos/thc202/zaproxy/subscription","commits_url":"https://api.github.com/repos/thc202/zaproxy/commits{/sha}","git_commits_url":"https://api.github.com/repos/thc202/zaproxy/git/commits{/sha}","comments_url":"https://api.github.com/repos/thc202/zaproxy/comments{/number}","issue_comment_url":"https://api.github.com/repos/thc202/zaproxy/issues/comments{/number}","contents_url":"https://api.github.com/repos/thc202/zaproxy/contents/{+path}","compare_url":"https://api.github.com/repos/thc202/zaproxy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/thc202/zaproxy/merges","archive_url":"https://api.github.com/repos/thc202/zaproxy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/thc202/zaproxy/downloads","issues_url":"https://api.github.com/repos/thc202/zaproxy/issues{/number}","pulls_url":"https://api.github.com/repos/thc202/zaproxy/pulls{/number}","milestones_url":"https://api.github.com/repos/thc202/zaproxy/milestones{/number}","notifications_url":"https://api.github.com/repos/thc202/zaproxy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/thc202/zaproxy/labels{/name}","releases_url":"https://api.github.com/repos/thc202/zaproxy/releases{/id}","deployments_url":"https://api.github.com/repos/thc202/zaproxy/deployments","created_at":"2015-06-05T08:44:56Z","updated_at":"2016-01-11T11:27:53Z","pushed_at":"2016-03-31T21:11:16Z","git_url":"git://github.com/thc202/zaproxy.git","ssh_url":"git@github.com:thc202/zaproxy.git","clone_url":"https://github.com/thc202/zaproxy.git","svn_url":"https://github.com/thc202/zaproxy","homepage":null,"size":162637,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"zaproxy:develop","ref":"develop","sha":"21e3647d47dea72c73e7adae5ffee12c2ad86050","user":{"login":"zaproxy","id":6716868,"avatar_url":"https://avatars.githubusercontent.com/u/6716868?v=3","gravatar_id":"","url":"https://api.github.com/users/zaproxy","html_url":"https://github.com/zaproxy","followers_url":"https://api.github.com/users/zaproxy/followers","following_url":"https://api.github.com/users/zaproxy/following{/other_user}","gists_url":"https://api.github.com/users/zaproxy/gists{/gist_id}","starred_url":"https://api.github.com/users/zaproxy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zaproxy/subscriptions","organizations_url":"https://api.github.com/users/zaproxy/orgs","repos_url":"https://api.github.com/users/zaproxy/repos","events_url":"https://api.github.com/users/zaproxy/events{/privacy}","received_events_url":"https://api.github.com/users/zaproxy/received_events","type":"Organization","site_admin":false},"repo":{"id":36817565,"name":"zaproxy","full_name":"zaproxy/zaproxy","owner":{"login":"zaproxy","id":6716868,"avatar_url":"https://avatars.githubusercontent.com/u/6716868?v=3","gravatar_id":"","url":"https://api.github.com/users/zaproxy","html_url":"https://github.com/zaproxy","followers_url":"https://api.github.com/users/zaproxy/followers","following_url":"https://api.github.com/users/zaproxy/following{/other_user}","gists_url":"https://api.github.com/users/zaproxy/gists{/gist_id}","starred_url":"https://api.github.com/users/zaproxy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zaproxy/subscriptions","organizations_url":"https://api.github.com/users/zaproxy/orgs","repos_url":"https://api.github.com/users/zaproxy/repos","events_url":"https://api.github.com/users/zaproxy/events{/privacy}","received_events_url":"https://api.github.com/users/zaproxy/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/zaproxy/zaproxy","description":"The OWASP ZAP core project","fork":false,"url":"https://api.github.com/repos/zaproxy/zaproxy","forks_url":"https://api.github.com/repos/zaproxy/zaproxy/forks","keys_url":"https://api.github.com/repos/zaproxy/zaproxy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zaproxy/zaproxy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zaproxy/zaproxy/teams","hooks_url":"https://api.github.com/repos/zaproxy/zaproxy/hooks","issue_events_url":"https://api.github.com/repos/zaproxy/zaproxy/issues/events{/number}","events_url":"https://api.github.com/repos/zaproxy/zaproxy/events","assignees_url":"https://api.github.com/repos/zaproxy/zaproxy/assignees{/user}","branches_url":"https://api.github.com/repos/zaproxy/zaproxy/branches{/branch}","tags_url":"https://api.github.com/repos/zaproxy/zaproxy/tags","blobs_url":"https://api.github.com/repos/zaproxy/zaproxy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zaproxy/zaproxy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zaproxy/zaproxy/git/refs{/sha}","trees_url":"https://api.github.com/repos/zaproxy/zaproxy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zaproxy/zaproxy/statuses/{sha}","languages_url":"https://api.github.com/repos/zaproxy/zaproxy/languages","stargazers_url":"https://api.github.com/repos/zaproxy/zaproxy/stargazers","contributors_url":"https://api.github.com/repos/zaproxy/zaproxy/contributors","subscribers_url":"https://api.github.com/repos/zaproxy/zaproxy/subscribers","subscription_url":"https://api.github.com/repos/zaproxy/zaproxy/subscription","commits_url":"https://api.github.com/repos/zaproxy/zaproxy/commits{/sha}","git_commits_url":"https://api.github.com/repos/zaproxy/zaproxy/git/commits{/sha}","comments_url":"https://api.github.com/repos/zaproxy/zaproxy/comments{/number}","issue_comment_url":"https://api.github.com/repos/zaproxy/zaproxy/issues/comments{/number}","contents_url":"https://api.github.com/repos/zaproxy/zaproxy/contents/{+path}","compare_url":"https://api.github.com/repos/zaproxy/zaproxy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zaproxy/zaproxy/merges","archive_url":"https://api.github.com/repos/zaproxy/zaproxy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zaproxy/zaproxy/downloads","issues_url":"https://api.github.com/repos/zaproxy/zaproxy/issues{/number}","pulls_url":"https://api.github.com/repos/zaproxy/zaproxy/pulls{/number}","milestones_url":"https://api.github.com/repos/zaproxy/zaproxy/milestones{/number}","notifications_url":"https://api.github.com/repos/zaproxy/zaproxy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zaproxy/zaproxy/labels{/name}","releases_url":"https://api.github.com/repos/zaproxy/zaproxy/releases{/id}","deployments_url":"https://api.github.com/repos/zaproxy/zaproxy/deployments","created_at":"2015-06-03T16:55:01Z","updated_at":"2016-03-31T21:28:26Z","pushed_at":"2016-04-01T06:51:34Z","git_url":"git://github.com/zaproxy/zaproxy.git","ssh_url":"git@github.com:zaproxy/zaproxy.git","clone_url":"https://github.com/zaproxy/zaproxy.git","svn_url":"https://github.com/zaproxy/zaproxy","homepage":null,"size":166601,"stargazers_count":976,"watchers_count":976,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":222,"mirror_url":null,"open_issues_count":465,"forks":222,"open_issues":465,"watchers":976,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/zaproxy/zaproxy/pulls/2363"},"html":{"href":"https://github.com/zaproxy/zaproxy/pull/2363"},"issue":{"href":"https://api.github.com/repos/zaproxy/zaproxy/issues/2363"},"comments":{"href":"https://api.github.com/repos/zaproxy/zaproxy/issues/2363/comments"},"review_comments":{"href":"https://api.github.com/repos/zaproxy/zaproxy/pulls/2363/comments"},"review_comment":{"href":"https://api.github.com/repos/zaproxy/zaproxy/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/zaproxy/zaproxy/pulls/2363/commits"},"statuses":{"href":"https://api.github.com/repos/zaproxy/zaproxy/statuses/42b910382887a78fcdab9d5e57bf49882c26a16e"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"psiinon","id":1081115,"avatar_url":"https://avatars.githubusercontent.com/u/1081115?v=3","gravatar_id":"","url":"https://api.github.com/users/psiinon","html_url":"https://github.com/psiinon","followers_url":"https://api.github.com/users/psiinon/followers","following_url":"https://api.github.com/users/psiinon/following{/other_user}","gists_url":"https://api.github.com/users/psiinon/gists{/gist_id}","starred_url":"https://api.github.com/users/psiinon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/psiinon/subscriptions","organizations_url":"https://api.github.com/users/psiinon/orgs","repos_url":"https://api.github.com/users/psiinon/repos","events_url":"https://api.github.com/users/psiinon/events{/privacy}","received_events_url":"https://api.github.com/users/psiinon/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":1,"additions":33,"deletions":0,"changed_files":1}}