Commit Graph

32524 Commits

Author SHA1 Message Date
Liam Campbell
9db80be77c fix(curriculum): specifies the cafe's street address (#49597)
* fix(curriculum): specifies the cafe's street address
2023-03-07 13:36:34 +00:00
Shaun Hamilton
1ba31f0833 feat(.devcontainer): basic codespaces config (#48484)
Co-authored-by: Mrugesh Mohapatra <1884376+raisedadead@users.noreply.github.com>
2023-03-06 20:49:35 +05:30
camperbot
0a7b769b40 chore(i18n,client): processed translations (#49602) 2023-03-06 20:46:41 +05:30
renovate[bot]
85d82f998f fix(deps): update dependency @growthbook/growthbook-react to v0.12.0 (#49587)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-06 07:05:39 -08:00
Walid Mouaaouia
138f42110d fix: first sentence in Cafe Menu Step 51. (#49576) 2023-03-06 15:59:07 +02:00
camperbot
92b33e8b46 chore(i18n,learn): processed translations (#49559) 2023-03-06 15:57:41 +02:00
Oliver Eyton-Williams
113036dad6 feat: depromisify fastify-jwt-authz (#49550) 2023-03-06 16:25:40 +05:30
Shaun Hamilton
f45d8b06dc feat(client): warn endpoint url submission (#49560)
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2023-03-06 16:24:48 +05:30
sidemt
a4ce8fa425 fix(client): prevent word wrap in Chinese & Japanese button text (#49571)
fix(client): prevent word wrap in CJK button text
2023-03-06 16:20:06 +05:30
renovate[bot]
5c7a25ff22 chore(deps): update dependency @types/react-scrollable-anchor to v0.6.1 (#49581)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-06 16:12:38 +05:30
Oliver Eyton-Williams
8827993988 fix: update CODEOWNERS so pnpm-lock is not owned (#49599) 2023-03-06 16:07:08 +05:30
camperbot
ba0f56e4a7 chore(i18n,docs): processed translations (#49572) 2023-03-06 08:51:28 +01:00
Muhammed Mustafa
f937e89bc3 feat(client): improve card accessibility (#49566)
Co-authored-by: Bruce B <bbsmooth@gmail.com>
Co-authored-by: Co-authored-by: Bruce B <bbsmooth@gmail.com>
2023-03-06 10:41:09 +03:00
John
d25f19d153 fix(curriculum): clarify example switch statement (#49592) 2023-03-05 19:50:34 -08:00
renovate[bot]
933b909111 fix(deps): update dependency fastify to v4.14.0 2023-03-05 10:44:01 +00:00
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