{"action":"closed","issue":{"url":"https://api.github.com/repos/Microsoft/pxt-microbit/issues/986","repository_url":"https://api.github.com/repos/Microsoft/pxt-microbit","labels_url":"https://api.github.com/repos/Microsoft/pxt-microbit/issues/986/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/pxt-microbit/issues/986/comments","events_url":"https://api.github.com/repos/Microsoft/pxt-microbit/issues/986/events","html_url":"https://github.com/Microsoft/pxt-microbit/issues/986","id":345338237,"node_id":"MDU6SXNzdWUzNDUzMzgyMzc=","number":986,"title":"Pick Random block rendering on import","user":{"login":"Jaqster","id":22108954,"node_id":"MDQ6VXNlcjIyMTA4OTU0","avatar_url":"https://avatars1.githubusercontent.com/u/22108954?v=4","gravatar_id":"","url":"https://api.github.com/users/Jaqster","html_url":"https://github.com/Jaqster","followers_url":"https://api.github.com/users/Jaqster/followers","following_url":"https://api.github.com/users/Jaqster/following{/other_user}","gists_url":"https://api.github.com/users/Jaqster/gists{/gist_id}","starred_url":"https://api.github.com/users/Jaqster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jaqster/subscriptions","organizations_url":"https://api.github.com/users/Jaqster/orgs","repos_url":"https://api.github.com/users/Jaqster/repos","events_url":"https://api.github.com/users/Jaqster/events{/privacy}","received_events_url":"https://api.github.com/users/Jaqster/received_events","type":"User","site_admin":false},"labels":[{"id":392258838,"node_id":"MDU6TGFiZWwzOTIyNTg4Mzg=","url":"https://api.github.com/repos/Microsoft/pxt-microbit/labels/P1","name":"P1","color":"e99695","default":false},{"id":339572837,"node_id":"MDU6TGFiZWwzMzk1NzI4Mzc=","url":"https://api.github.com/repos/Microsoft/pxt-microbit/labels/bug","name":"bug","color":"fc2929","default":true},{"id":951720108,"node_id":"MDU6TGFiZWw5NTE3MjAxMDg=","url":"https://api.github.com/repos/Microsoft/pxt-microbit/labels/v1","name":"v1","color":"1026ea","default":false},{"id":940047547,"node_id":"MDU6TGFiZWw5NDAwNDc1NDc=","url":"https://api.github.com/repos/Microsoft/pxt-microbit/labels/v3upgrade","name":"v3upgrade","color":"f96182","default":false}],"state":"closed","locked":false,"assignee":{"login":"riknoll","id":13754588,"node_id":"MDQ6VXNlcjEzNzU0NTg4","avatar_url":"https://avatars1.githubusercontent.com/u/13754588?v=4","gravatar_id":"","url":"https://api.github.com/users/riknoll","html_url":"https://github.com/riknoll","followers_url":"https://api.github.com/users/riknoll/followers","following_url":"https://api.github.com/users/riknoll/following{/other_user}","gists_url":"https://api.github.com/users/riknoll/gists{/gist_id}","starred_url":"https://api.github.com/users/riknoll/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/riknoll/subscriptions","organizations_url":"https://api.github.com/users/riknoll/orgs","repos_url":"https://api.github.com/users/riknoll/repos","events_url":"https://api.github.com/users/riknoll/events{/privacy}","received_events_url":"https://api.github.com/users/riknoll/received_events","type":"User","site_admin":false},"assignees":[{"login":"riknoll","id":13754588,"node_id":"MDQ6VXNlcjEzNzU0NTg4","avatar_url":"https://avatars1.githubusercontent.com/u/13754588?v=4","gravatar_id":"","url":"https://api.github.com/users/riknoll","html_url":"https://github.com/riknoll","followers_url":"https://api.github.com/users/riknoll/followers","following_url":"https://api.github.com/users/riknoll/following{/other_user}","gists_url":"https://api.github.com/users/riknoll/gists{/gist_id}","starred_url":"https://api.github.com/users/riknoll/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/riknoll/subscriptions","organizations_url":"https://api.github.com/users/riknoll/orgs","repos_url":"https://api.github.com/users/riknoll/repos","events_url":"https://api.github.com/users/riknoll/events{/privacy}","received_events_url":"https://api.github.com/users/riknoll/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2018-07-27T19:18:04Z","updated_at":"2018-07-30T22:34:27Z","closed_at":"2018-07-30T22:34:27Z","author_association":"MEMBER","body":"I just imported a couple older .hex files with the Pick Random block.\r\nIt seems to translate it correctly to 'randomRange', but then it doesn't render the '0' value in blocks correctly:\r\nv0\r\n![randomv0](https://user-images.githubusercontent.com/22108954/43342149-8ef18056-9196-11e8-9fd2-3e14b81d293f.PNG)\r\n\r\nv1\r\n![randomv1](https://user-images.githubusercontent.com/22108954/43342156-9499e3fe-9196-11e8-9425-71eff1b870ea.PNG)\r\n\r\nv1 Blocks\r\n![randomv1blocks](https://user-images.githubusercontent.com/22108954/43342160-99847816-9196-11e8-8650-d17592340e76.PNG)\r\n"}}
{"actor":{"display_login":"riknoll"}}