Oliver Eyton-Williams
ad83a2e3f4
feat: show one hint at a time
2020-09-16 11:54:09 +05:30
Oliver Eyton-Williams
68b223322f
feat: make editable code available in tests
2020-09-16 11:54:09 +05:30
Oliver Eyton-Williams
120bb342e8
fix: keep the zones in the right places
...
The description zone needs fixing, but the hint zone should behave correctly.
2020-09-16 11:54:08 +05:30
Oliver Eyton-Williams
e34bdded7d
fix: region expansion
...
Now the top region can expand up and the bottom region down.
2020-09-16 11:54:08 +05:30
Oliver Eyton-Williams
f7ce54a154
fix: prevent deletion of editable region at bottom
...
If the first line of the greyed out region is deleted it now springs
back. As does the second line - which needs fixing
2020-09-16 11:54:07 +05:30
Oliver Eyton-Williams
52cb6adf02
refactor: sortFiles -> toSortedArray
2020-09-16 11:54:07 +05:30
Oliver Eyton-Williams
1ee5e24d0f
feat(multi): insert description into editor
2020-09-16 11:54:07 +05:30
Oliver Eyton-Williams
59c838e8ca
feat(multi): add editor decoration
...
The warning region does not grow at the edges This makes it harder for
the user to get into an odd state. It might be better to have let the
user expand the second region at the trailing edge. I'm not sure, and
that's harder to implement.
2020-09-16 11:54:07 +05:30
Oliver Eyton-Williams
dfbf1ae9ae
refactor(multi): DRY out view state changes
2020-09-16 11:54:06 +05:30
Oliver Eyton-Williams
1e1a0939ab
feat: highlight currently selected editor tab
2020-09-16 11:54:06 +05:30
Oliver Eyton-Williams
ad059dc49c
fix(a11y): improve tab navigation for Editor
2020-09-16 11:54:06 +05:30
Oliver Eyton-Williams
54630cbfca
fix: update editor on code reset
2020-09-16 11:54:06 +05:30
Oliver Eyton-Williams
88de5bc602
refactor: sort-files -> common utils
2020-09-16 11:54:05 +05:30
Oliver Eyton-Williams
a959d462e9
fix(client): update editor when code is reset
2020-09-16 11:54:05 +05:30
Oliver Eyton-Williams
10d2559fee
feat(client): handle jsx in multi-file editor
2020-09-16 11:54:04 +05:30
Oliver Eyton-Williams
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
Oliver Eyton-Williams
f82886148c
feat: add simple challengeFile sorter
2020-09-16 11:54:04 +05:30
Oliver Eyton-Williams
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
Oliver Eyton-Williams
4de5c5fde3
fix: concat sources so that 'code' has them all
2020-09-16 11:54:03 +05:30
Oliver Eyton-Williams
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
Oliver Eyton-Williams
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
moT01
7bd6e77b0f
feat: add multi file capabillity
2020-09-16 11:54:03 +05:30
Oliver Eyton-Williams
0e1dca5924
feat(client): parse test 'text' as markdown ( #39176 )
2020-09-16 11:54:02 +05:30
Kris Koishigawa
4f1be63055
feat(learn): sync master and next-curriculum branches
2020-09-16 11:54:01 +05:30
Tom
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
lmilliken
39b0afd5f0
feat: tests for calorie counter
2020-09-16 11:54:00 +05:30
Kristofer Koishigawa
d3d5147c1f
fix: renamed files and titles in the frontmatter for consitency ( #37792 )
2020-09-16 11:53:59 +05:30
SomeDer
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
Tom
89e18e3a81
feat: add challenges for skyline project ( #36854 )
2020-09-16 11:53:59 +05:30
Kristofer Koishigawa
529f2596d9
feat: JS RPG game tests ( #37678 )
...
* feat: Add JavaScript RPG Game for testing
2020-09-16 11:53:58 +05:30
Sky020
dea4e51371
fix(client): remove unused formHelper functions
2020-09-15 17:07:54 +03:00
Sky020
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
Randell Dawson
0f5832b562
fix: project 25 + 5 ( #39526 )
2020-09-09 13:28:12 +05:30
Kristofer Koishigawa
0ccb140f71
fix: up and down hotkeys in search bar ( #39529 )
...
This fix prevents whitespace from breaking the up and down hotkeys in the search bar.
2020-09-08 23:43:45 +05:30
Oliver Eyton-Williams
9e3441fe1d
fix(client): solutionLink -> solution ( #39544 )
...
This sends the api the 'solution' it expects, not 'solutionLink'.
2020-09-08 23:16:24 +05:30
Lasse Jørgensen
f3a82fe2f1
fix: Add information about local development for RWD projects ( #38670 )
...
Co-authored-by: Tom <20648924+moT01@users.noreply.github.com >
2020-09-04 20:26:26 +05:30
Shaun Hamilton
f247090895
fix: add backend placeholder to solution form ( #39494 )
2020-09-04 19:14:26 +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
c772382d59
fix: remove remnants of servicebot
...
None of the code was still in use.
2020-09-04 00:14:24 +05:30
Ahmad Abdolsaheb
ce777e43d2
fix: align completion modal buttons ( #39509 )
2020-09-02 10:38:14 +02:00
swyx
705cba67bc
fix: typo "alumini" ( #39502 )
...
fix typo "alumini"
2020-09-01 18:49:00 +05:30
Oliver Eyton-Williams
4a45b5ac1c
fix: redirect /challenges/* to /learn/*
2020-09-01 11:35:44 +05:30
Ahmad Abdolsaheb
434cf15ad3
fix: update meta ( #39500 )
2020-08-31 20:41:13 -05:00
imgbot[bot]
52cfe54e94
chore: [ImgBot] Optimize images ( #39460 )
...
Co-authored-by: ImgBotApp <ImgBotHelp@gmail.com >
2020-08-26 16:25:21 +05:30
Oliver Eyton-Williams
46e3d75c76
fix(client): select only required props (Login) ( #39461 )
2020-08-25 22:59:39 +05:30
Ahmad Abdolsaheb
d9dad10f43
feat(client): shinny new landing page 🎉 ( #39400 )
...
Co-authored-by: Mrugesh Mohapatra <1884376+raisedadead@users.noreply.github.com >
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com >
2020-08-24 23:36:40 +05:30
Oliver Eyton-Williams
8c70ea6b62
fix(client): format cert date in user's timezone ( #39440 )
2020-08-20 16:46:10 +05:30
Ahmad Abdolsaheb
c8acd13b31
fix: minor style changes ( #39439 )
2020-08-20 15:12:11 +05:30
Ahmad Abdolsaheb
b1be0425a5
fix(client): add navigate proptype ( #39434 )
2020-08-20 03:04:40 +05:30
Oliver Eyton-Williams
eb75f8c8cc
fix(client): ensure presetEnv is loaded ( #39431 )
...
Prior to this, if a user first loaded a React challenge and then
navigated to a JS challenge, they would see
TypeError: Cannot read property 'presets' of undefined
in the console and be unable to run tests or evaluate code until they
reloaded the page.
2020-08-19 13:30:46 -07:00