{"action":"created","issue":{"url":"https://api.github.com/repos/Cockatrice/Cockatrice/issues/2132","repository_url":"https://api.github.com/repos/Cockatrice/Cockatrice","labels_url":"https://api.github.com/repos/Cockatrice/Cockatrice/issues/2132/labels{/name}","comments_url":"https://api.github.com/repos/Cockatrice/Cockatrice/issues/2132/comments","events_url":"https://api.github.com/repos/Cockatrice/Cockatrice/issues/2132/events","html_url":"https://github.com/Cockatrice/Cockatrice/pull/2132","id":171768112,"number":2132,"title":"Optimize card move between main/side in deck editor","user":{"login":"ctrlaltca","id":1631111,"avatar_url":"https://avatars.githubusercontent.com/u/1631111?v=3","gravatar_id":"","url":"https://api.github.com/users/ctrlaltca","html_url":"https://github.com/ctrlaltca","followers_url":"https://api.github.com/users/ctrlaltca/followers","following_url":"https://api.github.com/users/ctrlaltca/following{/other_user}","gists_url":"https://api.github.com/users/ctrlaltca/gists{/gist_id}","starred_url":"https://api.github.com/users/ctrlaltca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ctrlaltca/subscriptions","organizations_url":"https://api.github.com/users/ctrlaltca/orgs","repos_url":"https://api.github.com/users/ctrlaltca/repos","events_url":"https://api.github.com/users/ctrlaltca/events{/privacy}","received_events_url":"https://api.github.com/users/ctrlaltca/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-08-17T21:45:08Z","updated_at":"2016-08-18T09:29:05Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Cockatrice/Cockatrice/pulls/2132","html_url":"https://github.com/Cockatrice/Cockatrice/pull/2132","diff_url":"https://github.com/Cockatrice/Cockatrice/pull/2132.diff","patch_url":"https://github.com/Cockatrice/Cockatrice/pull/2132.patch"},"body":"When a card is moved between main and side in the deck editor using the \"S\" shortcut key, change the currently selected card \"following\" its movement only if it's the last copy of that card in that zone.\r\n\r\nTo explain it a bit simpler, if you have 4 copies of the same card in the \"main\" zone, pressing S will move a card to the \"side\" but keep the selection on the 3 cards that are still in the \"main\" zone.\r\nOnly when the last card is moved to the \"side\" zone, the selection will follow the card into the new zone.\r\n \r\nfix #2129"},"comment":{"url":"https://api.github.com/repos/Cockatrice/Cockatrice/issues/comments/240671463","html_url":"https://github.com/Cockatrice/Cockatrice/pull/2132#issuecomment-240671463","issue_url":"https://api.github.com/repos/Cockatrice/Cockatrice/issues/2132","id":240671463,"user":{"login":"tooomm","id":9874850,"avatar_url":"https://avatars.githubusercontent.com/u/9874850?v=3","gravatar_id":"","url":"https://api.github.com/users/tooomm","html_url":"https://github.com/tooomm","followers_url":"https://api.github.com/users/tooomm/followers","following_url":"https://api.github.com/users/tooomm/following{/other_user}","gists_url":"https://api.github.com/users/tooomm/gists{/gist_id}","starred_url":"https://api.github.com/users/tooomm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tooomm/subscriptions","organizations_url":"https://api.github.com/users/tooomm/orgs","repos_url":"https://api.github.com/users/tooomm/repos","events_url":"https://api.github.com/users/tooomm/events{/privacy}","received_events_url":"https://api.github.com/users/tooomm/received_events","type":"User","site_admin":false},"created_at":"2016-08-18T09:29:04Z","updated_at":"2016-08-18T09:29:04Z","body":"Working as described. The focus doesn't change as long as there are more of the same card left.\r\nIs the last card moved the focus follows the card to the other zone.\r\nThis should improve the current situation!\r\n\r\n(while in #2129 the proposal was to always keep the focus in the same group)"}}
{"actor":{"display_login":"tooomm"}}