{"action":"created","issue":{"url":"https://api.github.com/repos/learningequality/ka-lite/issues/5123","repository_url":"https://api.github.com/repos/learningequality/ka-lite","labels_url":"https://api.github.com/repos/learningequality/ka-lite/issues/5123/labels{/name}","comments_url":"https://api.github.com/repos/learningequality/ka-lite/issues/5123/comments","events_url":"https://api.github.com/repos/learningequality/ka-lite/issues/5123/events","html_url":"https://github.com/learningequality/ka-lite/issues/5123","id":156692422,"number":5123,"title":"Make error messages friendlier","user":{"login":"benjaoming","id":374612,"avatar_url":"https://avatars.githubusercontent.com/u/374612?v=3","gravatar_id":"","url":"https://api.github.com/users/benjaoming","html_url":"https://github.com/benjaoming","followers_url":"https://api.github.com/users/benjaoming/followers","following_url":"https://api.github.com/users/benjaoming/following{/other_user}","gists_url":"https://api.github.com/users/benjaoming/gists{/gist_id}","starred_url":"https://api.github.com/users/benjaoming/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benjaoming/subscriptions","organizations_url":"https://api.github.com/users/benjaoming/orgs","repos_url":"https://api.github.com/users/benjaoming/repos","events_url":"https://api.github.com/users/benjaoming/events{/privacy}","received_events_url":"https://api.github.com/users/benjaoming/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/learningequality/ka-lite/labels/beginner","name":"beginner","color":"bfe5bf"},{"url":"https://api.github.com/repos/learningequality/ka-lite/labels/translation","name":"translation","color":"5319e7"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/learningequality/ka-lite/milestones/52","html_url":"https://github.com/learningequality/ka-lite/milestones/0.17.0","labels_url":"https://api.github.com/repos/learningequality/ka-lite/milestones/52/labels","id":1444685,"number":52,"title":"0.17.0","description":"Date unsure","creator":{"login":"benjaoming","id":374612,"avatar_url":"https://avatars.githubusercontent.com/u/374612?v=3","gravatar_id":"","url":"https://api.github.com/users/benjaoming","html_url":"https://github.com/benjaoming","followers_url":"https://api.github.com/users/benjaoming/followers","following_url":"https://api.github.com/users/benjaoming/following{/other_user}","gists_url":"https://api.github.com/users/benjaoming/gists{/gist_id}","starred_url":"https://api.github.com/users/benjaoming/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benjaoming/subscriptions","organizations_url":"https://api.github.com/users/benjaoming/orgs","repos_url":"https://api.github.com/users/benjaoming/repos","events_url":"https://api.github.com/users/benjaoming/events{/privacy}","received_events_url":"https://api.github.com/users/benjaoming/received_events","type":"User","site_admin":false},"open_issues":79,"closed_issues":10,"state":"open","created_at":"2015-12-04T18:27:06Z","updated_at":"2016-05-25T08:34:15Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2016-05-25T08:34:15Z","updated_at":"2016-05-25T17:41:43Z","closed_at":null,"body":"## Summary\r\n\r\nIn #4875 @j-schwartz noted this important issue in KA Lite:\r\n\r\n> From the perspective of a first time computer user, or at least first time KA-lite user, you have 90% fear of breaking something and 10% excitement.\r\n> \r\n> There are lots of kids I have seen, who if they saw that sorry, something has gone wrong message, after first watching a video, will immediately close the browser and walk away for fear they have done something wrong.\r\n> \r\n> The investment in computers / ka-lite / time on hardware is massive relative to school budgets, and the fear of breaking something is one of the primary obstacles I see us trying to overcome to increase adoption.\r\n\r\n## Solving this issue\r\n\r\nThere are error messages in many places, both Javascript and Python. But we should especially target those that can face students.\r\n\r\nThis happens when error handling Javascript exceptions, missing content, broken exercises.\r\n\r\nBut we still cannot drop exception information. So make sure this goes in the Javascript console if it's a JS error or in the application log if it's a Python error.\r\n\r\n## Example\r\n\r\n![image](https://cloud.githubusercontent.com/assets/9270388/15523994/6c038a10-21d3-11e6-87d0-bf17f7088ba3.png)\r\n\r\nMessage should be displayed in a more graphical and with a friendlier text, here's a suggestion:\r\n\r\n    Hey there! This exercise had problems displaying itself. But don't worry,\r\n    there are over 25,000 exercises, and a dedicated team is always looking\r\n    to make each and every one of them function. Let's hope in a future\r\n    update, that this exercise will be fixed.\r\n\r\n## Branch or installer method\r\n\r\n - Branch: develop\r\n\r\n## Real-life consequences (anything community should be aware, for instance how it affects your deployment)\r\n\r\nCan have very severe consequences even if it's an anticipated error."},"comment":{"url":"https://api.github.com/repos/learningequality/ka-lite/issues/comments/221651055","html_url":"https://github.com/learningequality/ka-lite/issues/5123#issuecomment-221651055","issue_url":"https://api.github.com/repos/learningequality/ka-lite/issues/5123","id":221651055,"user":{"login":"j-schwartz","id":9270388,"avatar_url":"https://avatars.githubusercontent.com/u/9270388?v=3","gravatar_id":"","url":"https://api.github.com/users/j-schwartz","html_url":"https://github.com/j-schwartz","followers_url":"https://api.github.com/users/j-schwartz/followers","following_url":"https://api.github.com/users/j-schwartz/following{/other_user}","gists_url":"https://api.github.com/users/j-schwartz/gists{/gist_id}","starred_url":"https://api.github.com/users/j-schwartz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/j-schwartz/subscriptions","organizations_url":"https://api.github.com/users/j-schwartz/orgs","repos_url":"https://api.github.com/users/j-schwartz/repos","events_url":"https://api.github.com/users/j-schwartz/events{/privacy}","received_events_url":"https://api.github.com/users/j-schwartz/received_events","type":"User","site_admin":false},"created_at":"2016-05-25T17:41:43Z","updated_at":"2016-05-25T17:41:43Z","body":"This is great. Thanks guys!  I might add somewhere in there, \"this is not\nyour fault\"\n\nOn Wed, May 25, 2016 at 1:34 AM Benjamin Bach <notifications@github.com>\nwrote:\n\n> Summary\n>\n> In #4875 <https://github.com/learningequality/ka-lite/issues/4875>\n> @j-schwartz <https://github.com/j-schwartz> noted this important issue in\n> KA Lite:\n>\n> From the perspective of a first time computer user, or at least first time\n> KA-lite user, you have 90% fear of breaking something and 10% excitement.\n>\n> There are lots of kids I have seen, who if they saw that sorry, something\n> has gone wrong message, after first watching a video, will immediately\n> close the browser and walk away for fear they have done something wrong.\n>\n> The investment in computers / ka-lite / time on hardware is massive\n> relative to school budgets, and the fear of breaking something is one of\n> the primary obstacles I see us trying to overcome to increase adoption.\n>\n> Solving this issue\n>\n> There are error messages in many places, both Javascript and Python. But\n> we should especially target those that can face students.\n>\n> This happens when error handling Javascript exceptions, missing content,\n> broken exercises.\n>\n> But we still cannot drop exception information. So make sure this goes in\n> the Javascript console if it's a JS error or in the application log if it's\n> a Python error.\n> Example\n>\n> [image: image]\n> <https://cloud.githubusercontent.com/assets/9270388/15523994/6c038a10-21d3-11e6-87d0-bf17f7088ba3.png>\n>\n> Message should be displayed in a more graphical and with a friendlier\n> text, here's a suggestion:\n>\n> Hey there! This exercise had problems displaying itself. But don't worry, there are over 25,000 exercises, and a dedicated team is always looking to make each and every one of them function. Let's hope in a future update, that this exercise will be fixed.\n>\n> Branch or installer method\n>\n>    - Branch: develop\n>\n> Real-life consequences (anything community should be aware, for instance\n> how it affects your deployment)\n>\n> Can have very severe consequences even if it's an anticipated error.\n>\n> —\n> You are receiving this because you were mentioned.\n> Reply to this email directly or view it on GitHub\n> <https://github.com/learningequality/ka-lite/issues/5123>\n>\n"}}
{"actor":{"display_login":"j-schwartz"}}