Commit Graph

27784 Commits

Author SHA1 Message Date
a184b10433 fix(curriculum): rework Project Euler 92 (#42233)
* fix: rework challenge to use argument in function

* fix: add solution

* fix: position examples evenly between paragraphs

* fix: use MathJax for math notation
2021-05-27 10:46:20 -07:00
2b1d0cdaf8 fix(curriculum): rework Project Euler 91 (#42224)
* fix: rework challenge to use argument in function

* fix: add solution

* fix: use MathJax to improve math notation
2021-05-27 10:27:16 -07:00
d70b17bca7 feat(curriculum): update handleclick method to use state function (#42225)
* Updated the handleClick method to use updater function in react tutorial english

* Update comments in the seed code of curriculum/challenges/english/03-front-end-libraries/react/render-conditionally-from-props.md

Changing comments in the seed code according to the list of [agreed-upon comments](https://github.com/freeCodeCamp/freeCodeCamp/blob/main/curriculum/dictionaries/english/comments.json)

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

Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
2021-05-27 18:42:55 +02:00
3c36bda9ab feat: change challenge desc to ts (#42270)
* feat: change challenge desc to ts

* Apply suggestions from code review

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

* fix: add return type on function

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2021-05-27 17:50:08 +02:00
bbfd599386 chore(i18n,learn): update translations (#42271) 2021-05-27 07:18:07 -07:00
2f901f9ffe fix(curriculum): rework Project Euler 87 (#42194)
* fix: rework challenge to use argument in function

* fix: add solution

* fix: position equations evenly between paragraphs
2021-05-27 13:14:40 +05:30
00b76c0389 fix: link import bug (#42266)
Fix a small bug in the CSS helper tool.
2021-05-27 08:46:23 +02:00
6e86d4fe08 chore(deps): update dependency mongodb to v3.6.9 2021-05-26 23:45:02 +00:00
074409e699 chore(deps): update dependency typescript to v4.3.2 2021-05-26 18:39:25 +00:00
a51a046d3e chore(deps): update dependency autoprefixer to v10.2.6 2021-05-26 17:53:08 +00:00
587f89b1d7 chore(i18n,curriculum): processed translations (#42258) 2021-05-26 20:00:54 +05:30
8ac8772da1 fix(curriculum): rework Project Euler 86 (#42189)
* fix: rework challenge to use argument in function

* fix: add solution
2021-05-26 14:22:42 +05:30
e0708688df chore(deps): update dependency copy-webpack-plugin to v9 (#42250)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-26 09:57:47 +02:00
1a6b4ca531 chore(i18n,learn): update translations (#42245) 2021-05-26 01:00:35 +05:30
bbf0d2727f chore(i18n,docs): update translations (#42244) 2021-05-26 00:59:56 +05:30
057eb0cf2a fix(curriculum): Typo correction in defaultSrc: ["'self'"] (#42220)
Missing a single quote resulting may be misleading for some of the students.
2021-05-25 23:18:08 +04:00
09b62480f2 fix(curriculum): remove duplicated test (#42247) 2021-05-25 23:15:11 +04:00
edf9989e59 fix: Typo in "Convert seconds to compound duration" (#42248)
* fix: Typo in "Convert seconds to compound duration"

* fix: spacing

Co-authored-by: PrashantSakre <prashantsakre@Prashants-mac-mini.local>
2021-05-25 23:13:18 +04:00
75bf6fc78c fix(deps): update gatsby monorepo 2021-05-25 18:51:19 +00:00
d5cc9ba259 feat(dev): add css helper function (#42148)
* feat(dev): add css helper function

* add media declaration methods

* use a selector to grab styles

* add CSSHelp class with annoying TS warnings (no-verify)

* replace indexing with getPropertyValue

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

* connect CSSHelp to helpers, clean up types

* fix: return extended object, not modify prototype

* fix: unnecessary assertion error

* add tests with fixtures

* add afterAll document clean-up

* 'fix' tests

* undo jest transform config

* remove erroneous comments and logs

* reafactor: use existing types and narrow types

* refactor test descriptions

* rename files to appease Mrugesh 😄

* remove probably unnecessary document clean

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

Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com>
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2021-05-25 07:34:55 -07:00
a32559b203 fix(deps): update dependency react-i18next to v11.9.0 2021-05-25 09:59:30 +00:00
7844b81288 chore(deps): update typescript-eslint monorepo to v4.25.0 2021-05-25 02:50:29 +00:00
948cc10be4 docs: translators -> contributors (#42239)
Replace the links to the now archived translators room with the
contributors room.
2021-05-24 18:07:05 -07:00
827cc4f53e chore(deps): update dependency cypress to v7.4.0 2021-05-24 23:18:50 +00:00
8b73920487 fix(curriculum): add items using splice verbiage
"The second entry of `12` is removed" is changed to "The second occurrence of `12` is removed". I believe the phrase "second entry" might create confusion as the readers might think of the second entry of the array rather than the second occurrence of the array element 12.
2021-05-24 13:33:25 -07:00
2648f75df6 fix: remove redundant babel plugin (#42234)
@babel/plugin-proposal-class-properties is now included in preset-env
2021-05-24 13:30:09 -07:00
821aee9687 feat: i18n for help text (#42235)
Add internationalisation capabilities for the pre-filled text in
the Ask for Help forum post.
2021-05-24 19:59:35 +02:00
7faa168761 fix(curriculum): rework Project Euler 85 (#42181)
* fix: rework challenge to use argument in function

* fix: add solution

* fix: grammar
2021-05-24 23:13:58 +05:30
399281f225 fix(curriculum): rework Project Euler 84 (#42161) 2021-05-24 23:13:34 +05:30
4496168187 chore(deps): update dependency start-server-and-test to v1.12.3 2021-05-24 15:47:07 +00:00
bb841869eb chore(i18n,docs): update translations (#42207) 2021-05-24 18:22:08 +05:30
9c6701bf10 fix: eslint config (#42228)
The typescript parser does not work properly on pure JS and is only
needed for TS files, so this commit restricts @typescript-eslint/parser
to .ts and .tsx files
2021-05-24 17:45:39 +07:00
4a0d43facb chore(i18n,client): processed translations (#42223) 2021-05-24 16:00:42 +05:30
bd69e00480 chore(i18n,curriculum): update translations (#42191) 2021-05-24 09:42:08 +02:00
66c5523909 feat: render footer correctly (#42096)
Co-authored-by: Ahmad Abdolsaheb <ahmad.abdolsaheb@gmail.com>
2021-05-24 00:30:07 +02:00
4714e033c8 chore(deps): update dependency jsdom to v16.6.0 2021-05-23 22:25:24 +00:00
914ff44f74 fix(client): add validation to profile image URL (#41927)
* fix: fix broken image url after validation

* feat: add tests for a broken image url submission

* fix: reduce event related calls

* Update cypress/integration/settings/image-picture-check.js

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

* Update cypress/integration/settings/image-picture-check.js

Co-authored-by: Ahmad Abdolsaheb <ahmad.abdolsaheb@gmail.com>
Co-authored-by: Sem Bauke <46919888+Sembauke@users.noreply.github.com>
2021-05-23 16:08:12 +02:00
3b2be48dea Update Chinese footer (#42193)
* Update trending.json

* Update three long titles
2021-05-22 07:26:26 -07:00
b1eeb0fb11 docs: update PR template (#42210)
* docs: update PR template

* Update .github/PULL_REQUEST_TEMPLATE.md

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

Co-authored-by: Sem Bauke <46919888+Sembauke@users.noreply.github.com>
2021-05-22 07:23:56 -07:00
6913e364d1 fix(deps): update dependency i18next to v20.3.0 2021-05-22 11:24:58 +00:00
fcc29419c6 feat(tools): add color palette to tailwind config file (#42198)
Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com>
Co-authored-by: Huyen Nguyen <25715018+huyenltnguyen@users.noreply.github.com>
2021-05-22 15:33:43 +05:30
1018f91535 fix(curriculum): check for correct method in test (#42214)
I don't know how the code runs from here, but I'm assuming it should be the correct method now
2021-05-22 10:58:35 +02:00
df0860dd96 chore(deps): update dependency eslint to v7.27.0 2021-05-22 03:01:14 +00:00
6db31fd9aa chore(deps): update dependency eslint-plugin-import to v2.23.3 2021-05-21 21:46:14 +00:00
7ab513fbae chore(deps): update dependency mongodb to v3.6.8 2021-05-21 19:03:47 +00:00
c92150e9bb fix(deps): update dependency @actions/core to v1.3.0 2021-05-21 15:24:26 +00:00
4d024f3e4b fix(curriculum): css and html test issues (#42045)
* fix: css and html issues

* fix: issues with css test

* fix: allow spaces in solution css

* fix: css tests for use-rgb-to-mix-colors
2021-05-21 12:18:42 +01:00
efffe56dfd chore(deps): update dependency postcss to v8.3.0 2021-05-21 09:36:33 +00:00
d636bb8912 fix(client): update CSS variable values (#42197)
Update rgba instead of rgb to translucent colors and add hex value for --purple-mid
2021-05-21 12:55:33 +05:30
9088a07dad chore(i18n,learn): update translations (#42190) 2021-05-21 09:25:16 +02:00