Commit Graph

29518 Commits (de5cb3e029ff32fa9fc62ab7f9473c85c07dda8d)

Author SHA1 Message Date
Mrugesh Mohapatra 7bb799113e
chore(npm): run audit fix on lockfile (#44373) 2021-12-04 11:33:13 +05:30
Renovate Bot a9dcce08d1 chore(deps): update dependency @testing-library/jest-dom to v5.16.0 2021-12-04 05:03:50 +00:00
Renovate Bot e0f9c70a99 chore(deps): update storybook monorepo to v6.4.7 2021-12-04 02:47:03 +00:00
Shaun Hamilton 393aeabc8f
feat(curriculum): add css-penguin practice project (#44214)
* feat: add css-penguin practice project

* rename block name

* rename meta block

* rename necessary properties

* rename page

* add to step 25

* adjust prototype with better structure/naming

* add step adjusting .ground z-index

* fix: add position: absolute to .ground

* add to step 37

* add to step 103

* remove erm from solution

* add tests to 001-020

* add tests 021-030

* test: update 012 to use dynamic hints

* test: improve tests with dynamic hints

* fix: add position:relative to .penguin

* add tests 032-055

* add tests 056 - 103

* fix some tests

* code blocks and test fixes

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

* allow 0% 0px 0

* fix: add width and height step for silly firefox

* add instruction to add html element

* Tom's good suggestions, and his American suggestions

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

* adjust wording for - you guessed it - firefox

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

* add missing calc keyword

* just fix it with regex :(

* apply Nich's probably bogus suggestions

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

* remove duplicate

Co-authored-by: Krzysztof G. <60067306+gikf@users.noreply.github.com>
Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com>
2021-12-03 17:59:32 -06:00
Nicholas Carrigan (he/him) 536a689d34
feat(curriculum): balance sheet project (#44189)
* feat: initial infra

* feat: create steps

* chore: apply sem's review suggestions

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

* feat: write tests

* chore: optional?.chaining?.

* chore: gikf's suggestion

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

* chore: rename

* chore: *

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

* chore: apply shaun's review suggestions

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

* chore: manual review suggestions

* chore: ?????

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

Co-authored-by: Sem Bauke <46919888+Sembauke@users.noreply.github.com>
Co-authored-by: Krzysztof <60067306+gikf@users.noreply.github.com>
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
2021-12-03 16:20:34 -06:00
Oliver Eyton-Williams f613a1e5fd
fix: index.css/js to styles/script (#44356)
* fix: replace index with script/styles as needed

* fix: remove redundant fileKey

It's overwritten by createPoly, so the parser does not need to create it

* fix: curriculum test suite

* Update client/src/templates/Challenges/classic/MultifileEditor.js

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

Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
2021-12-03 12:32:29 -08:00
camperbot 7a5e805769
chore(i18n,client): processed translations (#44371) 2021-12-03 09:49:22 -08:00
Mrugesh Mohapatra c5fbfb84e1
fix(actions): run fewer workflows (#44375)
* fix(actions): remove run CodeQL from bots

* fix(actions): cosmetic renaming to the files
2021-12-03 16:24:00 +00:00
Shaun Hamilton ae258ce94c
chore: remove removed contributors/tools path (#44374) 2021-12-03 16:18:54 +00:00
camperbot 56ca9320da
chore(i18n,curriculum): processed translations (#44372) 2021-12-03 15:44:33 +00:00
Oliver Eyton-Williams 0cbb499e9c
chore: remove contributor tools (#44368)
They're being stored in freeCodeCamp/tools now
2021-12-03 20:40:03 +05:30
camperbot 8751f55bc7
chore(i18n,learn): update translations (#44357) 2021-12-03 20:35:59 +05:30
Oliver Eyton-Williams 9c078ab5d2
fix: update npm calls to handle workspaces (#44370)
* fix: use workspaces for crowdin npm ci

* fix: update server.Dockerfile to use workspaces

* fix: update client.Dockerfile to use workspaces
2021-12-03 20:06:08 +05:30
Renovate Bot e262301ac8 chore(deps): update storybook monorepo to v6.4.5 2021-12-03 11:37:04 +00:00
camperbot cd4d53f4c0
chore(i18n,curriculum): update translations (#44346) 2021-12-03 10:21:50 +01:00
Oliver Eyton-Williams 6af8ee6528
fix: hide file tabs on legacy challenges (#44291)
* fix: hide tabs for legacy challenges (desktop)

* fix: hide tabs for legacy challenges (mobile)

* fix: remove editor tabs (desktop)

* refactor: update comment

* fix: add missing usesMultifileEditor flags
2021-12-02 12:05:54 -08:00
Renovate Bot b14c5eb21b fix(deps): update dependency @stripe/stripe-js to v1.21.2 2021-12-02 19:03:20 +00:00
renovate[bot] 0921e5e135
chore(deps): update dependency joi to v17.5.0 (#44344)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-02 23:15:54 +05:30
Mrugesh Mohapatra 0894680eb3
chore: remove lerna config (#44361) 2021-12-02 07:46:01 -08:00
Shaun Hamilton d6d523861a
fix(client): adjust annual-donation hr (#44360) 2021-12-02 07:45:27 -08:00
renovate[bot] 47aef5155b
chore(deps): pin dependencies (#44358)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-02 20:48:15 +05:30
Luis H. Ball Jr f1d5a86edf
refactor(landing): migrate index to tsx (#43966)
* refactor(landing): migrate index to tsx

This commit refactors `client/src/components/landing/index.js` component into a `.tsx` component

Related issue: freeCodeCamp#43778

* fix: rename intex -> index

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2021-12-02 09:12:46 -06:00
Oliver Eyton-Williams 78757f20b5 fix: ignore unsafe argument 2021-12-02 19:57:47 +05:30
Oliver Eyton-Williams 95e3de6b2a chore: regenerate package-lock 2021-12-02 19:57:47 +05:30
Oliver Eyton-Williams 37932c48a7 refactor: drop redundant eslint-enables
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
2021-12-02 19:57:47 +05:30
Oliver Eyton-Williams f34bb986ed fix: remove unused arg from mapStateToProps 2021-12-02 19:57:47 +05:30
Oliver Eyton-Williams a79fa9aa6b chore: remove last vestiges of lerna 2021-12-02 19:57:47 +05:30
Oliver Eyton-Williams 46b5f02e80 fix: storybook workspace issues 2021-12-02 19:57:47 +05:30
Oliver Eyton-Williams 9a8959de26 fix: increase memory for gatsby processes 2021-12-02 19:57:47 +05:30
Oliver Eyton-Williams bb0e7317c8 fix: only use parts of gfm parser 2021-12-02 19:57:47 +05:30
Oliver Eyton-Williams 01b354f0d1 refactor: mollify TypeScript 2021-12-02 19:57:47 +05:30
Oliver Eyton-Williams 7d0760c98f chore: remove unused @types from ui-components 2021-12-02 19:57:47 +05:30
Oliver Eyton-Williams 6e4dddd9ee chore: update ui-components to use root types 2021-12-02 19:57:47 +05:30
Oliver Eyton-Williams 98195a7823 chore: stop building contributor tools
They should really be in a separate repo, but for now I'm preventing
them from being built.
2021-12-02 19:57:47 +05:30
Oliver Eyton-Williams 03309bea9e chore: remove old package-locks 2021-12-02 19:57:47 +05:30
Oliver Eyton-Williams 264f5091ab chore: install core-js@2 (required by babel) 2021-12-02 19:57:47 +05:30
Oliver Eyton-Williams a3e05ab45e chore: use workspaces, fix deps
react-monaco-editor needed rolling back due to an incompatibility with
react 16
monaco-editor then needed rolling back and the editor config, too.

Some @types needed to be added, some lint deps needed updating.
2021-12-02 19:57:47 +05:30
renovate[bot] 13b880c97b
chore(deps): update node.js to v14.18.2 (#44355)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-02 17:41:54 +05:30
Renovate Bot 6d82a8638d fix(deps): update dependency date-fns to v2.27.0 2021-12-02 11:10:11 +00:00
Renovate Bot 406263e5ff chore(deps): update storybook monorepo to v6.4.4 2021-12-02 08:24:54 +00:00
Renovate Bot bffbe0be0b chore(deps): update codesee to v0.149.0 2021-12-02 04:06:20 +00:00
Renovate Bot 9c1dc28cd7 chore(deps): pin dependency eslint-plugin-react-hooks to 4.3.0 2021-12-02 01:48:57 +00:00
Oliver Eyton-Williams efba2e777d
chore: simplify eslint configuration (#44347)
* chore: extend import/recommended

* chore: use recommended lint rules

* refactor: apply lint rules

* chore: drop used config
2021-12-02 00:01:12 +00:00
Renovate Bot 4a4aa1f2f9 chore(deps): update dependency jest to v27.4.3 2021-12-01 21:16:06 +00:00
Oliver Eyton-Williams 1b006820bd
fix(tests): wait longer for login to complete (#44349)
Hopefully this is long enough. If it isn't, we'll need to find out why
login takes so long.
2021-12-01 11:12:09 -08:00
Oliver Eyton-Williams b89c31c0d1
fix: use the previewMounted connected to redux (#44336) 2021-12-01 13:01:12 -06:00
Shaun Hamilton 23e241bbc0
chore(client): tidy Flash by tidying tone (#44320)
* chore(client): tidy Flash by tidying tone

* add store import

* fix enum, remove default switch case

Co-authored-by: Nicholas Carrigan <nhcarrigan@gmail.com>

* typo galore

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

* rejig everything, because refactoring is fun 🙃

* refactor: DRY playTone

* fix url to foss library

Co-authored-by: Nicholas Carrigan <nhcarrigan@gmail.com>

* alphabetasize FlashMessage enum

* add all FlashMessages to tone/index.ts

* remove redundant type

* my code is correctnpm run develop:client

* fix: remove circular dependency

* fix: typo

* remove logs, play special tones for nightmode

* play sound on challengeComplete

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

Co-authored-by: Nicholas Carrigan <nhcarrigan@gmail.com>
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2021-12-01 10:45:17 -08:00
Nicholas Carrigan (he/him) edf3185b2b
feat: editor page title rework (#44246)
* fix: remove "learn" from title

* feat: translate title element
2021-12-01 16:53:37 +01:00
Renovate Bot 312b7afaf4 chore(deps): update codesee to v0.148.0 2021-12-01 15:15:28 +00:00
camperbot 99f34ff283
chore(i18n,learn): update translations (#44345) 2021-12-01 14:34:19 +01:00