summaryrefslogtreecommitdiff
path: root/js/codeq/prolog.js
AgeCommit message (Collapse)Author
2016-03-01Clear hints immediately when pressing Plan or TestTimotej Lazar
2016-02-28Experiment: add "teacher helped" link to Prolog screenTimotej Lazar
Records a {'typ': 'experiment', 'data': 'teacher help'} action when clicked. This will allow us to consider such traces specially when evaluating different hint types. This is specific to the prolog_hints experiment and should be reverted or generalized in the future.
2016-02-28Fix indentation in prolog.jsTimotej Lazar
2016-02-26Use a consistent naming style for DOM IDsTimotej Lazar
2016-02-26Simplify description+hints blocks markupTimotej Lazar
2016-02-25Gray-out the editor while waiting for test resultsTimotej Lazar
2016-02-25Hide Plan button if no (more) plans are availableTimotej Lazar
2016-02-24Remove substate machines from {prolog,python,robot}.jsTimotej Lazar
Unused code is unused.
2016-02-24Ensure a ~1 second delay before displaying test resultsTimotej Lazar
2016-02-23Remove explicit "Hint" buttonTimotej Lazar
Hints are now generated for each tested program, and the user can press a button to reveal the hints.
2016-02-22Do not send langauge in test/hint commandsTimotej Lazar
2016-02-17Remove old commentsTimotej Lazar
2016-02-15Support resource templates in language/group/problem descriptionsTimotej Lazar
2016-02-15Prolog terminal: do not submit an empty queryTimotej Lazar
2015-12-17fixed the session expired bugRobert Zorko
2015-12-17added 'use strict', coirrected some errors which were revealed by it and ↵Robert Zorko
fixed the argument of the call of the wait function used in the reset function (core.js)
2015-12-16merge with Ales fixesRobert Zorko
2015-12-16moved loading of problem data into the 'enter' of the python, robot and ↵Robert Zorko
prolog states
2015-12-15Remove a diagnostic log line from the prolog screen, which remained there by ↵Aleš Smodiš
mistake.
2015-12-15Fixed the bug about the loss of problem solving screen state when entering a ↵Aleš Smodiš
navigation-bar state and getting back. Now every state carries with itself the publicly exposed jqScreen object and isModal boolean information, which is used by the globalStateMachine in the actualTransition method.
2015-12-10Add copyright info to JS filesTimotej Lazar
2015-11-18Disable editor while waiting for hint/test resultsTimotej Lazar
2015-11-18Escape from editor using the escape keyTimotej Lazar
2015-11-18Do not output "hint"/"test" in Prolog terminalTimotej Lazar
2015-10-21Show a spinner on hint/test buttons when clickedTimotej Lazar
2015-10-06Rename state 'problem' to problem_listTimotej Lazar
Remove the Language element from the navbar and have "CodeQ" (logo TBD) send user to the language-selection page.
2015-10-05Save current program in trace with each 'open' actionTimotej Lazar
So we can resynchronize if something goes wrong.
2015-10-05Record all user activity in traceTimotej Lazar
New generic actions: open(time), close plan hint(feedback), test(feedback) New Prolog actions: prolog_solve(query), prolog_next, prolog_end New Python actions: python_run(program), python_stop, python_input(text) New robot actions: robot_run(program), robot_stop(program)
2015-10-05Remove some stale commentsTimotej Lazar
2015-10-05Fix editor activity reportingTimotej Lazar
2015-10-05Move makeActivityHandler to core.jsTimotej Lazar
There were three identical copies for {prolog,python,robot}.js.
2015-10-04Adapted to changes in codeq-server: load_problem and end_problem upon ↵Aleš Smodiš
entering and leaving the problem solving screen.
2015-10-01Submit activity when closing problem screenTimotej Lazar
2015-10-01Use four-space indents for PrologTimotej Lazar
2015-10-01Use 'value' option in CM constructor to set initial contentTimotej Lazar
2015-10-01Bugfix: remove action has type 'rm', not 'r'Timotej Lazar
2015-10-01Bugfix: use hinter.hasNextPlan in prolog.jsTimotej Lazar
2015-09-29Correctly process hint_type and hint.Aleš Smodiš
2015-09-29Add a statusbar to the editor widgetTimotej Lazar
2015-09-29Temporary "plan" button fix: look at the presence of Slovene translation to ↵Aleš Smodiš
decide whether to activate or not the button.
2015-09-29login removed from navbarMarko Pušnik
2015-09-28CRLF -> LF conversion for python.js and prolog.js.Aleš Smodiš
2015-09-28Implement in-structure GUI translation for python and problem editing screens.Aleš Smodiš
Hints are not yet covered.
2015-09-28Add 'r' (redo) for next answer in PrologTimotej Lazar
2015-09-28Update comment for previous commitTimotej Lazar
2015-09-27Bugfix: '\n' should be 'n' for next Prolog answerTimotej Lazar
2015-09-25refactor menu + some forms to use bootstrap properlyMarko Pušnik
2015-09-23Improve error handling for button actionsTimotej Lazar
2015-09-22enabled buttons in the navigation header (at least buttons on the left side ↵Robert Zorko
of the bar), renamed stateMachine to navigation
2015-09-21Refactoring: simplified python.js and prolog.js, removed all DOM IDs except ↵Aleš Smodiš
for the top-level block #screen_prolog, made a copy of the latter into #screen_python so the two screens can now diverge.