Shaun Hamilton
59f17f237b
refactor: files{} -> challengeFiles[], and key -> fileKey ( #43023 )
...
* fix(client): fix client
* fix propType and add comment
* revert user.json prettification
* slight type refactor and payload correction
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
* update ChallengeFile type imports
* add cypress test for code-storage
* update test and storage epic
* fix Shaun's tired brain's logic
* refactor with suggestions
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
* update codeReset
* increate cypress timeout because firefox is slow
* remove unused import to make linter happy
* use focus on editor
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
* use more specific seletor for cypress editor test
* account for silly null challengeFiles
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2021-08-12 20:48:28 +02:00
awu43
dd5d2919be
feat(client): ts-migrate client/utils/** ( #42823 )
...
* rename js files
* update imports and references
* migrate build-challenges
* migrate challenge-types
* migrate utils/index
* migrate state-management
* install @types/psl for tags
* migrate tags
* migrate tags.test
* migrate challenge-page-creator
* migrate utils/gatsby/index
* migrate layout-selector
* migrate layout-selector.test
* revert challenge-types
Curriculum can't handle TS or modules
* convert arrow functions
* revert build-challenges
* revert utils/gatsby/index
* revert challenge-page-creator
* revert challenge-types reference
* Delete state-management
Deleted in #42960
* Disable render-result-naming-convention (for now)
* update layout-selector.test comment
* reorder imports in build-challenges
* change ts-ignore to ts-expect-error
2021-08-09 10:30:31 +02:00
Tom
067761f2f6
feat(curriculum): add relational databases cert as upcoming change ( #41658 )
2021-06-15 16:37:13 +01:00
Oliver Eyton-Williams
1fde5897fc
fix(curriculum): remove helpRoom and fileName ( #42268 )
...
* fix(curriculum): remove helpRoom and fileName
Neither are used any more.
* fix: remove fileName form cert meta.jsons
2021-06-04 00:15:01 +05:30
Oliver Eyton-Williams
be19823422
chore(deps): update joi and joi-objectid
2021-05-05 18:12:50 +05:30
Evgeny Klimenchenko
db369fbed1
fix(client): remove JS comments from user code for tests ( #41873 )
...
* Removes comments in js challanges by default
* fix local-scope-and-functions test regex
* fix all languages
* revert language changes
* removed unnecessary removeJSComments from challenges
* fix challanges in other languages
* removed removeJSComments from all challanges
2021-04-28 10:18:54 -05:00
Oliver Eyton-Williams
6b63da3996
fix(client): get translationPending in video chals ( #41567 )
2021-03-25 11:24:17 +05:30
Oliver Eyton-Williams
0d3158d4f4
fix(tests): add validation of comment translations ( #41537 )
2021-03-20 11:59:13 +05:30
Mrugesh Mohapatra
6c91f81b0e
chore(deps): upgrade eslint, prettier & related packages
2021-03-11 12:19:42 +05:30
Oliver Eyton-Williams
f8699a8d55
refactor: simplify challenge.block usage ( #41185 )
2021-02-23 09:52:48 +05:30
Oliver Eyton-Williams
6c1f6bebed
feat: label un-audited challenges ( #41002 )
...
Co-authored-by: Nicholas Carrigan <nhcarrigan@gmail.com>
Co-authored-by: Mrugesh Mohapatra <me@raisedadead.com>
Co-authored-by: Ahmad Abdolsaheb <ahmad.abdolsaheb@gmail.com>
Co-authored-by: Mrugesh Mohapatra <1884376+raisedadead@users.noreply.github.com>
2021-02-11 18:10:32 +05:30
Oliver Eyton-Williams
ee1e8abd87
feat(curriculum): restore seed + solution to Chinese ( #40683 )
...
* feat(tools): add seed/solution restore script
* chore(curriculum): remove empty sections' markers
* chore(curriculum): add seed + solution to Chinese
* chore: remove old formatter
* fix: update getChallenges
parse translated challenges separately, without reference to the source
* chore(curriculum): add dashedName to English
* chore(curriculum): add dashedName to Chinese
* refactor: remove unused challenge property 'name'
* fix: relax dashedName requirement
* fix: stray tag
Remove stray `pre` tag from challenge file.
Signed-off-by: nhcarrigan <nhcarrigan@gmail.com>
Co-authored-by: nhcarrigan <nhcarrigan@gmail.com>
2021-01-12 19:31:00 -07:00
Oliver Eyton-Williams
0bd52f8bd1
Feat: add new Markdown parser ( #39800 )
...
and change all the challenges to new `md` format.
2020-11-27 10:02:05 -08:00
Oliver Eyton-Williams
e4a9b2988c
feat: update Ask for help ( #40114 )
...
* feat: get helpCategory from frontmatter
* DEBUG: sets all the projects to JavaScript
This is just so the tests pass, it'll need to go.
* fix: updated helpCategoryMap categories
* fix: added Python to helpCategory frontmatter key
Co-authored-by: Randell Dawson <rdawson@onepathtech.com>
2020-10-30 14:10:34 -05:00
Oliver Eyton-Williams
1b895e7809
fix: translate title and dashName correctly
2020-10-06 23:10:08 +05:30
Sky020
a86b220eb7
chore: remove isRequired from curriculum files
2020-09-21 20:51:46 +05:30
Oliver Eyton-Williams
0f3f27287d
fix: unify single and multifile testing
2020-09-16 11:54:08 +05:30
Oliver Eyton-Williams
301212e194
feat: handle multi-file solutions
2020-09-16 11:54:06 +05:30
Oliver Eyton-Williams
3783ef118e
fix(multi): validate challenges correctly
2020-09-16 11:54:05 +05:30
Oliver Eyton-Williams
f77005cc43
fix: accept numbers for boundaries ( #39181 )
2020-09-16 11:54:02 +05:30
Randell Dawson
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
Oliver Eyton-Williams
bd68b70f3d
Feat: hide blocks not challenges ( #39504 )
...
* fix: remove isHidden flag from frontmatter
* fix: add isUpcomingChange
Co-authored-by: Ahmad Abdolsaheb <ahmad.abdolsaheb@gmail.com>
* feat: hide blocks not challenges
Co-authored-by: Ahmad Abdolsaheb <ahmad.abdolsaheb@gmail.com>
Co-authored-by: Ahmad Abdolsaheb <ahmad.abdolsaheb@gmail.com>
2020-09-03 15:07:40 -07:00
Oliver Eyton-Williams
2a82c068d3
fix: relax schema while auditing translations
...
Without this change we would have to put in dummy localeTitle values.
This defeats the point of making it required.
2020-08-16 04:45:19 +05:30
moT01
ad8daeb851
fix: add video ids and better test for video id
2020-05-27 13:19:11 +05:30
Tom
379f6f89ca
fix(learn): tests for python video lessons ( #38600 )
...
* fix: improve tests for video challenges
* fix: remove unused challenges + get rid of no description warning
* fix: remove non-existent challenges from meta
2020-05-27 13:19:11 +05:30
Tom
63fe67e53f
feat: add video lessons to db on submit + update UI ( #38591 )
...
* feat: add video lessons to db on submit + update UI
* feat: delete CompletionVideoModal
* feat: clean up component + add comments
* feat: remove comment
* feat: remove log
* feat: remove log
* fix: update buttons + fix some testing
* fix: remove unused selector
2020-05-27 13:19:10 +05:30
Beau Carnes
e776529ed0
feat(learn): add python video challenges ( #38424 )
2020-05-27 13:19:09 +05:30
mrugesh
22afc2a0ca
feat(learn): python certification projects ( #38216 )
...
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
Co-authored-by: Kristofer Koishigawa <scissorsneedfoodtoo@gmail.com>
Co-authored-by: Beau Carnes <beaucarnes@gmail.com>
2020-05-27 13:19:08 +05:30
Oliver Eyton-Williams
68aef571ee
feat: hide isHidden challenges
2020-05-25 16:25:19 +05:30
Mrugesh Mohapatra
31f337f2bd
fix(tools): update challege formatting check
2019-08-05 22:14:37 +05:30
Valeriy S
6d5e3865e7
fix(client): return an empty string for empty sections
2019-03-04 08:56:11 +00:00
Valeriy
81f9dce834
test(curriculum): challenge schema validator for lang
2019-01-10 12:54:59 +00:00
Valeriy
36fa426149
fix: test curriculum
2018-11-28 15:19:38 +00:00
Valeriy
65094d13e4
test(curriculum): add localeTitle to the challenge schema ( #31598 )
2018-10-30 21:18:54 +05:30
Valeriy
e099d6486d
fix: test curriculum challenges ( #24180 )
2018-10-23 18:51:53 +05:30
Mrugesh Mohapatra
67929d80ff
chore: preparing for the move
2018-09-27 12:36:41 +05:30