{"action":"created","issue":{"url":"https://api.github.com/repos/Cockatrice/Cockatrice/issues/3239","repository_url":"https://api.github.com/repos/Cockatrice/Cockatrice","labels_url":"https://api.github.com/repos/Cockatrice/Cockatrice/issues/3239/labels{/name}","comments_url":"https://api.github.com/repos/Cockatrice/Cockatrice/issues/3239/comments","events_url":"https://api.github.com/repos/Cockatrice/Cockatrice/issues/3239/events","html_url":"https://github.com/Cockatrice/Cockatrice/pull/3239","id":322390342,"number":3239,"title":"[WIP] Hide non-existent card values in infowidget and cardframe","user":{"login":"berserkingyadis","id":9959527,"avatar_url":"https://avatars0.githubusercontent.com/u/9959527?v=4","gravatar_id":"","url":"https://api.github.com/users/berserkingyadis","html_url":"https://github.com/berserkingyadis","followers_url":"https://api.github.com/users/berserkingyadis/followers","following_url":"https://api.github.com/users/berserkingyadis/following{/other_user}","gists_url":"https://api.github.com/users/berserkingyadis/gists{/gist_id}","starred_url":"https://api.github.com/users/berserkingyadis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/berserkingyadis/subscriptions","organizations_url":"https://api.github.com/users/berserkingyadis/orgs","repos_url":"https://api.github.com/users/berserkingyadis/repos","events_url":"https://api.github.com/users/berserkingyadis/events{/privacy}","received_events_url":"https://api.github.com/users/berserkingyadis/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-05-11T18:22:50Z","updated_at":"2018-05-11T20:27:26Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/Cockatrice/Cockatrice/pulls/3239","html_url":"https://github.com/Cockatrice/Cockatrice/pull/3239","diff_url":"https://github.com/Cockatrice/Cockatrice/pull/3239.diff","patch_url":"https://github.com/Cockatrice/Cockatrice/pull/3239.patch"},"body":"## Related Ticket(s)\r\n- Fixes #2972\r\n\r\n## Short roundup of the initial problem\r\nWhen clicking on a card linked in the chat (or displaying it in the deck editor), it contains emtpy values. For example Power/Toughness for spells or mana cost for lands.\r\n![34120202-1c3c75d0-e425-11e7-89d1-f8c9eb152e78](https://user-images.githubusercontent.com/9959527/39940243-e87b1dbe-5558-11e8-8842-c0a99405a650.png)\r\n\r\n## What will change with this Pull Request?\r\n- Empty fields will be hidden in both the Infowidget (clicking on cards from chat) and the Deckeditor\r\n- Cards without color will have the Color string \"Colorless\"\r\n\r\n## Screenshots\r\n## Before\r\n![before](https://user-images.githubusercontent.com/9959527/39939629-27080ce2-5557-11e8-930e-3bf53f8325b9.png)\r\n![before2](https://user-images.githubusercontent.com/9959527/39940150-a1271f3a-5558-11e8-991c-15fc661b8e90.png)\r\n\r\n## After\r\n![after](https://user-images.githubusercontent.com/9959527/39939958-099f64d8-5558-11e8-96f7-ee152ecfb220.png)\r\n![after2](https://user-images.githubusercontent.com/9959527/39940153-a4a9bec4-5558-11e8-8fae-0b7e4057cdcf.png)\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/Cockatrice/Cockatrice/issues/comments/388476734","html_url":"https://github.com/Cockatrice/Cockatrice/pull/3239#issuecomment-388476734","issue_url":"https://api.github.com/repos/Cockatrice/Cockatrice/issues/3239","id":388476734,"user":{"login":"ZeldaZach","id":7460172,"avatar_url":"https://avatars0.githubusercontent.com/u/7460172?v=4","gravatar_id":"","url":"https://api.github.com/users/ZeldaZach","html_url":"https://github.com/ZeldaZach","followers_url":"https://api.github.com/users/ZeldaZach/followers","following_url":"https://api.github.com/users/ZeldaZach/following{/other_user}","gists_url":"https://api.github.com/users/ZeldaZach/gists{/gist_id}","starred_url":"https://api.github.com/users/ZeldaZach/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ZeldaZach/subscriptions","organizations_url":"https://api.github.com/users/ZeldaZach/orgs","repos_url":"https://api.github.com/users/ZeldaZach/repos","events_url":"https://api.github.com/users/ZeldaZach/events{/privacy}","received_events_url":"https://api.github.com/users/ZeldaZach/received_events","type":"User","site_admin":false},"created_at":"2018-05-11T20:27:26Z","updated_at":"2018-05-11T20:27:26Z","author_association":"MEMBER","body":"Make sure you run the `./clangify.sh` at the top level so your code gets formatted correctly! :)"}}
{"actor":{"display_login":"ZeldaZach"}}