Commit Graph

29028 Commits

Author SHA1 Message Date
9816a2c6fb chore(deps): update dependency webpack to v5.57.1 (#43733)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-07 07:00:42 +05:30
536eef3be9 chore(deps): update babel monorepo to v7.15.8 2021-10-06 23:33:34 +00:00
e3e794ddef fix(client): only jump to editable region on reset (#43748)
If the code has changed without the user typing (e.g. they've pushed
the restart button), then we jump them back to the editable region.
Otherwise (e.g. they've typed in the editor) we reset the display, but
do not move the editor.
2021-10-06 14:09:04 -07:00
df8dc9b9c6 fix(ui): Fix crash when viewing an invalid certificate (#43681)
* fix: remove empty object literal creation causing #43224

* fix: initialize userByName selector using empty object from initialState to keep the same reference instead

* fix(lang): added translation for invalid certificate
2021-10-06 21:05:05 +02:00
7824f13f5f feat: auto clean client cache when SHOW_UPCOMING_CHANGES value changes (#43747)
* feat: auto clean client cache on env var change

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com>
2021-10-06 21:07:08 +05:30
e6b3c90983 chore(i18n,curriculum): update translations (#43746) 2021-10-06 17:36:48 +02:00
c8d7f0a782 feat(tools): remove eslint-plugin-prettier for prettier (#42438)
* feat: remove eslint-plugin-prettier for prettier

This removes the annoying lint warnings when all that needs to change is
formatting

* fix: use .js lint-staged config to ignore properly

* fix: lint everything if a lot of files are changed

It's faster than making lots of individual linter calls

* chore: apply prettier

* fix: ignore code in curriculum-file-structure
2021-10-06 21:02:21 +05:30
8518079316 fix(client):make menu bar disappear after user chooses item from it on landing page (#43458)
* removed serachBarRef

* removed serachBarRef

* Revert "removed serachBarRef"

This reverts commit 6a5c2f4cb3.

* Revert "removed serachBarRef"

This reverts commit 67710b3d18.

* added innerRef as ref to SearchBarOptimized component

* Update client/src/components/Header/index.tsx

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>

* Update client/src/components/search/searchBar/search-bar-optimized.tsx

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>

* Update client/src/components/search/searchBar/search-bar-optimized.tsx

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2021-10-06 16:42:54 +02:00
bc802cbbbd feat: added warning for unreachable server (#43576)
* feat: added warning for unreachable server

* fix: update initial state in test file

* fix: make offline warning scroll with page

* adjust z-indexes for warning banners

* add hyperlink for offline warning
2021-10-06 15:18:02 +02:00
83354c5632 fix: stop using .night to control theme (#43745)
.light-palette and .dark-palette should be enough, so there's no need
to attach the default or night classes to the html element
2021-10-06 11:30:15 +01:00
580f57cf5f feat: add code highlighting to descriptions in the new editor (#43740) 2021-10-06 11:26:22 +02:00
b0d48b8463 fix: reset editor display on user interaction (#43730)
If the user types in the editor or pushes the reset button, the lower
jaw now resets to the default state.
2021-10-06 12:22:00 +03:00
4ffc06e014 fix: correct theme when viewing certifications challenges solutions 2021-10-06 11:05:52 +02:00
78e28e2bd3 fix: reset regex.lastIndex when tests use test method (#43695)
* added regex.lastIndex = 0 to tests

* typo
2021-10-06 16:14:50 +09:00
5c4e90d24d chore(deps): update codesee to v0.105.0 2021-10-06 03:17:30 +00:00
4c038a8a13 chore(deps): update dependency jest-json-schema-extended to v1.0.1 (#43705)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-06 07:19:19 +05:30
bed3a1413a chore(deps): update dependency mongodb to v3.7.2 2021-10-05 23:49:22 +00:00
45a1f28308 chore(deps): update dependency webpack to v5.57.0 2021-10-05 17:49:41 +00:00
8f77ecf852 chore(i18n,docs): update translations (#43727) 2021-10-05 06:42:01 -07:00
697506c112 fix(deps): update dependency date-fns to v2.25.0 2021-10-05 10:10:42 +00:00
ded5c5cc3d chore(deps): update typescript-eslint monorepo to v4.33.0 2021-10-05 05:27:07 +00:00
ea0157d673 chore(deps): update codesee to v0.104.0 2021-10-05 03:53:43 +00:00
926da84521 chore(deps): update dependency postcss to v8.3.9 2021-10-05 02:17:44 +00:00
ce249f9625 fix: link to react documentation (#43704)
* Update set-state-with-this.setstate.md

revert the base url back to https://facebook.github.io/react/docs/state-and-lifecycle.html

* Update use-proptypes-to-define-the-props-you-expect.md

Linked to the exact place for the types of propTypes you can use. The original link was to the documentation, which states that it has been moved, So I thought it would be intuitive to link the exact place React wants you to go.

* Update curriculum/challenges/english/03-front-end-development-libraries/react/use-proptypes-to-define-the-props-you-expect.md

Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>

* Update curriculum/challenges/english/03-front-end-development-libraries/react/set-state-with-this.setstate.md

Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com>

Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com>
2021-10-04 18:51:29 -05:00
4bfbb5e208 chore(deps): update dependency autoprefixer to v10.3.7 2021-10-04 23:04:45 +00:00
2643143118 fix(deps): update dependency @stripe/stripe-js to v1.19.1 2021-10-04 21:05:26 +00:00
8ea801844a chore(deps): update dependency lint-staged to v11.2.0 2021-10-04 18:51:57 +00:00
ffe5ef2b22 chore(deps): update dependency @testing-library/dom to v8.7.2 (#43714)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-04 22:19:38 +05:30
aae7b7bca0 chore(i18n,curriculum): processed translations (#43713) 2021-10-04 16:27:38 +02:00
838d352979 chore(i18n,docs): processed translations (#43711) 2021-10-04 19:21:00 +05:30
38d65f95b4 refactor(editor): improve naming and comments (#43662)
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
Co-authored-by: Sem Bauke <46919888+Sembauke@users.noreply.github.com>
2021-10-04 19:18:57 +05:30
f5de80dc4f chore: migrate to jsx element (#43707) 2021-10-04 19:16:34 +05:30
2ba536d559 refactor: enforce consistent camelCase in const names, add comments, condense multiple single-line comments into one multi-line comment (#43699) 2021-10-04 19:15:44 +05:30
38740f256c chore(i18n,client): processed translations (#43712) 2021-10-04 19:13:09 +05:30
c9586ec4ca chore(deps): update dependency webpack to v5.56.1 2021-10-04 09:15:00 +00:00
Tom
aef2e37ef3 feat(docs): add how to contribute to rdbms repos (#43586)
* feat(docs): add how to contribute to coderoad tutorials

* update json

* finish: some docs anyway

* more

* Update docs/how-to-work-on-tutorials-that-use-coderoad.md

Co-authored-by: Sem Bauke <46919888+Sembauke@users.noreply.github.com>

* Update docs/how-to-work-on-tutorials-that-use-coderoad.md

Co-authored-by: Sem Bauke <46919888+Sembauke@users.noreply.github.com>

* Update docs/how-to-work-on-tutorials-that-use-coderoad.md

Co-authored-by: Sem Bauke <46919888+Sembauke@users.noreply.github.com>

* Update docs/how-to-work-on-tutorials-that-use-coderoad.md

Co-authored-by: Sem Bauke <46919888+Sembauke@users.noreply.github.com>

* Update docs/how-to-work-on-tutorials-that-use-coderoad.md

Co-authored-by: Sem Bauke <46919888+Sembauke@users.noreply.github.com>

* Update docs/how-to-work-on-tutorials-that-use-coderoad.md

Co-authored-by: Sem Bauke <46919888+Sembauke@users.noreply.github.com>

* Update docs/how-to-work-on-tutorials-that-use-coderoad.md

Co-authored-by: Sem Bauke <46919888+Sembauke@users.noreply.github.com>

* fix: attempt to clarify

* Update docs/_sidebar.md

Co-authored-by: Kristofer Koishigawa <scissorsneedfoodtoo@gmail.com>

* Update docs/how-to-work-on-tutorials-that-use-coderoad.md

Co-authored-by: Krzysztof <60067306+gikf@users.noreply.github.com>

* Update docs/how-to-work-on-tutorials-that-use-coderoad.md

Co-authored-by: Kristofer Koishigawa <scissorsneedfoodtoo@gmail.com>

* Update docs/how-to-work-on-tutorials-that-use-coderoad.md

Co-authored-by: Kristofer Koishigawa <scissorsneedfoodtoo@gmail.com>

* Update docs/how-to-work-on-tutorials-that-use-coderoad.md

Co-authored-by: Kristofer Koishigawa <scissorsneedfoodtoo@gmail.com>

* Update docs/how-to-work-on-tutorials-that-use-coderoad.md

Co-authored-by: Kristofer Koishigawa <scissorsneedfoodtoo@gmail.com>

* Update docs/how-to-work-on-tutorials-that-use-coderoad.md

Co-authored-by: Kristofer Koishigawa <scissorsneedfoodtoo@gmail.com>

* Update docs/how-to-work-on-tutorials-that-use-coderoad.md

Co-authored-by: Kristofer Koishigawa <scissorsneedfoodtoo@gmail.com>

* Update docs/how-to-work-on-tutorials-that-use-coderoad.md

Co-authored-by: Kristofer Koishigawa <scissorsneedfoodtoo@gmail.com>

* Update docs/how-to-work-on-tutorials-that-use-coderoad.md

Co-authored-by: Kristofer Koishigawa <scissorsneedfoodtoo@gmail.com>

* Update docs/how-to-work-on-tutorials-that-use-coderoad.md

Co-authored-by: Kristofer Koishigawa <scissorsneedfoodtoo@gmail.com>

* Update docs/how-to-work-on-tutorials-that-use-coderoad.md

Co-authored-by: Kristofer Koishigawa <scissorsneedfoodtoo@gmail.com>

* Update docs/how-to-work-on-tutorials-that-use-coderoad.md

Co-authored-by: Kristofer Koishigawa <scissorsneedfoodtoo@gmail.com>

* Update docs/how-to-work-on-tutorials-that-use-coderoad.md

Co-authored-by: Kristofer Koishigawa <scissorsneedfoodtoo@gmail.com>

* Update docs/how-to-work-on-tutorials-that-use-coderoad.md

Co-authored-by: Kristofer Koishigawa <scissorsneedfoodtoo@gmail.com>

* Update docs/how-to-work-on-tutorials-that-use-coderoad.md

Co-authored-by: Kristofer Koishigawa <scissorsneedfoodtoo@gmail.com>

* Update docs/how-to-work-on-tutorials-that-use-coderoad.md

Co-authored-by: Kristofer Koishigawa <scissorsneedfoodtoo@gmail.com>

* Update docs/how-to-work-on-tutorials-that-use-coderoad.md

Co-authored-by: Kristofer Koishigawa <scissorsneedfoodtoo@gmail.com>

* fix: update sidebar

* fix: add description and one missing instruction

Co-authored-by: Sem Bauke <46919888+Sembauke@users.noreply.github.com>
Co-authored-by: Kristofer Koishigawa <scissorsneedfoodtoo@gmail.com>
Co-authored-by: Krzysztof <60067306+gikf@users.noreply.github.com>
2021-10-04 11:49:05 +05:30
73e7f640ce fix(deps): update dependency @types/react to v17.0.27 2021-10-03 21:32:21 +00:00
504ed3a917 chore(i18n,curriculum): update translations (#43661) 2021-10-03 20:24:27 +01:00
3f79710779 chore(deps): update dependency @testing-library/react to v12.1.2 2021-10-03 17:15:37 +00:00
1e5852a6e3 chore(i18n,docs): update translations (#43659) 2021-10-03 07:45:53 -07:00
7134cf5ea5 chore(i18n,learn): update translations (#43677) 2021-10-03 07:44:58 -07:00
1f880a552d fix(docs): modified grammar and phrasing in docs and comments (#43682)
* docs: fixed minor typos in how-to-open-a-pull-request.md

* docs: grammar fixes in FAQ.md

* refactor: streamlined comments in multiple TS files

* fix: linting issues
2021-10-02 23:43:14 +01:00
da9725acd4 fix(tools): apply invalid label (#43684) 2021-10-02 14:02:33 -07:00
304f245cd2 fix(curriculum): Remove outdated video (#43685)
* Remove outdated video from testing objects for properties challenge

* Remove outdated video from testing objects for properties challenge
2021-10-02 18:51:15 +02:00
b923a32736 fix: a typo in ga-saga.test.js (#43673) 2021-10-02 15:03:19 +02:00
d261d7a6d9 chore(deps): update dependency @types/react-helmet to v6.1.3 2021-10-02 09:10:28 +00:00
00e7817db5 chore(deps): update codesee to v0.103.0 2021-10-02 03:29:12 +00:00
996c01a280 fix(deps): update dependency @stripe/stripe-js to v1.19.0 2021-10-01 23:02:18 +00:00
8c73901f5a chore(deps): update codesee to v0.102.2 2021-10-01 21:44:39 +00:00
90e19da7d8 chore(deps): update storybook monorepo to v6.3.9 2021-10-01 20:42:02 +00:00