{"action":"created","issue":{"url":"https://api.github.com/repos/drlippman/IMathAS/issues/35","repository_url":"https://api.github.com/repos/drlippman/IMathAS","labels_url":"https://api.github.com/repos/drlippman/IMathAS/issues/35/labels{/name}","comments_url":"https://api.github.com/repos/drlippman/IMathAS/issues/35/comments","events_url":"https://api.github.com/repos/drlippman/IMathAS/issues/35/events","html_url":"https://github.com/drlippman/IMathAS/pull/35","id":161841249,"number":35,"title":"Add Solver tool to aid in question-writing","user":{"login":"githubapprentice","id":17185878,"avatar_url":"https://avatars.githubusercontent.com/u/17185878?v=3","gravatar_id":"","url":"https://api.github.com/users/githubapprentice","html_url":"https://github.com/githubapprentice","followers_url":"https://api.github.com/users/githubapprentice/followers","following_url":"https://api.github.com/users/githubapprentice/following{/other_user}","gists_url":"https://api.github.com/users/githubapprentice/gists{/gist_id}","starred_url":"https://api.github.com/users/githubapprentice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/githubapprentice/subscriptions","organizations_url":"https://api.github.com/users/githubapprentice/orgs","repos_url":"https://api.github.com/users/githubapprentice/repos","events_url":"https://api.github.com/users/githubapprentice/events{/privacy}","received_events_url":"https://api.github.com/users/githubapprentice/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-06-23T05:09:53Z","updated_at":"2016-06-23T20:06:51Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/drlippman/IMathAS/pulls/35","html_url":"https://github.com/drlippman/IMathAS/pull/35","diff_url":"https://github.com/drlippman/IMathAS/pull/35.diff","patch_url":"https://github.com/drlippman/IMathAS/pull/35.patch"},"body":"Thanks for the suggestion on redefining console.log to catch the completion of sagecell evaluation.  Worked great!\r\n\r\nThe popup is movable but there's a few pixels of offset when you first drag.\r\nA few other possible TODOs: evaluate on paste, move JavaScript and Help to other files.\r\nI haven't tested it on Chrome or IE.  Drag-drop expressions doesn't work on Android, but otherwise okay.\r\nSorry for all the extra merges commit-reverts here.  I probably did something wrong with branching.  Let me know if you know how to clean up the log.\r\nI'm happy to work on any other suggestions."},"comment":{"url":"https://api.github.com/repos/drlippman/IMathAS/issues/comments/228167904","html_url":"https://github.com/drlippman/IMathAS/pull/35#issuecomment-228167904","issue_url":"https://api.github.com/repos/drlippman/IMathAS/issues/35","id":228167904,"user":{"login":"drlippman","id":190505,"avatar_url":"https://avatars.githubusercontent.com/u/190505?v=3","gravatar_id":"","url":"https://api.github.com/users/drlippman","html_url":"https://github.com/drlippman","followers_url":"https://api.github.com/users/drlippman/followers","following_url":"https://api.github.com/users/drlippman/following{/other_user}","gists_url":"https://api.github.com/users/drlippman/gists{/gist_id}","starred_url":"https://api.github.com/users/drlippman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drlippman/subscriptions","organizations_url":"https://api.github.com/users/drlippman/orgs","repos_url":"https://api.github.com/users/drlippman/repos","events_url":"https://api.github.com/users/drlippman/events{/privacy}","received_events_url":"https://api.github.com/users/drlippman/received_events","type":"User","site_admin":false},"created_at":"2016-06-23T20:06:51Z","updated_at":"2016-06-23T20:06:51Z","body":"Super, thanks.  This is so darn slick.  Incredibly well done.\r\n\r\nA few ideas/thoughts as I play with it:\r\n- When your system auto-detects the operation to perform, it'd be nice to select it in the solveroperation pulldown so it's clear what was auto-detected\r\n- For cases where the user needs to hand-edit the Sage, it'd be nice to have a \"re-evaluate\" button.  Maybe it could be made to appear using an onchange callback `CodemirrorInstance.on('change',function(cMirror){ make button appear});`\r\n- If the output produces an error (I think `.match(/Traceback/)` would do it), then don't put the output in the \"drag or copy this\" area.  Maybe report an error occurred instead?\r\n- If an expression contains the same variable multiple times, we don't need to define the variable multiple times, like `x,b,x,c,a=var(\"x,b,x,c,a\")`.  \r\n- For the output, you say \"drag or copy\", but there's no way to select it to copy it, so it might be better to say \"drag or use the buttons below\"\r\n- The output doesn't seem to reinsert the $ on variables.  I think you have an extra backslash in your `\\\\\\b` regex.\r\n- For the dragging jump, change line 72 in the mouseup to `$(\"#solverpopup\").position();` rather than `.offset()` to fix that.\r\n- Is there a reason for the light blue color for the title bar?  Seems a bit light compared to the white text.  I'd also suggest maybe not overriding default/theme fonts unless there's a strong reason to."}}
{"actor":{"display_login":"drlippman"}}