Commit Graph

32509 Commits

Author SHA1 Message Date
renovate[bot]
aff312410a fix(deps): update dependency algoliasearch to v4.15.0 2023-03-05 06:53:20 +00:00
renovate[bot]
ed14033d41 fix(deps): update dependency @stripe/stripe-js to v1.48.0 2023-03-05 03:39:06 +00:00
renovate[bot]
6802434ab5 chore(deps): update automerged always - codesee to v0.525.0 2023-03-05 00:13:08 +00:00
renovate[bot]
a5d31659bc fix(deps): update dependency react-router-dom to v6.8.2 2023-03-04 21:10:50 +00:00
renovate[bot]
72321ad76b fix(deps): update dependency nodemon to v2.0.21 2023-03-04 17:30:13 +00:00
renovate[bot]
8bfb3d3142
chore(deps): update dependency @types/node to v18.14.6 (#49580)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-04 07:50:01 -08:00
renovate[bot]
6312069bd5 chore(deps): update react monorepo 2023-03-04 14:09:39 +00:00
camperbot
3faf142dec
chore(i18n,client): processed translations (#49573) 2023-03-03 18:56:26 +02:00
Naomi Carrigan
ec9fb04fb7
feat: statistics calculator (#48181)
* feat: stats calculator to step 23

* feat: complete steps

* feat: starting the tests

* feat: finish tests

* chore: manual review suggestions

* chore: apply jessica's suggestions

Co-authored-by: Jessica Wilkins  <67210629+jdwilkin4@users.noreply.github.com>

* fix: broken mathjax

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

* chore: fix typo

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

* fix: update regex, clarify first step

* feat: forgot to add solution

* chore: apply sem's review suggestions

Co-authored-by: Sem Bauke <semboot699@gmail.com>

* chore: apply kolade's review suggestions

* chore: apply kris' suggestions

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

---------

Co-authored-by: Jessica Wilkins  <67210629+jdwilkin4@users.noreply.github.com>
Co-authored-by: Kristofer Koishigawa <scissorsneedfoodtoo@gmail.com>
Co-authored-by: Sem Bauke <semboot699@gmail.com>
2023-03-03 17:41:25 +09:00
Oliver Eyton-Williams
d7848ae01a
feat: migrate to pnpm for better workspace DX (#49293)
* feat: npm -> pnpm 

This resolves the issues with the gatsby client (gatsby-plugin-pnpm
deals with the fact that gatsby is relying on its own dependencies
being de-duped)
and challenge-editor (which doesn't seem to want to automatically install
codemirror and needed its own eslint config)

* fix: correct mocha path for curriculum tests

* fix: use select workspace with -F not -w

* fix: reorganise packages and restrict hoisting

pnpm works best if the workspaces keep their own dependencies, since
dependencies are not flattened and then what node resolves from a
require is predictable.

@types seem to be a special case and more care is required to prevent
them getting smushed together in the root (hence the .npmrc)

* fix: add types for tools + root

* fix: decouple challenge-auditor from client

* fix: add ui-components types

* fix(client): use the latest types for react 16

* fix: prettify

* fix: prettierignore pnpm-lock

* fix: relax hoisting

Turns out pnpm works just fine with types. I don't know what was going
wrong before, but there are no-longer any type conflicts.

* fix: add @redux-saga/core to fix eslint issue

It seems to only be redux-saga that import/named can't cope with, so it
is probably okay to work around this one.

* chore: add chai to tools/scripts/build

* fix: add store to root for cypress

* fix: allow cypress to download binaries

If we want to keep preventing cypress from downloading binaries, we can
figure out a workaround, but I'm allowing it to ease the transition to
pnpm.

My guess about why this is happening is that npm triggers Cypress's
postinstall script, but pnpm does not (because pnpm install only
installs if necessary, perferring to link)

* chore: re-enable pre/post scripts

* fix: update build scripts for client

Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>

* chore: update engines to use pnpm


* fix: enable choice of (super)block for tests

Only 'nix machines for now.

* chore: pin pnpm to version 7

* chore: remove last npms

Except web + curriculum-server. I'll update them when I start work on
them again.

* fix: lockfile check to catch any package-locks

* fix(action): install pnpm for upcoming tests

* chore: add nodemon to new api

Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
2023-03-02 18:17:44 +00:00
Oliver Eyton-Williams
66438c271f
fix: add more explicit return types (#49567) 2023-03-02 17:26:40 +00:00
anik-75
5528ec39a2
fix(curriculum): remove unclear sentence (#49564)
fix/instruction-about-css-td-width-property
2023-03-02 11:32:17 +00:00
John
dbf124acf3
fix(curriculum): favouriteFoods to favoriteFoods (#49563)
Change mongodb lesson wording from English English to American English
2023-03-02 09:35:44 +00:00
Swapnil Thatte
40df14cd16
fix: description and hint of Learn Accessibility by Building a Quiz - Step 41 (#49547)
* Update in description 

1) Changed description to " Do not forget to give your form a submit button with the text "Send". "
2) Added word "button" in the hint


Replaced "submit" with "submit button".

* Changed "Send" to `Send`
2023-03-01 19:03:45 +02:00
camperbot
39c975ce15
chore(i18n,docs): processed translations (#49558) 2023-03-01 08:24:55 -08:00
renovate[bot]
ecee60dadd
fix(deps): update dependency json-server to v0.17.2 (#49505)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-01 02:56:02 +02:00
a2937
74bcd37ab7
fix(curriculum): Clarify hints in Step 40 of the Skyline project (#49551)
Clarify hints in step 40 of skyline projects
2023-02-28 20:25:09 +01:00
camperbot
43295afc0a
chore(i18n,learn): processed translations (#49545) 2023-02-28 08:08:50 -08:00
camperbot
6bd8d2ba63
chore(i18n,client): processed translations (#49544) 2023-02-28 16:45:56 +01:00
Muhammed Mustafa
caad02d1c5
feat(client): make tables in challenges LTR when it's RTL layout (#49543)
Co-authored-by: hbar1st hanaab@gmail.com
2023-02-28 21:45:20 +07:00
David fox
80c40227d9
fix(client): added conditional to check for 0 (#49465)
added condition to stop the render if 0
2023-02-28 13:27:00 +02:00
Muhammed Mustafa
6c4c360139
feat(client): remove the Media component for our Card component (#49278)
* create a desktop version of the card

* finish creating the grid for the cards

* fix the responsive niche cases

* add screen reader text

* add border and account for the added border

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

* add the full width back

* clean and fix values grid columns values

* make the outline block

* use underline because outline overflows out the

Co-authored-by: sembauke <semboot699@gmail.com>

* turn the link into a button

Co-authored-by: sembauke <semboot699@gmail.com>

* fix: web-layout

* fix: mobile-layout

* sort the large text in wide screens

* hide the tool panel

* Revert "hide the tool panel"

This reverts commit 21499f840d.

* change the grid rows to account for big text

* make the card clickable

---------

Co-authored-by: sembauke <semboot699@gmail.com>
2023-02-28 11:00:27 +01:00
a2937
e300a82b84
feat(client): show error, warn, and info in FCC debug console (#49528)
* Allow error,warn, and info to be logged to FCC console.

* Apply DRY principles
2023-02-28 10:50:16 +01:00
camperbot
178c91dd65
chore(i18n,client): processed translations (#49539) 2023-02-28 08:30:19 +01:00
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