{"action":"created","issue":{"url":"https://api.github.com/repos/WheatonCS/Lexos/issues/386","repository_url":"https://api.github.com/repos/WheatonCS/Lexos","labels_url":"https://api.github.com/repos/WheatonCS/Lexos/issues/386/labels{/name}","comments_url":"https://api.github.com/repos/WheatonCS/Lexos/issues/386/comments","events_url":"https://api.github.com/repos/WheatonCS/Lexos/issues/386/events","html_url":"https://github.com/WheatonCS/Lexos/issues/386","id":162307526,"number":386,"title":"Beta mode","user":{"login":"scottkleinman","id":1125917,"avatar_url":"https://avatars.githubusercontent.com/u/1125917?v=3","gravatar_id":"","url":"https://api.github.com/users/scottkleinman","html_url":"https://github.com/scottkleinman","followers_url":"https://api.github.com/users/scottkleinman/followers","following_url":"https://api.github.com/users/scottkleinman/following{/other_user}","gists_url":"https://api.github.com/users/scottkleinman/gists{/gist_id}","starred_url":"https://api.github.com/users/scottkleinman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scottkleinman/subscriptions","organizations_url":"https://api.github.com/users/scottkleinman/orgs","repos_url":"https://api.github.com/users/scottkleinman/repos","events_url":"https://api.github.com/users/scottkleinman/events{/privacy}","received_events_url":"https://api.github.com/users/scottkleinman/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/WheatonCS/Lexos/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/WheatonCS/Lexos/labels/Update","name":"Update","color":"bfd4f2"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-06-26T01:22:35Z","updated_at":"2016-06-30T13:38:26Z","closed_at":null,"body":"Lexos now has a setting to turn Beta functions on and off. The settings (cog/gear) icon has a checkbox which toggles Beta mode for the entire session (the default is off). Right now, the only thing affected by it is the web scraper. (The link to web scraper is no longer displayed on the Upload page unless you turn on Beta mode.)\r\n\r\nThis easiest way to hide tools still in Beta is to wrap the UI elements in a Jinja conditional:\r\n\r\n```html\r\n{% if session['generalsettings']['beta_onbox'] %}\r\n    <p>Your tool code here</p>\r\n{% endif %}\r\n``` \r\n\r\nThe content not be written to the template unless Beta mode is on."},"comment":{"url":"https://api.github.com/repos/WheatonCS/Lexos/issues/comments/229660483","html_url":"https://github.com/WheatonCS/Lexos/issues/386#issuecomment-229660483","issue_url":"https://api.github.com/repos/WheatonCS/Lexos/issues/386","id":229660483,"user":{"login":"mleblanc321","id":1066011,"avatar_url":"https://avatars.githubusercontent.com/u/1066011?v=3","gravatar_id":"","url":"https://api.github.com/users/mleblanc321","html_url":"https://github.com/mleblanc321","followers_url":"https://api.github.com/users/mleblanc321/followers","following_url":"https://api.github.com/users/mleblanc321/following{/other_user}","gists_url":"https://api.github.com/users/mleblanc321/gists{/gist_id}","starred_url":"https://api.github.com/users/mleblanc321/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mleblanc321/subscriptions","organizations_url":"https://api.github.com/users/mleblanc321/orgs","repos_url":"https://api.github.com/users/mleblanc321/repos","events_url":"https://api.github.com/users/mleblanc321/events{/privacy}","received_events_url":"https://api.github.com/users/mleblanc321/received_events","type":"User","site_admin":false},"created_at":"2016-06-30T13:38:26Z","updated_at":"2016-06-30T13:38:26Z","body":"i forgot"}}
{"actor":{"display_login":"mleblanc321"}}