{"action":"closed","issue":{"url":"https://api.github.com/repos/walterbender/turtleblocksjs/issues/197","labels_url":"https://api.github.com/repos/walterbender/turtleblocksjs/issues/197/labels{/name}","comments_url":"https://api.github.com/repos/walterbender/turtleblocksjs/issues/197/comments","events_url":"https://api.github.com/repos/walterbender/turtleblocksjs/issues/197/events","html_url":"https://github.com/walterbender/turtleblocksjs/issues/197","id":60617317,"number":197,"title":"Plugin: Hide blocks from palettes","user":{"login":"SAMdroid-apps","id":6022042,"avatar_url":"https://avatars.githubusercontent.com/u/6022042?v=3","gravatar_id":"","url":"https://api.github.com/users/SAMdroid-apps","html_url":"https://github.com/SAMdroid-apps","followers_url":"https://api.github.com/users/SAMdroid-apps/followers","following_url":"https://api.github.com/users/SAMdroid-apps/following{/other_user}","gists_url":"https://api.github.com/users/SAMdroid-apps/gists{/gist_id}","starred_url":"https://api.github.com/users/SAMdroid-apps/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SAMdroid-apps/subscriptions","organizations_url":"https://api.github.com/users/SAMdroid-apps/orgs","repos_url":"https://api.github.com/users/SAMdroid-apps/repos","events_url":"https://api.github.com/users/SAMdroid-apps/events{/privacy}","received_events_url":"https://api.github.com/users/SAMdroid-apps/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-11T06:41:48Z","updated_at":"2015-03-14T23:04:14Z","closed_at":"2015-03-14T23:04:14Z","body":"When I am developing a plugin, I might want to be able to hide blocks from the palette menu though keeping them in the code if used.  Use cases:\r\n\r\n1.  Finding out whether a robot is an ev3 or NXT then hiding inappropriate blocks (eg. led only shows for NXT, gyro only for ev3)\r\n2.  Removing blocks from the plugin without breaking existing programs\r\n\r\nWhat do you think?"}}