Commit Graph

32485 Commits

Author SHA1 Message Date
John
fdabc2f66f fix(cirriculum): reword exercise instructions to clarify required schema (#49542)
* change wording to highlight the required fields and its corresponding types.
2023-02-28 04:45:47 +00:00
Bruce Blaser
baee36ded4 fix(ui): preserve monaco tab trap on resize (#49477)
* fix: preserve tab trap on resizing

* fix: tab trap aria status messages
2023-02-27 17:18:30 -08:00
Lasse Jørgensen
5751d0c28e feat(client): make the new help icon clearer (#49516)
* feat(learn): update help button

* fix: remove space between svgs

* move style objects out of component
2023-02-27 16:23:44 -08:00
a2937
3e2fd9d655 fix(cirriculum): adjust wording of error messages in "replacing-if-else-chains-with-switch" (#49520)
Adjust switch statement error message wording.
2023-02-27 16:15:38 -08:00
David fox
87cf06b595 fix(curriculum): changed instructions for clarity (#49534)
* changed instruction for clarity

* removed non-english changes

* Delete package-lock.json

* Delete package-lock.json
2023-02-27 16:14:50 -08:00
Steve Beecheno
854690b33e fix(curriculum): removed confusing sentence (#49538)
fix(curriculum): removed confusing sentance

```diff
# --description--
...
-      Nearly every object in JavaScript has a `prototype` property which is part of the constructor function that created it.
```
2023-02-27 16:13:45 -08:00
xarcode
de87492cf8 refactor(client): togglebutton's layout from float to flex (#49510)
* Refactor the togglebutton from float to flex

* Update toggle-button.css
2023-02-27 18:12:31 +01:00
Steve Beecheno
564a4d2cab fix(curriculum): grammatical errors (#49537)
* Minor grammatical change 

```diff
# --description--
-      Create an .small-text selector and set the font-size to 0.85rem, which would calculate to be roughly 13.6px (remember that you set your html to have a font-size of 16px).
+      Create a .small-text selector and set the font-size to 0.85rem, which would calculate to roughly 13.6px (remember that you set your html to have a font-size of 16px).
```

* Add backticks for formatting purposes

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

---------

Co-authored-by: Krzysztof G. <60067306+gikf@users.noreply.github.com>
2023-02-27 17:50:35 +01:00
sumit shinde ( Roni )
123b2d54da fix: replaced reduce method with for loop (#49525)
add: reaplaced reduce method to for loop
2023-02-27 11:44:42 +02:00
renovate[bot]
b45491330b chore(deps): update dependency @types/node to v18.14.2 (#49532)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-27 11:37:43 +02:00
Surya Kanta Ghosh
83cae1d78e fix(curriculum): ensure left alignment of output in translations (#49524)
* feat: change quotes into pre

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


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

---------

Co-authored-by: Krzysztof G. <60067306+gikf@users.noreply.github.com>
2023-02-27 08:10:18 +02:00
a2937
a936806a22 Chore (settings) - Rename tabindex to tabIndex (#49519)
* Chore (settings) - Rename tabindex to tabIndex

* Update client/src/templates/Challenges/components/hotkeys.css

Co-authored-by: Bruce Blaser <bbsmooth@gmail.com>

* Fix hotkeys.css

---------

Co-authored-by: Bruce Blaser <bbsmooth@gmail.com>
2023-02-27 08:03:37 +02:00
renovate[bot]
106d7d9aab chore(deps): update dependency start-server-and-test to v1.15.5 2023-02-27 03:36:26 +00:00
renovate[bot]
a0f0294645 chore(deps): update codesee-io/codesee-action digest to ab0fd09 2023-02-26 18:47:13 +00:00
renovate[bot]
6ea21b69de fix(deps): update dependency query-string to v7.1.3 2023-02-26 11:08:47 +00:00
renovate[bot]
e0975e21e5 fix(deps): update dependency fastify to v4.13.0 2023-02-26 07:19:37 +00:00
renovate[bot]
289cf7481e fix(deps): update dependency date-fns to v2.29.3 2023-02-26 03:31:28 +00:00
renovate[bot]
aa1c875081 chore(deps): update typescript-eslint monorepo to v5.53.0 2023-02-26 02:33:26 +00:00
renovate[bot]
d5f14e1d55 chore(deps): update dependency joi to v17.8.3 2023-02-25 21:15:28 +00:00
renovate[bot]
6cbb63bbad chore(deps): update automerged always - codesee to v0.523.0 2023-02-25 19:48:23 +00:00
renovate[bot]
b36bf511d5 fix(deps): update dependency @fastify/mongodb to v6.2.0 (#49512)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-25 17:49:32 +02:00
renovate[bot]
72d4d8c2fa fix(deps): update grouped - stripe 2023-02-25 14:23:54 +00:00
renovate[bot]
31a6fd9776 chore(deps): update dependency @types/node to v18.14.1 2023-02-25 09:36:42 +00:00
renovate[bot]
286573c30d chore(deps): update dependency debug to v4.3.4 2023-02-25 08:01:08 +00:00
renovate[bot]
c8606ec6f9 chore(deps): update github/codeql-action digest to 32dc499 (#49502)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-25 11:03:41 +05:30
a2937
346ac9db66 chore(cypress): email-change.js to ts (#49464)
Initial conversion of email-change.js
2023-02-24 23:09:56 +00:00
renovate[bot]
ab2b6907d2 fix(deps): update dependency fastify to v4.10.2 [security] 2023-02-24 22:43:58 +00:00
camperbot
1e1c933362 chore(i18n,learn): processed translations (#49493) 2023-02-24 10:23:07 -08:00
Mrugesh Mohapatra
7199f033fb feat(next-api): basic authentication setup (#49378)
* feat(next-api): add fastify-auth0-verify plugin

* feat(next-api): add fastify-jwt-authz plugin

* feat(next-api): accept privacy endpoint with scopes support

* fix(next-api): ignore eslint and ts errors

They will be fixed in a future PR when the package with errors has been updated

Co-authored-by: Niraj Nandish <nirajnandish@icloud.com>
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2023-02-24 17:26:40 +05:30
Oliver Eyton-Williams
1c9004046b refactor: clean up errors + unused code (#49473)
* refactor: use await/done to mollify eslint

* refactor: clean up unused code

It's also more of an express pattern. Fastify routes should be
registered as plugins.
2023-02-24 17:25:56 +05:30
Shaun Hamilton
8812d4557a fix(api): ignore api in jest config (#49371) 2023-02-24 17:25:56 +05:30
Oliver Eyton-Williams
f35ab4d0ba refactor: clean up types and tsconfig (#49360) 2023-02-24 17:25:53 +05:30
Shaun Hamilton
37ed23ef38 feat(api): add node:test (#48437) 2023-02-24 17:25:22 +05:30
Shaun Hamilton
f7644bec68 feat(api): example middleware (#48434)
* feat(api): add middleware example

* feat(api): add `@fastify/middie`, reorder for alphabetness

* [skip-ci] [skip ci]
2023-02-24 17:25:21 +05:30
Shaun Hamilton
6d46f61fe9 refactor(api): shiny new api (#48432) 2023-02-24 17:23:15 +05:30
Kolade Chris
9a3d0b7bfb fix(curriculum): worked on early feedbacks for js role playing game (#49169)
* fix:implemented some of the recommendations of the earlier feedbacks on the JS RPG course

* fix: improved some description texts of the JS RPG course (Made Naomi's requested changes)
2023-02-23 10:52:50 -08:00
camperbot
02ac246693 chore(i18n,learn): processed translations (#49483) 2023-02-23 10:14:20 -08:00
Azar
d6bad55e6d fix(curriculum): remove grammatical mistakes (#49426)
fixes #49408

fixes the grammar of sentence 'will call the sum function, ....'. so it is clear who is doing the calling.
2023-02-23 18:37:50 +01:00
camperbot
080ee35390 chore(i18n,client): processed translations (#49482) 2023-02-23 23:20:06 +09:00
Tom
8f63733236 refactor(api): user token db query (#49406) 2023-02-23 17:50:04 +05:30
Muhammed Mustafa
a64e732458 fix(client): default challengeFiles to array (#49474)
* refactor(client): check challengesfile length in the epic

* change the initial state of challenge files to array
2023-02-23 10:18:04 +00:00
Muhammed Mustafa
06fe9b6d16 refactor(client): stop the homepage image from changing the layout (#49476)
refactor(client): stop the homepage from changing the the layout
2023-02-23 14:53:53 +05:30
Anmol Sarraf
2e0ccd9110 fix: update absolutePath variable value (#49461)
fix: absolutePath variable value

Co-authored-by: Anmol Sarraf <anmolsarraf@Anmols-MacBook-Pro.local>
2023-02-23 09:10:17 +01:00
Muhammed Mustafa
0971b6a8a3 refactor(client): remove react lazy loader library (#49468)
* feat(client): remove react lazy loader library

* fix: use loading='lazy' to defer loading
2023-02-22 18:05:08 +01:00
camperbot
1d8de86cf3 chore(i18n,learn): processed translations (#49471) 2023-02-22 17:15:22 +01:00
camperbot
07ddf58776 chore(i18n,docs): processed translations (#49470) 2023-02-22 09:58:27 -06:00
Muhammed Mustafa
f56816d3e1 refactor(client): fix types in the nav-links file (#49291)
* refactor(client): clean some mistype errors in the nav-links file

* fix showLanguage prop type in the other files

* add-ts-ignore-comment

* swap to map for easier maintainablity

* Change the eslint naming comment

* fix: using the wrong handlekeydown function

Co-authored-by: Bruce B <bbsmooth@gmail.com>

* hide the menu when focus is on the userimage

* hide the menu only if camper didn't press shift key

---------

Co-authored-by: Bruce B <bbsmooth@gmail.com>
2023-02-22 05:36:05 +02:00
camperbot
e302144c96 chore(i18n,learn): processed translations (#49457) 2023-02-21 07:48:48 -08:00
Oliver Eyton-Williams
424711fcad fix(client): provide return types for get-completion-percentage (#49458)
fix: provide return types

I also moved the undefined check closer to the source, so it's clearer
what is missing
2023-02-21 07:40:01 -08:00
Jeff
9f1562291c fix: remove unused className spacer from spacer helper (#49067)
* fix: remove unused className spacer from spacer helper

---------

Co-authored-by: jeff <jeff@vpmbp4.local>
2023-02-21 19:20:29 +05:30