You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Add SUBST button
Modify class definitions, instantiations to incorporate SUBST button
Remove SUBST button from controlbar
Create SubstTimeline and SubstVisualizer
Add a SUBST tab to the sidebar
Fix problem with range input not sliding in SUBST visualizer tab
22 march 2019
Remove compile error; confirm can generate code from tree and display
Add functionality to handle slider change
Add SUBST visualizer functionality to maximum extent permissable by current state of SUBST substitutor
Remove excess code and comments left over from testing
Add functionality for SUBST to return the actual correct output in the repl output display
Remove redundant code
Add code to make SUBST slider default to max value
Change SUBST display to automatically update to match slider default value
Add buttons to SUBST timeline to allow for fine-grained control over stepping through substitution
Add checks to disable SUBST timeline control buttons when appropriate
"When appropriate" -> for example, all buttons are disabled when the program has not yet been run, and hence there is nothing to step through; button to go to previous step is disabled when already at first step.
Add code such that SUBST interpreter is only used when the SUBST tab of the sidebar is open
Add keyboard controls to SUBST timeline buttons
Add code to transfer default focus to SUBST slider after program evaluation
Override default behavior of HTML input slider for SUBST
Rationale: default HTML input slider binds up and down to increase and decrease, respectively. This runs counter to the intuition provided by course textbook.
Make SUBST slider inline
Make SUBST slider inline (via sass)
* Fix Playground errors
* Shift useSubst variable location
* Rewrite components to make use of new substituter interface w js slang
* Only use subst interpreter when the subst tab is open
* Run format
* Fix linting
* Fix final answer displayed by subst
* Fix Redux Saga tests
* Refactor of Substituter component
* SubstVisualizer and SubstTimeline merged into one component
* Tooltip changed to 'Substituter'
* Use Blueprint Slider instead of HTML ones
* REPL now checks Redux state to evaluate results for Subst
* New actions set up to update Redux state
* Minor CSS style changes
* Changed use of 'bp3' literals to constants
* Updated tests
* Formatting
* Fix for controlBar reference
* Hide REPL from Substituter
* CSS changes for code display style
* Updated REPL snapshot
* Style and interface improvements
* Implemented use of breakpoints to activate SUBST
* SUBST now only enabled for Chapter 1 and 2
* Hide REPL, disable resizing on SUBST tab
* Minor style changes for SUBST tab, slider
* Fix bug where SUBST would be active outside Playground
* Implemented blinking style for SUBST tab
* Updated snapshots
* Revert package-lock.json
* Set SUBST tab icon to 'Flow: Review'
* CSS style fixes
* Fix for code text being justified in SUBST
* SUBST tab now scrolls properly on Chrome
* Added vendor prefixes for SUBST CSS
* Change occurences of 'code' => 'your program'
* Updated snapshots
* Formatting for SCSS
* Merge branch 'master' of https://github.com/source-academy/cadet-frontend into leow-subst
* Fix for crash when REPL processes an array output from js-slang
* Updated tests
* Changes to the way subst slider responds to arrow key input
* Modified SUBST hotkeys
* SUBST slider can now be moved with < and > keys
* Use of SUBST now clears the REPL to prevent display of raw data
* Arrow keys no longer used as hotkeys to prevent conflict
* Update js-slang version
* Formatting
* Updated tests
0 commit comments