{"action":"created","issue":{"url":"https://api.github.com/repos/edx-solutions/xblock-drag-and-drop-v2/issues/87","repository_url":"https://api.github.com/repos/edx-solutions/xblock-drag-and-drop-v2","labels_url":"https://api.github.com/repos/edx-solutions/xblock-drag-and-drop-v2/issues/87/labels{/name}","comments_url":"https://api.github.com/repos/edx-solutions/xblock-drag-and-drop-v2/issues/87/comments","events_url":"https://api.github.com/repos/edx-solutions/xblock-drag-and-drop-v2/issues/87/events","html_url":"https://github.com/edx-solutions/xblock-drag-and-drop-v2/pull/87","id":168911098,"number":87,"title":"Click handlers and backend processing for assessment mode","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},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":16,"created_at":"2016-08-02T15:11:50Z","updated_at":"2016-08-11T20:20:35Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/edx-solutions/xblock-drag-and-drop-v2/pulls/87","html_url":"https://github.com/edx-solutions/xblock-drag-and-drop-v2/pull/87","diff_url":"https://github.com/edx-solutions/xblock-drag-and-drop-v2/pull/87.diff","patch_url":"https://github.com/edx-solutions/xblock-drag-and-drop-v2/pull/87.patch"},"body":"**Description:** This PR actually implements submitting attempts for Assessment Mode. As of this PR, the minimum viable product implementation of Assessment Mode in Drag and Drop v2 is complete.\r\n\r\n**Dependencies:** #86 (now merged)\r\n\r\n**JIRA:** Part of [SOL-1944](https://openedx.atlassian.net/browse/SOL-1944)\r\n\r\n**Discussions**: [Discovery document for DnDv2 assessment mode](https://docs.google.com/document/d/1rFliZo1vlohJ7cde7KfP5bgEk0QqcvT1VNnUUa9_vjE/edit) (relevant section: 2.2.3)\r\n\r\n**Sandbox URLs**: \r\n* LMS: http://dndv2-sandbox8.opencraft.hosting/\r\n* Studio: http://studio-dndv2-sandbox8.opencraft.hosting/\r\n\r\nUpdated 2016-08-11 to commit c6cc888c37a9d057e6fb1886feb662a9f46ed13a\r\n\r\n**Testing instructions:**\r\n1. Create/edit DnDv2; put it into assessment mode\r\n2. Set \"Max attempts\" to N: N > 2\r\n3. Publish, open in LMS.\r\n4. Note that \"Submit\" button is displayed. Make sure problem is in its initial state (reset if needed). Submit button should be disabled. Attempts info should not be displayed.\r\n5. Put any item to correct zone. \"Submit\" button should become enabled.\r\n6. Click \"Submit\". Expected to happen:\r\n6.1. Submit button shows spinner until AJAX request is sent\r\n6.2. When AJAX is completed, incorrect items are returned to item bank, other items stay where they were.\r\n6.3. Feedback message is updated to contain info about correctly placed items, misplaced items and items that should be put, but was not. If there were any misplaced items, feedback should also contain note about them being returned to item bank. If \"initial\" overall feedback is specified, it should be shown as well.\r\n6.4. Attempts info should increase the number of used attempts.\r\n7. Use N-1 attempts to test various combinations of correct, misplaced and missing items (note pluralization should be appropriate). Same things as in (6) should happen.\r\n8. Submit final attempt. Expected to happen:\r\n8.1. Same as 6.1. - spinner\r\n8.2. All items stay where they were (misplaced are not returned to bank, as opposed to 6.2)\r\n8.3. All of 6.3 + note about using final attempt and final grade are shown.\r\n8.4. Attempts info should read \"Used N of N attempts\".\r\n8.5. Submit and Reset buttons are permanently disabled.\r\n\r\n**Reviewers**\r\n- [x] @mtyaka \r\n- [ ] TNL: @cahrens and/or @staubina\r\n- [ ] a11y: @cptvitamin\r\n- [ ] Product: @sstack22"},"comment":{"url":"https://api.github.com/repos/edx-solutions/xblock-drag-and-drop-v2/issues/comments/239279736","html_url":"https://github.com/edx-solutions/xblock-drag-and-drop-v2/pull/87#issuecomment-239279736","issue_url":"https://api.github.com/repos/edx-solutions/xblock-drag-and-drop-v2/issues/87","id":239279736,"user":{"login":"bradenmacdonald","id":945577,"avatar_url":"https://avatars.githubusercontent.com/u/945577?v=3","gravatar_id":"","url":"https://api.github.com/users/bradenmacdonald","html_url":"https://github.com/bradenmacdonald","followers_url":"https://api.github.com/users/bradenmacdonald/followers","following_url":"https://api.github.com/users/bradenmacdonald/following{/other_user}","gists_url":"https://api.github.com/users/bradenmacdonald/gists{/gist_id}","starred_url":"https://api.github.com/users/bradenmacdonald/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bradenmacdonald/subscriptions","organizations_url":"https://api.github.com/users/bradenmacdonald/orgs","repos_url":"https://api.github.com/users/bradenmacdonald/repos","events_url":"https://api.github.com/users/bradenmacdonald/events{/privacy}","received_events_url":"https://api.github.com/users/bradenmacdonald/received_events","type":"User","site_admin":false},"created_at":"2016-08-11T20:20:34Z","updated_at":"2016-08-11T20:20:34Z","body":"Sorry about the test failures @cahrens. This repo has flaky bok choy tests and we have struggled to figure out the source of the flakiness despite several investigations. All the tests are passing 95% of the time on this branch, but some flaky tests are causing the build to fail (different one each time). I'm trying to re-run it, and over the longer term, we're going to try CircleCI instead of Travis in the near future to see if that helps."}}
{"actor":{"display_login":"bradenmacdonald"}}