{"action":"created","issue":{"url":"https://api.github.com/repos/open-craft/problem-builder/issues/86","labels_url":"https://api.github.com/repos/open-craft/problem-builder/issues/86/labels{/name}","comments_url":"https://api.github.com/repos/open-craft/problem-builder/issues/86/comments","events_url":"https://api.github.com/repos/open-craft/problem-builder/issues/86/events","html_url":"https://github.com/open-craft/problem-builder/pull/86","id":113003560,"number":86,"title":"Step Builder: Interoperability for scale and plot blocks","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":1,"created_at":"2015-10-23T11:40:32Z","updated_at":"2015-10-23T22:14:29Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/open-craft/problem-builder/pulls/86","html_url":"https://github.com/open-craft/problem-builder/pull/86","diff_url":"https://github.com/open-craft/problem-builder/pull/86.diff","patch_url":"https://github.com/open-craft/problem-builder/pull/86.patch"},"body":"This PR follows up on #77 and #78 which introduced plot and scale blocks, respectively. More specifically:\r\n\r\n1. The changes make sure that plots can access data from scale blocks.\r\n2. The changes make the process for obtaining references to rating and scale blocks consistent in Studio. This means that instead of having to\r\n\r\n  - bring up the \"EDIT\" dialog\r\n  - scroll down to the \"Question ID\" field\r\n  - copy the contents\r\n\r\n  course authors can now grab IDs from previews of rating questions:\r\n\r\n  ![rating-block-with-url-name](https://cloud.githubusercontent.com/assets/961441/10691574/66582130-798a-11e5-8938-d6979e77d282.png)\r\n\r\n  For scale blocks this behavior was already in place.\r\n\r\n**Testing**\r\n\r\n1. Add Step Builder to a unit.\r\n\r\n2. Add two Mentoring Step blocks and a Review Step block to Step Builder.\r\n\r\n3. Add two Scale questions (\"Ranged Value Slider\") to the first Mentoring Step block.\r\n\r\n4. Add a Plot block to the second Mentoring Step block.\r\n\r\n5. For each Scale question, grab corresponding ID from preview.\r\n\r\n6. Bring up the EDIT dialog for the Plot block and add the following to the \"Claims and associated questions\" field:\r\n\r\n        This is an important claim, 7cf9575c53d5abc43fddedc4b06ae1a835dd4bf3, 79020e44630e246077a2bce92f45562fe24769cd\r\n\r\n   Make sure to replace the two hashes with the question IDs you grabbed in the previous step.\r\n\r\n7. Publish the unit.\r\n\r\n8. Complete the first step of the unit by submitting answers to the Scale questions.\r\n\r\n9. Navigate to the second step. The plot should show the answers you gave in the form of a single point.\r\n"},"comment":{"url":"https://api.github.com/repos/open-craft/problem-builder/issues/comments/150705154","html_url":"https://github.com/open-craft/problem-builder/pull/86#issuecomment-150705154","issue_url":"https://api.github.com/repos/open-craft/problem-builder/issues/86","id":150705154,"user":{"login":"Kelketek","id":1099483,"avatar_url":"https://avatars.githubusercontent.com/u/1099483?v=3","gravatar_id":"","url":"https://api.github.com/users/Kelketek","html_url":"https://github.com/Kelketek","followers_url":"https://api.github.com/users/Kelketek/followers","following_url":"https://api.github.com/users/Kelketek/following{/other_user}","gists_url":"https://api.github.com/users/Kelketek/gists{/gist_id}","starred_url":"https://api.github.com/users/Kelketek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kelketek/subscriptions","organizations_url":"https://api.github.com/users/Kelketek/orgs","repos_url":"https://api.github.com/users/Kelketek/repos","events_url":"https://api.github.com/users/Kelketek/events{/privacy}","received_events_url":"https://api.github.com/users/Kelketek/received_events","type":"User","site_admin":false},"created_at":"2015-10-23T22:14:29Z","updated_at":"2015-10-23T22:14:29Z","body":":+1: "}}