{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/pxt-microbit/issues/1987","repository_url":"https://api.github.com/repos/Microsoft/pxt-microbit","labels_url":"https://api.github.com/repos/Microsoft/pxt-microbit/issues/1987/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/pxt-microbit/issues/1987/comments","events_url":"https://api.github.com/repos/Microsoft/pxt-microbit/issues/1987/events","html_url":"https://github.com/Microsoft/pxt-microbit/issues/1987","id":430837316,"node_id":"MDU6SXNzdWU0MzA4MzczMTY=","number":1987,"title":"Beta: Function created in live editor does not have call block in beta","user":{"login":"microbit-mark","id":31242877,"node_id":"MDQ6VXNlcjMxMjQyODc3","avatar_url":"https://avatars3.githubusercontent.com/u/31242877?v=4","gravatar_id":"","url":"https://api.github.com/users/microbit-mark","html_url":"https://github.com/microbit-mark","followers_url":"https://api.github.com/users/microbit-mark/followers","following_url":"https://api.github.com/users/microbit-mark/following{/other_user}","gists_url":"https://api.github.com/users/microbit-mark/gists{/gist_id}","starred_url":"https://api.github.com/users/microbit-mark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/microbit-mark/subscriptions","organizations_url":"https://api.github.com/users/microbit-mark/orgs","repos_url":"https://api.github.com/users/microbit-mark/repos","events_url":"https://api.github.com/users/microbit-mark/events{/privacy}","received_events_url":"https://api.github.com/users/microbit-mark/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2019-04-09T08:33:41Z","updated_at":"2019-04-09T16:14:44Z","closed_at":null,"author_association":"COLLABORATOR","body":"micro:bit support: 21593\r\n\r\n**Describe the bug**\r\nCreating a function in the current live editor and then downloading and opening the same program to test in beta results in a missing 'call function' block.\r\n\r\n**To Reproduce**\r\nSteps to reproduce the behavior:\r\n1. Go to 'https://makecode.microbit.org/_JTmCVJJXw6dj'\r\n2. Download code\r\n3. Drag and drop into makecode.microbit.org/beta\r\n4. Open function menu, you do not see call block. Adding a block to the function has no effect either.\r\n\r\n**Expected behavior**\r\nCall function block should be visible in beta as in live\r\n\r\n**Screenshots**\r\n![Screen Recording 2019-04-09 at 09 27 am](https://user-images.githubusercontent.com/31242877/55785237-f81af580-5aa9-11e9-849c-206a528b8fec.gif)\r\n \r\n"},"comment":{"url":"https://api.github.com/repos/Microsoft/pxt-microbit/issues/comments/481319604","html_url":"https://github.com/Microsoft/pxt-microbit/issues/1987#issuecomment-481319604","issue_url":"https://api.github.com/repos/Microsoft/pxt-microbit/issues/1987","id":481319604,"node_id":"MDEyOklzc3VlQ29tbWVudDQ4MTMxOTYwNA==","user":{"login":"abchatra","id":6107272,"node_id":"MDQ6VXNlcjYxMDcyNzI=","avatar_url":"https://avatars2.githubusercontent.com/u/6107272?v=4","gravatar_id":"","url":"https://api.github.com/users/abchatra","html_url":"https://github.com/abchatra","followers_url":"https://api.github.com/users/abchatra/followers","following_url":"https://api.github.com/users/abchatra/following{/other_user}","gists_url":"https://api.github.com/users/abchatra/gists{/gist_id}","starred_url":"https://api.github.com/users/abchatra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abchatra/subscriptions","organizations_url":"https://api.github.com/users/abchatra/orgs","repos_url":"https://api.github.com/users/abchatra/repos","events_url":"https://api.github.com/users/abchatra/events{/privacy}","received_events_url":"https://api.github.com/users/abchatra/received_events","type":"User","site_admin":false},"created_at":"2019-04-09T16:14:44Z","updated_at":"2019-04-09T16:14:44Z","author_association":"CONTRIBUTOR","body":"This is a valid scenario. Someone would create a file in old editor and will try to import to released payload from beta. "}}
{"actor":{"display_login":"abchatra"}}