* refactor: MultifileEditor to functional component.
* fix: make editor acquire focus once on mount
Now the editors can leave the dom (e.g. if a tab is clicked), but an
editor will only call for focus if the MultifileEditor itself remounts
* refactor: remove forbidden regions
We aren't using them and they're implemented badly. To recreate them, we
should simply track the editable region and update them when it's Range
changes.
* refactor: simplify the refs considerably
There's no point keeping an object with properties for all possible
editors when only one is created at once.
Instead of relying on heuristics like "does the current content
differ from the initial content?" this just resets if the reset button
has been pressed.
* feat(UI): language in the side menu is now a drop down. navigation items are now text wrapped
* fix: use redux navigation to redirect links instead
* fix: fix to use clientLocale as curent language instead
* fix: tests to use clientLocale
For legacy challenges, there's only one editor and it must be focused.
For project steps, only the editor with the editable region should call
for focus.
* feat(curriculum): add registration-form practice project
* add parts 001-006
* add parts 007-009
* add parts 010-013
* add parts 014-024, fix 013
* add parts 025-043
* add parts 043-046
* add parts 0047-057 without tests
* fix tests and adjust index.md file I do not understand
* add css tests to parts 037-040
* add tests parts 040-057
* remove space around ERM
* add true assertion until document iframe is fixed
* add critical review suggestions
Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
Co-authored-by: gikf <60067306+gikf@users.noreply.github.com>
* use clear, Tom-like language for 038
Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
* change order to match author's age
* apply suggestions with personal pazzaz
* add that thing Nich forgets
* use innerText
Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com>
Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
Co-authored-by: gikf <60067306+gikf@users.noreply.github.com>
Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com>
* refactor: made instructions incurriculum\challenges\english\01-responsive-web-design\applied-visual-design\use-the-strong-tag-to-make-text-bold.md a little more clear to user
* refactor: changed phrasing in instructions in curriculum\challenges\english\01-responsive-web-design\applied-visual-design\use-the-s-tag-to-strikethrough-text.md to make it slightly easier to read and less verbose
* refactor: fix phrasing in curriculum/challenges/english/01-responsive-web-design/applied-visual-design/use-the-s-tag-to-strikethrough-text.md
* fix: streamline phrasing according to requested changes
Co-authored-by: Sem Bauke <46919888+Sembauke@users.noreply.github.com>
* fix: change phrasing according to requested changes
Co-authored-by: Sem Bauke <46919888+Sembauke@users.noreply.github.com>
Co-authored-by: Sem Bauke <46919888+Sembauke@users.noreply.github.com>
* feat(ts-migrate): rename sass-compile.js to ts
* feat(ts-migrate): rename test-evaluator.js to ts
* feat(ts-migrate): add webworker in client tsconfig
* fix(ts-migrate): fix errors in sass-compile.ts
* chore(ts-migrate): install chai types in client
* fix(ts-migrate): fix errors in test-evaluator.ts
* fix(ts-migrate): rename extensions in webpack-worker
* fix(ts-migrate): separate tsconfig for workers
* fix(ts-migrate): add worker tsconfig to parser options
* chore(ts-migrate): remove unnecessary comment
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
* fix(ts-migrate): use let instead of const
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
* fix(ts-migrate): fix eslint errors in sass-compile.ts
* fix(ts-migrate): fix eslint errors in test-evaluator.ts
* chore(ts-migrate): use unknown instead of generics
* chore(ts-migrate): revert worker tsconfig
* chore(ts-migrate): add libs in client tsconfig
* fix(ts-migrate): use ctx alias in test-evaluator.ts
* fix(ts-migrate): use ctx alias in sass-compile.ts
* chore: fix errors
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>