{"action":"created","issue":{"url":"https://api.github.com/repos/open-craft/problem-builder/issues/63","labels_url":"https://api.github.com/repos/open-craft/problem-builder/issues/63/labels{/name}","comments_url":"https://api.github.com/repos/open-craft/problem-builder/issues/63/comments","events_url":"https://api.github.com/repos/open-craft/problem-builder/issues/63/events","html_url":"https://github.com/open-craft/problem-builder/pull/63","id":107143729,"number":63,"title":"Step navigation and submission for new mentoring block","user":{"login":"itsjeyd","id":961441,"avatar_url":"https://avatars.githubusercontent.com/u/961441?v=3","gravatar_id":"","url":"https://api.github.com/users/itsjeyd","html_url":"https://github.com/itsjeyd","followers_url":"https://api.github.com/users/itsjeyd/followers","following_url":"https://api.github.com/users/itsjeyd/following{/other_user}","gists_url":"https://api.github.com/users/itsjeyd/gists{/gist_id}","starred_url":"https://api.github.com/users/itsjeyd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/itsjeyd/subscriptions","organizations_url":"https://api.github.com/users/itsjeyd/orgs","repos_url":"https://api.github.com/users/itsjeyd/repos","events_url":"https://api.github.com/users/itsjeyd/events{/privacy}","received_events_url":"https://api.github.com/users/itsjeyd/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-09-18T06:46:15Z","updated_at":"2015-09-21T10:52:24Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/open-craft/problem-builder/pulls/63","html_url":"https://github.com/open-craft/problem-builder/pull/63","diff_url":"https://github.com/open-craft/problem-builder/pull/63.diff","patch_url":"https://github.com/open-craft/problem-builder/pull/63.patch"},"body":"This PR adds step navigation and submission functionality to the new blocks introduced in #62.\r\n\r\n* New mentoring block now displays one step at a time.\r\n* New step block allows to submit step results. Info about last step submitted is saved at mentoring level so users are taken to the correct step when resuming their work (or reloading the page).\r\n* New mentoring block allows to navigate to next step after submitting step results.\r\n* After submitting the last step, new mentoring block displays a \"Try again\" button that allows to reset the block and start from scratch. (This functionality will be moved to the review step as part of OC-913.)\r\n\r\n**Screenshots**\r\n\r\nNew mentoring block displaying a single step (with multiple questions):\r\n\r\n![new-mentoring-block-displaying-single-step](https://cloud.githubusercontent.com/assets/961441/9953465/5fe8867e-5de1-11e5-9620-0d8c408d42a2.png)\r\n\r\nAfter submitting the current step (all answers correct):\r\n\r\n![controls-after-submit-all-correct](https://cloud.githubusercontent.com/assets/961441/9953470/6be13f66-5de1-11e5-89fa-feba75434947.png)\r\n\r\nAfter submitting the current step (some answers correct):\r\n\r\n![controls-after-submit-some-correct](https://cloud.githubusercontent.com/assets/961441/9953473/72382c30-5de1-11e5-9730-588f48e12540.png)\r\n\r\nAfter submitting the current step (no correct answers):\r\n\r\n![controls-after-submit-none-correct](https://cloud.githubusercontent.com/assets/961441/9953477/79ebdb20-5de1-11e5-8265-f1c7a1cdd50b.png)\r\n"},"comment":{"url":"https://api.github.com/repos/open-craft/problem-builder/issues/comments/141939852","html_url":"https://github.com/open-craft/problem-builder/pull/63#issuecomment-141939852","issue_url":"https://api.github.com/repos/open-craft/problem-builder/issues/63","id":141939852,"user":{"login":"e-kolpakov","id":3330048,"avatar_url":"https://avatars.githubusercontent.com/u/3330048?v=3","gravatar_id":"","url":"https://api.github.com/users/e-kolpakov","html_url":"https://github.com/e-kolpakov","followers_url":"https://api.github.com/users/e-kolpakov/followers","following_url":"https://api.github.com/users/e-kolpakov/following{/other_user}","gists_url":"https://api.github.com/users/e-kolpakov/gists{/gist_id}","starred_url":"https://api.github.com/users/e-kolpakov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/e-kolpakov/subscriptions","organizations_url":"https://api.github.com/users/e-kolpakov/orgs","repos_url":"https://api.github.com/users/e-kolpakov/repos","events_url":"https://api.github.com/users/e-kolpakov/events{/privacy}","received_events_url":"https://api.github.com/users/e-kolpakov/received_events","type":"User","site_admin":false},"created_at":"2015-09-21T10:52:24Z","updated_at":"2015-09-21T10:52:24Z","body":"@itsjeyd :+1: "}}