Commit Graph

2807 Commits

Author SHA1 Message Date
Parth Parth
f3d106dbff feat(client): ts-migrate client/src/assets/images/components (#42462)
* change to tsx

* update imports, complete migration

* kebab-caseify

* make file and component name consistent

* fix function return types and prop types

* update AsSeenIn to keep clear component names

* cypress please start working

Co-authored-by: Parth Parth <thecodingaviator@users.noreply.github.com>
2021-06-30 20:50:56 +05:30
Parth Parth
a442d611c4 feat(client): ts-migrate /client/src/analytics (#42457)
* migrate to ts

* fix empty function for linting

* add function return type

Co-authored-by: Parth Parth <thecodingaviator@users.noreply.github.com>
2021-06-30 20:50:56 +05:30
Maygan Lightstone
aec4ba2035 feat(client): Migrate OfflineWarning to TS (#42575)
* Rename OfflineWarning to tsx.

* Convert offline-warning to Typescript.

* Avoid using NodeJS.Timeout as type.
2021-06-30 20:50:56 +05:30
Parth Parth
0a3a5e7a53 feat(client): migrate icons to TS (#42453)
* migrate files and update tests

fix: use more memory for gatsby develop (#42433)

feat(client): remove whitespace from calculated values (#42400)

* feat(client?): remove whitespace for calculated values

* feat(client): remove whitespace from styledeclaration

* do not automatically strip

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

* fix: include all properties of CSSStyleDeclaration

* fix test for getPropVal

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

fix: get showUpcomingChange from env.json (#42440)

fix(client): display legacy certs like current ones (#42038)

* fix: display legacy certs like the current ones

* fix: link projects in legacy certs to project pages

* fix: update tests to changed legacy cert display

* fix: update tests for removed legacy certs forms

* fix: display legacy certs like the current ones

* fix: submit projects for cert on projects pages

* fix: remove legacy certs form submitting handling

* fix: move claiming cert setup before both tests

* fix: remove legacy cert update props and actions

* fix: remove legacy cert updates from api

* fix: correct merge conflict

fix(curriculum): rework Project Euler 98 (#42423)

* fix: rework challenge to use argument in function

* fix: add solution

* fix: use MathJax to improve math notation

fix(curriculum): rework Project Euler 56 (#42364)

* fix: rework challenge to use argument in function

* fix: add solution

* fix: use MathJax to improve look of math notation

fix(curriculum): correct small english typo (#42447)

chore: group together monaco-editor and plugin (#42443)

This should get renovate to create PRs where both are modified.

fix(deps): update dependency algoliasearch to v4.9.2 (#42432)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

migrate files and update tests

Algorithm moved to TSX

first ten files renamed to tsx

first 10 migration complete

first 20 files renamed

migrate some files. rename all

test

index.tsx forced to ignore ts issues

rename and migrate all files

update tests

* remove missed propType declarations

* kebab-caseify

* fi xlinting

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
Co-authored-by: Parth Parth <thecodingaviator@users.noreply.github.com>
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
2021-06-30 20:50:56 +05:30
Parth Parth
863f0dea2b feat(client): ts-migrate /client/src/utils/fixtures/curriculum-helpers-* (#42469)
Co-authored-by: Parth Parth <thecodingaviator@users.noreply.github.com>
2021-06-30 20:50:56 +05:30
Parth Parth
383320095f feat(client): ts-migrate /client/src/html.js (#42468)
* rename

* migrate

Co-authored-by: Parth Parth <thecodingaviator@users.noreply.github.com>
2021-06-30 20:50:56 +05:30
Marlon Johnson
4b44bb37d9 feat(client): ts-migrate client/src/components/helpers/** (#42593)
* refactor(client): convert toggle-button to TypeScript

* chore: rename Space to tsx

* refactor(client): convert space to TypeScript

* chore: rename SlimWidthRow to tsx

* refactor(client): slim-width-row to TypeScript

* chore: rename SkeletonSprite to ts

* fix: fixed typos and resolved paths

* chore: resolve path inconsistencies

* refactor(client): skelton-sprite to TypeScript

* chore: rename loader.test to tsx

* chore: add types for react-spinkit

* refactor(client): loader to TypeScript

* refactor(client): link to TypeScript

* refactor(client): image-loader to TypeScript

* refactor(client): full-width-row to TypeScript

* refactor(client): current-challenge-link to TypeScript

* refactor(client): button to TypeScript

* refactor(client): border-color-picker to TypeScript

* refactor(client): avatar-renderer to TypeScript

* chore: changed loadertest(snap) to ts

* chore: optional types added and cleaned files

* fix: args are now optional

* push small updates for Spacer component merge

* update snapshot

* remove type defs from deps

* Revert "remove type defs from deps"

This reverts commit 9f58bf3554.

* correctly remove client type deps

* final push to remove from deps

Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
2021-06-30 20:50:56 +05:30
Shaun Hamilton
660c3b3440 chore(client): add package types for migration (#42623) 2021-06-30 20:50:56 +05:30
renovate[bot]
3bb307b911 chore(deps): update dependency @testing-library/react to v12 (#42680)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-30 15:56:35 +05:30
Renovate Bot
1044c11b1f chore(deps): update codesee to v0.43.1 2021-06-30 00:56:58 +00:00
Renovate Bot
7793da7872 chore(deps): update dependency webpack to v5.41.1 2021-06-29 16:56:12 +00:00
Renovate Bot
4c28a9be5e fix(deps): update dependency gatsby to v3.8.1 2021-06-29 09:25:59 +00:00
Renovate Bot
2e5120f54c chore(deps): update dependency webpack to v5.41.0 2021-06-28 18:39:48 +00:00
Mrugesh Mohapatra
adc09ec180 chore: apply npm audit fix to all packages 2021-06-28 19:00:55 +05:30
Renovate Bot
455b862e36 fix(deps): update dependency react-instantsearch-dom to v6.11.2 2021-06-28 11:56:09 +00:00
renovate[bot]
09e51ba4da chore(deps): update dependency prismjs to v1.24.0 (#42652)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-28 15:50:38 +05:30
renovate[bot]
16f2e2a45d chore(deps): update dependency copy-webpack-plugin to v9.0.1 (#42632)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-28 14:02:16 +05:30
Oliver Eyton-Williams
1db9a123ae fix(client): handle challenge creation (#42272)
This lets us create new challenges/steps without having to restart the
client
2021-06-28 13:38:11 +05:30
renovate[bot]
6ecb507779 fix(deps): update dependency algoliasearch to v4.10.2 (#42609)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-26 21:39:47 +05:30
renovate[bot]
e18803fb9b chore(deps): update codesee to v0.42.0 (#42639)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-26 07:02:46 +02:00
camperbot
c6fa53e32d chore(i18n,learn): update translations (#42628) 2021-06-26 00:49:58 +05:30
camperbot
a8edb4c369 chore(i18n,client): processed translations (#42619) 2021-06-24 07:37:03 -07:00
renovate[bot]
371d5a1066 fix(deps): update gatsby monorepo (#42603)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-24 19:51:38 +05:30
Ahmad Abdolsaheb
b3f2c64de8 fix(client): remove algolia and hot keys modules from landing pages (#42394)
* fix(client): remove algolia and hot keys from landing pages

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2021-06-24 12:50:36 +03:00
renovate[bot]
0a0e81efc6 chore(deps): update dependency gatsby-plugin-webpack-bundle-analyser-v2 to v1.1.24 (#42611)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-23 21:29:38 +02:00
Sem Bauke
3b4afe0e59 fix: unneeded scrollbar multi file editor (#42411)
* fix: multi editor unneeded scrollbar
2021-06-23 19:15:36 +02:00
camperbot
777a2524a4 chore(i18n,learn): update translations (#42607) 2021-06-23 09:51:28 -05:00
renovate[bot]
7d1301e155 chore(deps): update codesee to v0.41.0 (#42602)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-23 07:44:10 +02:00
renovate[bot]
ae3e1a1d18 chore(deps): update babel monorepo to v7.14.7 (#42594)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-22 13:22:40 +05:30
renovate[bot]
06f1c3805c fix(deps): update dependency query-string to v7.0.1 (#42592)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-22 12:52:35 +05:30
renovate[bot]
1bbc1d518d chore(deps): update dependency webpack to v5.40.0 (#42589)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-22 10:40:13 +05:30
renovate[bot]
e9e508d11d chore(deps): update codesee to v0.39.0 (#42565)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-21 11:03:41 +02:00
Huyen Nguyen
2c16234853 chore: add jest global variables (#42573) 2021-06-20 09:14:42 +02:00
Prashant
42e8b2247e fix(client): Adjust mobile view for email-signup page (#42567)
Co-authored-by: PrashantSakre <prashantsakre@Prashants-mac-mini.local>
2021-06-19 16:27:00 +02:00
camperbot
94c5afbf70 chore(i18n,client): processed translations (#42558) 2021-06-18 15:51:01 +02:00
renovate[bot]
08daf11bef fix(deps): update dependency i18next to v20.3.2 (#42551)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-18 18:51:36 +05:30
renovate[bot]
3499c2b08e chore(deps): update dependency typescript to v4.3.4 (#42550)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-18 17:34:46 +05:30
renovate[bot]
ba3fd9a49b fix(deps): update dependency monaco-editor to v0.25.2 (#42552)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-18 12:28:21 +04:00
Victor Duarte
310bbdf54b fix(client): store challenge panes sizes (#42519)
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2021-06-17 23:50:39 +05:30
camperbot
3a8c1444eb chore(i18n,client): processed translations (#42544) 2021-06-17 07:49:44 -07:00
renovate[bot]
aa21539967 chore(deps): update dependency webpack to v5.39.1 (#42543)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-17 17:41:47 +05:30
renovate[bot]
964b4204d3 chore(deps): update dependency typescript to v4.3.3 (#42542)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-17 15:44:07 +05:30
renovate[bot]
c9eaa6527f chore(deps): update dependency postcss to v8.3.5 (#42474)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-17 14:55:59 +05:30
renovate[bot]
7970cf82ee chore(deps): update codesee to v0.38.0 (#42540)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-16 20:24:10 +02:00
Oliver Eyton-Williams
2ebc3b62ab feat(client): remove axios, include credentials (#42531)
* Revert "revert: replace axios with fetch"

This reverts commit 418287f1e8.

* fix: always include credentials

Since www.freecodecamp.org and api.freecodecamp.org are different
origins we have to tell fetch to 'include' the credentials.
2021-06-16 21:23:49 +05:30
renovate[bot]
a1af753e2a fix(deps): update dependency gatsby to v3.7.2 (#42520)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-16 21:23:02 +05:30
camperbot
b17476a760 chore(i18n,learn): update translations (#42529) 2021-06-16 19:02:55 +05:30
Mrugesh Mohapatra
418287f1e8 revert: replace axios with fetch
This reverts commit 82f3f6ae0c via PR #41944.
2021-06-16 17:24:57 +05:30
Mrugesh Mohapatra
e402464304 revert(ajax): use 'same-origin' credentials
This reverts commit 80b12ee25c via PR #42525.
2021-06-16 17:24:57 +05:30
Oliver Eyton-Williams
80b12ee25c fix(ajax): use 'same-origin' credentials (#42525) 2021-06-16 09:47:47 +00:00