Commit Graph

29303 Commits (6af8ee6528725307bc7ac051a2e6a8b37c4638c1)

Author SHA1 Message Date
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
Renovate Bot 76bbbc32e8 chore(deps): update storybook monorepo to v6.4.3 2021-12-01 12:12:50 +00:00
Timur b34bbe48d7
fix(curriculum): Made `Timestamp Microservice` project tests sort of "timezone aware" (#43939) 2021-12-01 11:17:18 +01:00
Renovate Bot 5b560ed821 chore(deps): pin dependencies 2021-12-01 08:39:35 +00:00
Lucas acc4e25cba
chore(client): ts migrate frame runner (#43798)
* Preserve history commit

* feat: Typescript migration frame-runner

* fix: types for expected/actual

Co-authored-by: moT01 <20648924+moT01@users.noreply.github.com>
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2021-12-01 10:31:39 +05:30
Nicholas Carrigan (he/him) 40573b5f14
chore: enable portuguese certs (#44338) 2021-12-01 10:29:34 +05:30
Shashank Rai bc9ade6a7d
bd (#44298) 2021-11-30 22:16:03 -06:00
Renovate Bot af83555776 fix(deps): update dependency reselect to v4.1.5 2021-12-01 03:56:29 +00:00
Renovate Bot 29b795c0b6 chore(deps): update dependency rollup to v2.60.2 2021-12-01 01:18:05 +00:00
Renovate Bot 659cc1276b chore(deps): update dependency jest to v27.4.2 2021-11-30 23:36:41 +00:00
Tom 69bb48b7e1
fix: failing CI issues (#44339) 2021-11-30 15:18:54 -06:00
Tom e29dbe7e94
fix: block name in block intro pages (#44228) 2021-11-30 22:00:58 +01:00
Ismail Tlemcani 845659105f
feat(client): ts-migration for Introduction templates (#43752)
* chore: rename the file CertificationCard.js to tsx

* refactor: refactor the file CertificationCard to tsx

refactor: refactor the file CertificationCard to tsx

refactor: refactor the file CertificationCard to tsx

* chore: rename the file ClaimCertSteps.js to tsx

* refactor: refactor the file ClaimCertSteps to TS

* chore: rename the file SuperBlockIntro.js to tsx

* refactor: refactor the file SuperBlockIntro to TS

* chore: rename the file Block.js to tsx

* refactor: refactor the file Block to TS

refactor: refactor the file Block to TS

refactor: refactor the file Block to TS

* chore: rename the file CertChallenge.js to tsx

* refactor: refactor the file CertChallenge to TS

* fix typing

* ignore missing redux store connection

Co-authored-by: ismail <i.tlemcani@quinten-maroc.com>
Co-authored-by: Ismail Tlemcani <ismail.tlemcani@gmail.com>
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
2021-11-30 12:36:33 -06:00
Ahmad Abdolsaheb 513f27e408
feat: add seasonal learn alert (#44335)
* feat:  add seasonal learn alert

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

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

* Update client/src/pages/learn.tsx

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

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2021-11-30 09:35:35 -08:00
Vinay 5b61c8a56f
refactor(client): ts-migration of i18n/validate-keys.js (#44292)
* refactor - file extenstion change to .ts

* fix - imports syntax

* fix - migration complete

* fix - lint:prettier warn

* refactor - validate-keys in tools/scripts/lint/

* refactor - validate-keys.ts moved to tools/scripts/lint and added in tsconfig.json

* refactor - tsconfig.json file for tools

* fix - lint:ts script update and validate-keys.js added to .eslintignore

* fix - lint:prettier and ts compilation

* fix - ts compilation

* refactor - changes in .gitignore and validate-keys script
2021-11-30 08:37:00 -08:00
Ahmad Abdolsaheb bcb0465a50
fix: donation clean up (#44257)
* fix: donation clean up

* rename file

* rename2
2021-11-30 07:30:21 -08:00