{"action":"created","issue":{"url":"https://api.github.com/repos/adobe-photoshop/spaces-design/issues/2963","labels_url":"https://api.github.com/repos/adobe-photoshop/spaces-design/issues/2963/labels{/name}","comments_url":"https://api.github.com/repos/adobe-photoshop/spaces-design/issues/2963/comments","events_url":"https://api.github.com/repos/adobe-photoshop/spaces-design/issues/2963/events","html_url":"https://github.com/adobe-photoshop/spaces-design/pull/2963","id":111525301,"number":2963,"title":"Update selection when collapsing groups","user":{"login":"iwehrman","id":1075154,"avatar_url":"https://avatars.githubusercontent.com/u/1075154?v=3","gravatar_id":"","url":"https://api.github.com/users/iwehrman","html_url":"https://github.com/iwehrman","followers_url":"https://api.github.com/users/iwehrman/followers","following_url":"https://api.github.com/users/iwehrman/following{/other_user}","gists_url":"https://api.github.com/users/iwehrman/gists{/gist_id}","starred_url":"https://api.github.com/users/iwehrman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iwehrman/subscriptions","organizations_url":"https://api.github.com/users/iwehrman/orgs","repos_url":"https://api.github.com/users/iwehrman/repos","events_url":"https://api.github.com/users/iwehrman/events{/privacy}","received_events_url":"https://api.github.com/users/iwehrman/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"mcilroyc","id":1168110,"avatar_url":"https://avatars.githubusercontent.com/u/1168110?v=3","gravatar_id":"","url":"https://api.github.com/users/mcilroyc","html_url":"https://github.com/mcilroyc","followers_url":"https://api.github.com/users/mcilroyc/followers","following_url":"https://api.github.com/users/mcilroyc/following{/other_user}","gists_url":"https://api.github.com/users/mcilroyc/gists{/gist_id}","starred_url":"https://api.github.com/users/mcilroyc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mcilroyc/subscriptions","organizations_url":"https://api.github.com/users/mcilroyc/orgs","repos_url":"https://api.github.com/users/mcilroyc/repos","events_url":"https://api.github.com/users/mcilroyc/events{/privacy}","received_events_url":"https://api.github.com/users/mcilroyc/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-10-15T01:11:01Z","updated_at":"2015-10-16T19:56:56Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/adobe-photoshop/spaces-design/pulls/2963","html_url":"https://github.com/adobe-photoshop/spaces-design/pull/2963","diff_url":"https://github.com/adobe-photoshop/spaces-design/pull/2963.diff","patch_url":"https://github.com/adobe-photoshop/spaces-design/pull/2963.patch"},"body":"This changes selection when collapsing groups to match Photoshop. It ensures that hidden children remain selected when a containing group is collapsed. In particular, this moves selection from selected descendants to the parent, but only if necessary, when collapsing groups. Otherwise, just clicking the group icon will (still) not change the selection. This is the same behavior as the standard Photoshop layer group disclosure triangles AFAICT.\r\n\r\nAddresses #2538."},"comment":{"url":"https://api.github.com/repos/adobe-photoshop/spaces-design/issues/comments/148819357","html_url":"https://github.com/adobe-photoshop/spaces-design/pull/2963#issuecomment-148819357","issue_url":"https://api.github.com/repos/adobe-photoshop/spaces-design/issues/2963","id":148819357,"user":{"login":"iwehrman","id":1075154,"avatar_url":"https://avatars.githubusercontent.com/u/1075154?v=3","gravatar_id":"","url":"https://api.github.com/users/iwehrman","html_url":"https://github.com/iwehrman","followers_url":"https://api.github.com/users/iwehrman/followers","following_url":"https://api.github.com/users/iwehrman/following{/other_user}","gists_url":"https://api.github.com/users/iwehrman/gists{/gist_id}","starred_url":"https://api.github.com/users/iwehrman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iwehrman/subscriptions","organizations_url":"https://api.github.com/users/iwehrman/orgs","repos_url":"https://api.github.com/users/iwehrman/repos","events_url":"https://api.github.com/users/iwehrman/events{/privacy}","received_events_url":"https://api.github.com/users/iwehrman/received_events","type":"User","site_admin":false},"created_at":"2015-10-16T19:56:56Z","updated_at":"2015-10-16T19:56:56Z","body":"I rebased and pushed another commit with your `if (!expand)` suggested change. Back 2 @mcilroyc."}}