88de5bc602
refactor: sort-files -> common utils
2020-09-16 11:54:05 +05:30
063145fe90
feat(parser): handle multi-file solutions
2020-09-16 11:54:05 +05:30
a959d462e9
fix(client): update editor when code is reset
2020-09-16 11:54:05 +05:30
10d2559fee
feat(client): handle jsx in multi-file editor
2020-09-16 11:54:04 +05:30
1a985f95f5
feat: initialise editor with 'first' file
...
Since sort-files exists, the challengeFiles have an order. The editor
now displays the first file on mount.
2020-09-16 11:54:04 +05:30
f82886148c
feat: add simple challengeFile sorter
2020-09-16 11:54:04 +05:30
b0f18cacc7
fix: prevent unnecessary re-renders
...
The editor should handle its own rendering. By including a key that
changes as the users changes tabs forces the editor to re-render. This
gets triggered as the user types, resetting the cursor to the start of
the editor.
Now the key only changes if the theme changes.
2020-09-16 11:54:04 +05:30
4de5c5fde3
fix: concat sources so that 'code' has them all
2020-09-16 11:54:03 +05:30
dea30c1397
feat: simple prototype for dynamic tabs
...
While this works for html challenges, it should dynamically generate the
tabs in a predetermined order from the available files.
2020-09-16 11:54:03 +05:30
631c2671b6
feat: support multiple editor tabs
...
Generates models to handle multiple groups of code (html, js or css) and
tracks the editor state as user moves between tabs. The current model
is connected to the redux store via a key associated with the file in
the editor.
2020-09-16 11:54:03 +05:30
a0f43c93ba
chore: update react-monaco-editor
2020-09-16 11:54:03 +05:30
7bd6e77b0f
feat: add multi file capabillity
2020-09-16 11:54:03 +05:30
b25089d7c8
fix: relax challenge validation for multiple seeds
2020-09-16 11:54:02 +05:30
5fe16ada3d
fix: parse certificates separately ( #39182 )
2020-09-16 11:54:02 +05:30
0e1dca5924
feat(client): parse test 'text' as markdown ( #39176 )
2020-09-16 11:54:02 +05:30
f77005cc43
fix: accept numbers for boundaries ( #39181 )
2020-09-16 11:54:02 +05:30
8478e021bf
feat (learn): Remove editable regions from seed code before displaying user's code ( #39153 )
...
* feat: pull editable region from markdown
* test: update seed tests to reflect new schema
* feat(curriculum): validate multi-file solutions
* test: add editableRegionBoundaries to schema
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com >
2020-09-16 11:54:02 +05:30
fd7a8c0d5e
feat: allow next challenge's seed to be a solution ( #39145 )
...
* feat: allow next challenge's seed to be a solution
2020-09-16 11:54:01 +05:30
4f1be63055
feat(learn): sync master and next-curriculum branches
2020-09-16 11:54:01 +05:30
c648a595df
fix: intermediate js calorie counter challengeType ( #38270 )
2020-09-16 11:54:01 +05:30
977701937b
Feat: add d3 dashboard project to next curriculum ( #38028 )
...
* feat: add d3 dashboard project to next curriculum
2020-09-16 11:54:01 +05:30
dae411d408
fix: failing test ( #38253 )
2020-09-16 11:54:00 +05:30
9ba1f1f6d0
feat: tests for calorie counter
...
split up calorie counter lesson
2020-09-16 11:54:00 +05:30
b99d78858b
fix: basic js rpg spacing and tests
...
Replaced tabs with spaces so spacing is consistent in the monaco editor. Also adjust some tests to account for the new loop protection.
2020-09-16 11:54:00 +05:30
39b0afd5f0
feat: tests for calorie counter
2020-09-16 11:54:00 +05:30
d3d5147c1f
fix: renamed files and titles in the frontmatter for consitency ( #37792 )
2020-09-16 11:53:59 +05:30
869b4f479e
fix(client): modified test suite to not throw errors ( #37894 )
...
modified challenge test suite so it does not throw an error if two steps for the project based curriculum have the same title
2020-09-16 11:53:59 +05:30
2fbafda167
feat: functional programming spreadsheet ( #36873 )
...
* Add meta.json for spreadsheet
* Add spreadsheet files
* Close code tags for tests in 2 files
* Add solution section
* Add index file
* Add javascript-spreadsheet to stringifier
* Move index to step
* Rename steps in meta.json
* Rename step numbers in files
* Add index file to proper location
* Remove inappropriate files from spreadsheet dir
* Fix typo in first step
* Fix test sections
* Rename files to correct step
* Fix broken tests
* Add newline between sections
* Change challengeType from 1 to 0
* Add missng ) in step-079.md
* test -> tests in step-079
* Simplify test in step-103
* Fix step-137 test
* Remove last step
* Added solutions and adjusted some tests
* Fix some challenges
* Remove wrong spaces
* Fix more tests
* Add missing semicolon
* Fix more tests
* Fix type: lastttwo
* Fix all remaining tests
2020-09-16 11:53:59 +05:30
89e18e3a81
feat: add challenges for skyline project ( #36854 )
2020-09-16 11:53:59 +05:30
529f2596d9
feat: JS RPG game tests ( #37678 )
...
* feat: Add JavaScript RPG Game for testing
2020-09-16 11:53:58 +05:30
1770ea07a6
docs: add guidelines for responding to posts about health ( #39566 )
...
* Added new section
Added new section: Dealing with (mental) health inquires. This was done on request from Quincy.
* Update docs/flight-manuals/moderator-handbook.md
Co-authored-by: Nicholas Carrigan <nhcarrigan@gmail.com >
Co-authored-by: Nicholas Carrigan <nhcarrigan@gmail.com >
2020-09-16 11:49:08 +05:30
876d9f3994
fix(learn): Consolidated comments for Coding Interview Prep challenges - part 2 of 2 ( #39576 )
...
* fix: consolidate comments for use with the translation dictionary
* fix: added blank line between comments
Co-authored-by: Tom <20648924+moT01@users.noreply.github.com >
* fix: removed unneeded comment
Co-authored-by: Tom <20648924+moT01@users.noreply.github.com >
2020-09-16 01:01:21 +05:30
8788ad946b
fix: remove Good luck! comment from challenge seed code ( #39575 )
2020-09-15 22:27:40 +05:30
a2f4c8d0e1
fix: consolidated comments for use with translation dictionary ( #39578 )
2020-09-15 22:23:25 +05:30
104f359902
consolidated comments for use in translation dictionary ( #39577 )
2020-09-15 12:37:50 -04:00
c11bf0d02e
fix(curriculum): restrictive test for use map to dynamically render challenge ( #39581 )
2020-09-15 08:23:48 -07:00
dea4e51371
fix(client): remove unused formHelper functions
2020-09-15 17:07:54 +03:00
c4240cdf2f
fix: allow form label and name to differ
...
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com >
2020-09-15 17:07:54 +03:00
d765fa704b
fix(learn): size your images challenge ( #39570 )
...
* fix: size your images challenge
* fix: remove console log
2020-09-14 14:09:01 +01:00
40a190318b
fix(tests): run e2e tests on Chrome and Firefox ( #39568 )
...
* Add scripts for Cypress to run on other browsers
* Run Cypress on different browsers in workflow
* Install Brave and run it in Cypress
* Run Cypress on only CHrome and FIrefox
* Revert Cypress plugin
2020-09-14 12:37:00 +05:30
5cb609dc5c
Changed "statement" to "expression" ( #39564 )
...
The ternary operator doesn't allow statements, just expressions.
2020-09-12 10:37:59 +02:00
ae6cf5b724
fix: update instructions to be consistent ( #39557 )
...
* fix: update instructions to be consistent
* fix: change to use code tags instead of backticks
2020-09-11 19:03:18 -04:00
c345bc9886
fix: removed scrimba video links that do not reflect current challenge ( #39559 )
2020-09-11 11:17:50 -05:00
2743ac2e84
fix(challenge): update variable names, assign empty array, update solution code, remove "use strict" ( #39525 )
...
* fix(challenge): update variable names, assign empty array, update solution code, remove "use strict"
* fix(challenge): update solution code
* fix:(challenge) update instructions and variable name
* fix:(challenge) update instructions
2020-09-09 19:58:27 -05:00
5418307936
fix(learn): add whitespace check to else-if test ( #39555 )
2020-09-09 20:30:33 +01:00
0f5832b562
fix: project 25 + 5 ( #39526 )
2020-09-09 13:28:12 +05:30
b79a332984
fix: remove scrimba link for inaccurate video ( #39545 )
2020-09-08 13:09:53 -07:00
c55e1a7464
refactor: remove redundan '&& cd ../' from scripts
2020-09-09 01:00:43 +05:30
4e018802e1
docs: add verbose output script to contribute docs
2020-09-09 01:00:43 +05:30
bd22836d18
fix: add verbose output script to root
2020-09-09 01:00:43 +05:30