Commit Graph

10 Commits

Author SHA1 Message Date
Berkeley Martinez
dced96da8e feat: react challenges (#16099)
* chore(packages): Update redux utils

* feat(Panes): Invert control of panes map creation

* feat(Modern): Add view

* feat(Panes): Decouple panes from Challenges

* fix(Challenges): Decouple challenge views from panes map

* fix(Challenge/views): PanesMap => mapStateToPanesMap

This clarifies what these functions are doing

* fix(Challenges): Add view type

* fix(Panes): Remove unneeded panes container

* feat(Panes): Invert control of pane content render

This decouples the Panes from the content they render, allowing for
greater flexibility.

* feat(Modern): Add side panel

This is common between modern and classic

* feat(seed): Array to string file content

* fix(files): Modern files should be polyvinyls

* feat(Modern): Create editors per file

* fix(seed/React): Incorrect keyfile name

* feat(Modern): Highligh jsx correctly

This adds highlighting for jsx. Unfortunately, this disables linting for
non-javascript files as jshint will only work for those

* feat(rechallenge): Add jsx ext to babel transformer

* feat(seed): Normalize challenge files head/tail/content

* refactor(rechallenge/build): Rename function

* fix(code-storage): Pull in files from localStorage

* feat(Modern/React): Add Enzyme to test runner

This enables testing of React challenges

* feat(Modern): Add submission type

* refactor(Panes): Rename panes map update action
2017-11-29 17:44:51 -06:00
Berkeley Martinez
ee8ac7b453 feat(rechallenge): Retool challenge framework (#13666)
* feat(rechallenge): Retool challenge framework

* fix(code-storage): should use setContent not updateContent

* fix(rechallenge): fix context issue and temporal zone of death

* fix(rechallenge): Fix frame sources for user code

* fix(polyvinyl): Set should ignore source and transform should keep track of source

* fix(rechallenge): Missing return statement causing issues
2017-04-28 20:30:23 -05:00
quentin
de707c185e indexOf() instead of includes() 2017-02-20 15:42:50 -05:00
Leon Feng
30bc87c1da Disable loopProtect for non-JavaScript code 2017-02-01 03:13:48 +04:00
Stuart Taylor
e9d67eda97 Fix/Replace nbsp in campers code 2016-11-02 23:07:40 +00:00
Stuart Taylor
fb8a5d7af7 Add looProtect error to 'output' 2016-10-27 17:29:29 +01:00
Berkeley Martinez
7d6250e8af Feature(challenges): Run user js code through babel
This is a naive implementation.
Ideally we would detect the users environment
and dynamically load only the appropriate plugins
2016-08-18 18:23:44 -07:00
Berkeley Martinez
668bd74690 Fix(lint): Add import eslint and fix import errors 2016-07-28 23:40:01 -07:00
Berkeley Martinez
2466d66eb1 Challenge now display console.log in output window 2016-07-28 23:39:17 -07:00
Berkeley Martinez
e3e9f67e40 Rename folder 2016-07-28 23:39:17 -07:00