{"action":"created","comment":{"url":"https://api.github.com/repos/openwebwork/webwork2/pulls/comments/33616100","id":33616100,"diff_hunk":"@@ -581,8 +588,22 @@ $tbl->imgGen->render(refresh => 1) if $tbl->displayMode eq 'images';\n #warn \"answersSubmitted \", $tbl->answersSubmitted;\n # render equation images\n \n+if ($submitMode && $problemResult) {","path":"lib/WebworkClient.pm","position":41,"original_position":41,"commit_id":"bc0109b3bf5fc19c8f08c3768aa50c814d1e2331","original_commit_id":"bc0109b3bf5fc19c8f08c3768aa50c814d1e2331","user":{"login":"goehle","id":1774907,"avatar_url":"https://avatars.githubusercontent.com/u/1774907?v=3","gravatar_id":"","url":"https://api.github.com/users/goehle","html_url":"https://github.com/goehle","followers_url":"https://api.github.com/users/goehle/followers","following_url":"https://api.github.com/users/goehle/following{/other_user}","gists_url":"https://api.github.com/users/goehle/gists{/gist_id}","starred_url":"https://api.github.com/users/goehle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/goehle/subscriptions","organizations_url":"https://api.github.com/users/goehle/orgs","repos_url":"https://api.github.com/users/goehle/repos","events_url":"https://api.github.com/users/goehle/events{/privacy}","received_events_url":"https://api.github.com/users/goehle/received_events","type":"User","site_admin":false},"body":"attemptsTable could return a hash with both pieces (or even more) and then the caller could decide what to do with them.  It might be better if they were all together.  Some of that summary information is important and I\"m not sure students get past reading the table. ","created_at":"2015-06-30T19:55:17Z","updated_at":"2015-06-30T19:55:17Z","html_url":"https://github.com/openwebwork/webwork2/pull/601#discussion_r33616100","pull_request_url":"https://api.github.com/repos/openwebwork/webwork2/pulls/601","_links":{"self":{"href":"https://api.github.com/repos/openwebwork/webwork2/pulls/comments/33616100"},"html":{"href":"https://github.com/openwebwork/webwork2/pull/601#discussion_r33616100"},"pull_request":{"href":"https://api.github.com/repos/openwebwork/webwork2/pulls/601"}}},"pull_request":{"url":"https://api.github.com/repos/openwebwork/webwork2/pulls/601","id":38393091,"html_url":"https://github.com/openwebwork/webwork2/pull/601","diff_url":"https://github.com/openwebwork/webwork2/pull/601.diff","patch_url":"https://github.com/openwebwork/webwork2/pull/601.patch","issue_url":"https://api.github.com/repos/openwebwork/webwork2/issues/601","number":601,"state":"open","locked":false,"title":"WebworkClient Local Storage","user":{"login":"goehle","id":1774907,"avatar_url":"https://avatars.githubusercontent.com/u/1774907?v=3","gravatar_id":"","url":"https://api.github.com/users/goehle","html_url":"https://github.com/goehle","followers_url":"https://api.github.com/users/goehle/followers","following_url":"https://api.github.com/users/goehle/following{/other_user}","gists_url":"https://api.github.com/users/goehle/gists{/gist_id}","starred_url":"https://api.github.com/users/goehle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/goehle/subscriptions","organizations_url":"https://api.github.com/users/goehle/orgs","repos_url":"https://api.github.com/users/goehle/repos","events_url":"https://api.github.com/users/goehle/events{/privacy}","received_events_url":"https://api.github.com/users/goehle/received_events","type":"User","site_admin":false},"body":"This adds a local storage engine to the WebworlClient path for rendering problems.  Specifically it has some new js files and code which stores submitted answers locally using browser local storage so that they can persist when the same problem is brought up again.  \r\n\r\nTo test: \r\n1.  Get the pull\r\n2.  Change the `outputformat` in `clients/TestWW.html` to `sticky`. \r\n3.  Load TestWW.html and try submitting some answers to problems.  Close the window and open it again.  When you load the problems up the previous answers should still be there (even after a hard refresh).  \r\n4.  Also check the `simple` output format since I added some bootstrap classes to make things render a bit better.   ","created_at":"2015-06-23T23:13:00Z","updated_at":"2015-06-30T19:55:17Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c24218489385307c25d815634558a8b415567ab2","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/openwebwork/webwork2/pulls/601/commits","review_comments_url":"https://api.github.com/repos/openwebwork/webwork2/pulls/601/comments","review_comment_url":"https://api.github.com/repos/openwebwork/webwork2/pulls/comments{/number}","comments_url":"https://api.github.com/repos/openwebwork/webwork2/issues/601/comments","statuses_url":"https://api.github.com/repos/openwebwork/webwork2/statuses/bc0109b3bf5fc19c8f08c3768aa50c814d1e2331","head":{"label":"goehle:localpersist","ref":"localpersist","sha":"bc0109b3bf5fc19c8f08c3768aa50c814d1e2331","user":{"login":"goehle","id":1774907,"avatar_url":"https://avatars.githubusercontent.com/u/1774907?v=3","gravatar_id":"","url":"https://api.github.com/users/goehle","html_url":"https://github.com/goehle","followers_url":"https://api.github.com/users/goehle/followers","following_url":"https://api.github.com/users/goehle/following{/other_user}","gists_url":"https://api.github.com/users/goehle/gists{/gist_id}","starred_url":"https://api.github.com/users/goehle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/goehle/subscriptions","organizations_url":"https://api.github.com/users/goehle/orgs","repos_url":"https://api.github.com/users/goehle/repos","events_url":"https://api.github.com/users/goehle/events{/privacy}","received_events_url":"https://api.github.com/users/goehle/received_events","type":"User","site_admin":false},"repo":{"id":4435291,"name":"webwork2","full_name":"goehle/webwork2","owner":{"login":"goehle","id":1774907,"avatar_url":"https://avatars.githubusercontent.com/u/1774907?v=3","gravatar_id":"","url":"https://api.github.com/users/goehle","html_url":"https://github.com/goehle","followers_url":"https://api.github.com/users/goehle/followers","following_url":"https://api.github.com/users/goehle/following{/other_user}","gists_url":"https://api.github.com/users/goehle/gists{/gist_id}","starred_url":"https://api.github.com/users/goehle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/goehle/subscriptions","organizations_url":"https://api.github.com/users/goehle/orgs","repos_url":"https://api.github.com/users/goehle/repos","events_url":"https://api.github.com/users/goehle/events{/privacy}","received_events_url":"https://api.github.com/users/goehle/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/goehle/webwork2","description":"Course management front end for WeBWorK","fork":true,"url":"https://api.github.com/repos/goehle/webwork2","forks_url":"https://api.github.com/repos/goehle/webwork2/forks","keys_url":"https://api.github.com/repos/goehle/webwork2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/goehle/webwork2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/goehle/webwork2/teams","hooks_url":"https://api.github.com/repos/goehle/webwork2/hooks","issue_events_url":"https://api.github.com/repos/goehle/webwork2/issues/events{/number}","events_url":"https://api.github.com/repos/goehle/webwork2/events","assignees_url":"https://api.github.com/repos/goehle/webwork2/assignees{/user}","branches_url":"https://api.github.com/repos/goehle/webwork2/branches{/branch}","tags_url":"https://api.github.com/repos/goehle/webwork2/tags","blobs_url":"https://api.github.com/repos/goehle/webwork2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/goehle/webwork2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/goehle/webwork2/git/refs{/sha}","trees_url":"https://api.github.com/repos/goehle/webwork2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/goehle/webwork2/statuses/{sha}","languages_url":"https://api.github.com/repos/goehle/webwork2/languages","stargazers_url":"https://api.github.com/repos/goehle/webwork2/stargazers","contributors_url":"https://api.github.com/repos/goehle/webwork2/contributors","subscribers_url":"https://api.github.com/repos/goehle/webwork2/subscribers","subscription_url":"https://api.github.com/repos/goehle/webwork2/subscription","commits_url":"https://api.github.com/repos/goehle/webwork2/commits{/sha}","git_commits_url":"https://api.github.com/repos/goehle/webwork2/git/commits{/sha}","comments_url":"https://api.github.com/repos/goehle/webwork2/comments{/number}","issue_comment_url":"https://api.github.com/repos/goehle/webwork2/issues/comments{/number}","contents_url":"https://api.github.com/repos/goehle/webwork2/contents/{+path}","compare_url":"https://api.github.com/repos/goehle/webwork2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/goehle/webwork2/merges","archive_url":"https://api.github.com/repos/goehle/webwork2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/goehle/webwork2/downloads","issues_url":"https://api.github.com/repos/goehle/webwork2/issues{/number}","pulls_url":"https://api.github.com/repos/goehle/webwork2/pulls{/number}","milestones_url":"https://api.github.com/repos/goehle/webwork2/milestones{/number}","notifications_url":"https://api.github.com/repos/goehle/webwork2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/goehle/webwork2/labels{/name}","releases_url":"https://api.github.com/repos/goehle/webwork2/releases{/id}","created_at":"2012-05-24T16:49:49Z","updated_at":"2014-08-01T15:41:08Z","pushed_at":"2015-06-30T18:43:39Z","git_url":"git://github.com/goehle/webwork2.git","ssh_url":"git@github.com:goehle/webwork2.git","clone_url":"https://github.com/goehle/webwork2.git","svn_url":"https://github.com/goehle/webwork2","homepage":"http://webwork.maa.org/wiki/Main_Page","size":62825,"stargazers_count":1,"watchers_count":1,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":1,"default_branch":"develop"}},"base":{"label":"openwebwork:develop","ref":"develop","sha":"8bc9fdd327eff196c09d4640c794455b5a19baf6","user":{"login":"openwebwork","id":1289488,"avatar_url":"https://avatars.githubusercontent.com/u/1289488?v=3","gravatar_id":"","url":"https://api.github.com/users/openwebwork","html_url":"https://github.com/openwebwork","followers_url":"https://api.github.com/users/openwebwork/followers","following_url":"https://api.github.com/users/openwebwork/following{/other_user}","gists_url":"https://api.github.com/users/openwebwork/gists{/gist_id}","starred_url":"https://api.github.com/users/openwebwork/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openwebwork/subscriptions","organizations_url":"https://api.github.com/users/openwebwork/orgs","repos_url":"https://api.github.com/users/openwebwork/repos","events_url":"https://api.github.com/users/openwebwork/events{/privacy}","received_events_url":"https://api.github.com/users/openwebwork/received_events","type":"Organization","site_admin":false},"repo":{"id":3064573,"name":"webwork2","full_name":"openwebwork/webwork2","owner":{"login":"openwebwork","id":1289488,"avatar_url":"https://avatars.githubusercontent.com/u/1289488?v=3","gravatar_id":"","url":"https://api.github.com/users/openwebwork","html_url":"https://github.com/openwebwork","followers_url":"https://api.github.com/users/openwebwork/followers","following_url":"https://api.github.com/users/openwebwork/following{/other_user}","gists_url":"https://api.github.com/users/openwebwork/gists{/gist_id}","starred_url":"https://api.github.com/users/openwebwork/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openwebwork/subscriptions","organizations_url":"https://api.github.com/users/openwebwork/orgs","repos_url":"https://api.github.com/users/openwebwork/repos","events_url":"https://api.github.com/users/openwebwork/events{/privacy}","received_events_url":"https://api.github.com/users/openwebwork/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/openwebwork/webwork2","description":"Course management front end for WeBWorK","fork":false,"url":"https://api.github.com/repos/openwebwork/webwork2","forks_url":"https://api.github.com/repos/openwebwork/webwork2/forks","keys_url":"https://api.github.com/repos/openwebwork/webwork2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/openwebwork/webwork2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/openwebwork/webwork2/teams","hooks_url":"https://api.github.com/repos/openwebwork/webwork2/hooks","issue_events_url":"https://api.github.com/repos/openwebwork/webwork2/issues/events{/number}","events_url":"https://api.github.com/repos/openwebwork/webwork2/events","assignees_url":"https://api.github.com/repos/openwebwork/webwork2/assignees{/user}","branches_url":"https://api.github.com/repos/openwebwork/webwork2/branches{/branch}","tags_url":"https://api.github.com/repos/openwebwork/webwork2/tags","blobs_url":"https://api.github.com/repos/openwebwork/webwork2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/openwebwork/webwork2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/openwebwork/webwork2/git/refs{/sha}","trees_url":"https://api.github.com/repos/openwebwork/webwork2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/openwebwork/webwork2/statuses/{sha}","languages_url":"https://api.github.com/repos/openwebwork/webwork2/languages","stargazers_url":"https://api.github.com/repos/openwebwork/webwork2/stargazers","contributors_url":"https://api.github.com/repos/openwebwork/webwork2/contributors","subscribers_url":"https://api.github.com/repos/openwebwork/webwork2/subscribers","subscription_url":"https://api.github.com/repos/openwebwork/webwork2/subscription","commits_url":"https://api.github.com/repos/openwebwork/webwork2/commits{/sha}","git_commits_url":"https://api.github.com/repos/openwebwork/webwork2/git/commits{/sha}","comments_url":"https://api.github.com/repos/openwebwork/webwork2/comments{/number}","issue_comment_url":"https://api.github.com/repos/openwebwork/webwork2/issues/comments{/number}","contents_url":"https://api.github.com/repos/openwebwork/webwork2/contents/{+path}","compare_url":"https://api.github.com/repos/openwebwork/webwork2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/openwebwork/webwork2/merges","archive_url":"https://api.github.com/repos/openwebwork/webwork2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/openwebwork/webwork2/downloads","issues_url":"https://api.github.com/repos/openwebwork/webwork2/issues{/number}","pulls_url":"https://api.github.com/repos/openwebwork/webwork2/pulls{/number}","milestones_url":"https://api.github.com/repos/openwebwork/webwork2/milestones{/number}","notifications_url":"https://api.github.com/repos/openwebwork/webwork2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/openwebwork/webwork2/labels{/name}","releases_url":"https://api.github.com/repos/openwebwork/webwork2/releases{/id}","created_at":"2011-12-28T19:22:20Z","updated_at":"2015-05-30T05:50:00Z","pushed_at":"2015-06-30T19:52:09Z","git_url":"git://github.com/openwebwork/webwork2.git","ssh_url":"git@github.com:openwebwork/webwork2.git","clone_url":"https://github.com/openwebwork/webwork2.git","svn_url":"https://github.com/openwebwork/webwork2","homepage":"http://webwork.maa.org/wiki/Main_Page","size":96681,"stargazers_count":41,"watchers_count":41,"language":"Perl","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":66,"mirror_url":null,"open_issues_count":35,"forks":66,"open_issues":35,"watchers":41,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/openwebwork/webwork2/pulls/601"},"html":{"href":"https://github.com/openwebwork/webwork2/pull/601"},"issue":{"href":"https://api.github.com/repos/openwebwork/webwork2/issues/601"},"comments":{"href":"https://api.github.com/repos/openwebwork/webwork2/issues/601/comments"},"review_comments":{"href":"https://api.github.com/repos/openwebwork/webwork2/pulls/601/comments"},"review_comment":{"href":"https://api.github.com/repos/openwebwork/webwork2/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/openwebwork/webwork2/pulls/601/commits"},"statuses":{"href":"https://api.github.com/repos/openwebwork/webwork2/statuses/bc0109b3bf5fc19c8f08c3768aa50c814d1e2331"}}}}