* refactor: explicit types for validate
* refactor: explicit return types for ui-components
* refactor: use exec instead of match
* refactor: add lots more boundary types
* refactor: more eslint warnings
* refactor: more explicit exports
* refactor: more explicit types
* refactor: even more explicit types
* fix: relax type contrainsts for superblock-order
* refactor: final boundaries
* refactor: avoid using 'object' type
* fix: use named import for captureException
This uses TypeScript (which works) instead of import/namespace
(which doesn't) to check if captureException exists in sentry/gatsby
(it does)
* fix(deps): update font awesome to v6.3.0
* update profile snapshot for the new icon
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Sboonny <muhammed@freecodecamp.org>
* refactor(client): clean extra FormGroup component in personal info
* Revert "refactor(client): clean extra FormGroup component in personal info"
This reverts commit cc29df3033.
* refactor show image component into JSX
* Remove redundant text
Co-authored-by: moT01 <20648924+moT01@users.noreply.github.com>
---------
Co-authored-by: moT01 <20648924+moT01@users.noreply.github.com>
* feat: the odin-project superblock
* feat: break everything
* fix: correct meta names
* fix: meta again
* fix: tests
* fix: help category and external curriculum test
* fix: file names again
* fix: help category
* fix: remove console log
---------
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
* moved portal states to redux
stored a global window
open window if does not exist clear htmlif already exists
moved close window to desktop-layout
close portal if user navigates to route outside of challenges
naming conventions, specify url
dispatch setIsAdvancing and use in portal preview
* fix: close portal if main window closes
* fix: refactor it
* Revert "fix: refactor it"
This reverts commit 197a40a3a6.
* feat: add isAdvancing to hotkeys
* fix: revert to pane on first step of block
* fix: safari issues
* fix: revert to pane when not advancing
---------
Co-authored-by: kravmaguy <flex4lease@gmail.com>
Co-authored-by: moT01 <20648924+moT01@users.noreply.github.com>
fix: keep editable region as empty array
There's no need to make it undefined, since editors without editable
regions are initiated with [] and the editor knows that an empty array
means the editable region doesn't exist.
* fix: move the console in the multifile editor to below the preview
* fix: go back to single displayConsole, move project based / multifile
logic into the jsx
* revert: previewPane flex value
* feat: refactor to allow console to open up the preview panel and take up all the vertical space
* fix: simplify editor layout logic
* feat: split odin project block into two blocks
* refactor: remove redundant isOdinProject checks
* fix: revert checkbox outline changes
Keyboard users need a way to see what's currently in focus, so we can't
hide the outline
* fix: add help category
* fix: use HTML-CSS help category
---------
Co-authored-by: sembauke <semboot699@gmail.com>
* feat(client): allow full width to carry key props
* fix: setting can't render the element error
* Remove the key prop from FullWidthRow
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
* remove key form fullwidth
* Remove undefined type from children
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
* add key to renderProfile
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>