{"action":"created","issue":{"url":"https://api.github.com/repos/Automattic/sensei/issues/1649","repository_url":"https://api.github.com/repos/Automattic/sensei","labels_url":"https://api.github.com/repos/Automattic/sensei/issues/1649/labels{/name}","comments_url":"https://api.github.com/repos/Automattic/sensei/issues/1649/comments","events_url":"https://api.github.com/repos/Automattic/sensei/issues/1649/events","html_url":"https://github.com/Automattic/sensei/pull/1649","id":191088562,"number":1649,"title":"Fix the answer feedback blue box appearance logic.","user":{"login":"bor0","id":1620929,"avatar_url":"https://avatars.githubusercontent.com/u/1620929?v=3","gravatar_id":"","url":"https://api.github.com/users/bor0","html_url":"https://github.com/bor0","followers_url":"https://api.github.com/users/bor0/followers","following_url":"https://api.github.com/users/bor0/following{/other_user}","gists_url":"https://api.github.com/users/bor0/gists{/gist_id}","starred_url":"https://api.github.com/users/bor0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bor0/subscriptions","organizations_url":"https://api.github.com/users/bor0/orgs","repos_url":"https://api.github.com/users/bor0/repos","events_url":"https://api.github.com/users/bor0/events{/privacy}","received_events_url":"https://api.github.com/users/bor0/received_events","type":"User","site_admin":false},"labels":[{"id":310743588,"url":"https://api.github.com/repos/Automattic/sensei/labels/[Pri]%20Normal","name":"[Pri] Normal","color":"fad8c7","default":false},{"id":310745649,"url":"https://api.github.com/repos/Automattic/sensei/labels/[Status]%20Ready%20to%20Merge","name":"[Status] Ready to Merge","color":"d4fb79","default":false},{"id":24411077,"url":"https://api.github.com/repos/Automattic/sensei/labels/[Type]%20Bug","name":"[Type] Bug","color":"e11d21","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-22T18:33:36Z","updated_at":"2016-11-30T10:31:41Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Automattic/sensei/pulls/1649","html_url":"https://github.com/Automattic/sensei/pull/1649","diff_url":"https://github.com/Automattic/sensei/pull/1649.diff","patch_url":"https://github.com/Automattic/sensei/pull/1649.patch"},"body":"Per the [flowchart](https://docs.woocommerce.com/document/sensei-quiz-settings-flowchart/), fix the logic for answer feedback appearance. Fixes https://github.com/Automattic/sensei/issues/1647.\r\n\r\nTest case:\r\n1. Create a course with a lesson and a quiz, and test the following subcases:\r\n- Quiz passed, reset enabled => Answers feedback *should* appear. <img width=\"786\" alt=\"screen shot 2016-11-22 at 19 32 26\" src=\"https://cloud.githubusercontent.com/assets/1620929/20536729/6cd88660-b0ea-11e6-8611-8f084bd469af.png\">\r\n- Quiz passed, reset disabled => Answers feedback *should* appear. <img width=\"792\" alt=\"screen shot 2016-11-22 at 19 30 35\" src=\"https://cloud.githubusercontent.com/assets/1620929/20536667/2f9be08a-b0ea-11e6-80ec-340b950caf97.png\">\r\n- Quiz not passed, reset enabled => Answers feedback *should not* appear. <img width=\"778\" alt=\"screen shot 2016-11-22 at 19 31 48\" src=\"https://cloud.githubusercontent.com/assets/1620929/20536706/543b7cde-b0ea-11e6-9666-c4d091b2ec1b.png\">\r\n- Quiz not passed, reset disabled => Answers feedback *should* appear. <img width=\"783\" alt=\"screen shot 2016-11-22 at 19 31 20\" src=\"https://cloud.githubusercontent.com/assets/1620929/20536692/4543f3c8-b0ea-11e6-8fdc-16e463472cea.png\">\r\n"},"comment":{"url":"https://api.github.com/repos/Automattic/sensei/issues/comments/263838892","html_url":"https://github.com/Automattic/sensei/pull/1649#issuecomment-263838892","issue_url":"https://api.github.com/repos/Automattic/sensei/issues/1649","id":263838892,"user":{"login":"nb","id":27954,"avatar_url":"https://avatars.githubusercontent.com/u/27954?v=3","gravatar_id":"","url":"https://api.github.com/users/nb","html_url":"https://github.com/nb","followers_url":"https://api.github.com/users/nb/followers","following_url":"https://api.github.com/users/nb/following{/other_user}","gists_url":"https://api.github.com/users/nb/gists{/gist_id}","starred_url":"https://api.github.com/users/nb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nb/subscriptions","organizations_url":"https://api.github.com/users/nb/orgs","repos_url":"https://api.github.com/users/nb/repos","events_url":"https://api.github.com/users/nb/events{/privacy}","received_events_url":"https://api.github.com/users/nb/received_events","type":"User","site_admin":false},"created_at":"2016-11-30T10:31:41Z","updated_at":"2016-11-30T10:31:41Z","body":"👍 "}}
{"actor":{"display_login":"nb"}}