Commit Graph

27732 Commits (d70b17bca7a40f1869866fac4c31b083b1542523)

Author SHA1 Message Date
suburban-daredevil 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
Sem Bauke 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
camperbot bbfd599386
chore(i18n,learn): update translations (#42271) 2021-05-27 07:18:07 -07:00
gikf 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
Nicholas Carrigan (he/him) 00b76c0389
fix: link import bug (#42266)
Fix a small bug in the CSS helper tool.
2021-05-27 08:46:23 +02:00
Renovate Bot 6e86d4fe08 chore(deps): update dependency mongodb to v3.6.9 2021-05-26 23:45:02 +00:00
Renovate Bot 074409e699 chore(deps): update dependency typescript to v4.3.2 2021-05-26 18:39:25 +00:00
Renovate Bot a51a046d3e chore(deps): update dependency autoprefixer to v10.2.6 2021-05-26 17:53:08 +00:00
camperbot 587f89b1d7
chore(i18n,curriculum): processed translations (#42258) 2021-05-26 20:00:54 +05:30
gikf 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
renovate[bot] 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
camperbot 1a6b4ca531
chore(i18n,learn): update translations (#42245) 2021-05-26 01:00:35 +05:30
camperbot bbf0d2727f
chore(i18n,docs): update translations (#42244) 2021-05-26 00:59:56 +05:30
KowalewskiPawel 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
Luca 09b62480f2
fix(curriculum): remove duplicated test (#42247) 2021-05-25 23:15:11 +04:00
Prashant 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
Renovate Bot 75bf6fc78c fix(deps): update gatsby monorepo 2021-05-25 18:51:19 +00:00
Shaun Hamilton 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
Renovate Bot a32559b203 fix(deps): update dependency react-i18next to v11.9.0 2021-05-25 09:59:30 +00:00
Renovate Bot 7844b81288 chore(deps): update typescript-eslint monorepo to v4.25.0 2021-05-25 02:50:29 +00:00
Nicholas Carrigan (he/him) 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
Renovate Bot 827cc4f53e chore(deps): update dependency cypress to v7.4.0 2021-05-24 23:18:50 +00:00
etlioglu 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
Oliver Eyton-Williams 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
Nicholas Carrigan (he/him) 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
gikf 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
gikf 399281f225
fix(curriculum): rework Project Euler 84 (#42161) 2021-05-24 23:13:34 +05:30
Renovate Bot 4496168187 chore(deps): update dependency start-server-and-test to v1.12.3 2021-05-24 15:47:07 +00:00
camperbot bb841869eb
chore(i18n,docs): update translations (#42207) 2021-05-24 18:22:08 +05:30
Oliver Eyton-Williams 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
camperbot 4a0d43facb
chore(i18n,client): processed translations (#42223) 2021-05-24 16:00:42 +05:30
camperbot bd69e00480
chore(i18n,curriculum): update translations (#42191) 2021-05-24 09:42:08 +02:00
saeed 66c5523909
feat: render footer correctly (#42096)
Co-authored-by: Ahmad Abdolsaheb <ahmad.abdolsaheb@gmail.com>
2021-05-24 00:30:07 +02:00
Renovate Bot 4714e033c8 chore(deps): update dependency jsdom to v16.6.0 2021-05-23 22:25:24 +00:00
Ismail Tlemcani 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
miyaliu666 3b2be48dea
Update Chinese footer (#42193)
* Update trending.json

* Update three long titles
2021-05-22 07:26:26 -07:00
Mrugesh Mohapatra 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
Renovate Bot 6913e364d1 fix(deps): update dependency i18next to v20.3.0 2021-05-22 11:24:58 +00:00
ChrisPrzR 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
Halu89 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
Renovate Bot df0860dd96 chore(deps): update dependency eslint to v7.27.0 2021-05-22 03:01:14 +00:00
Renovate Bot 6db31fd9aa chore(deps): update dependency eslint-plugin-import to v2.23.3 2021-05-21 21:46:14 +00:00
Renovate Bot 7ab513fbae chore(deps): update dependency mongodb to v3.6.8 2021-05-21 19:03:47 +00:00
Renovate Bot c92150e9bb fix(deps): update dependency @actions/core to v1.3.0 2021-05-21 15:24:26 +00:00
Seth Falco 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
Renovate Bot efffe56dfd chore(deps): update dependency postcss to v8.3.0 2021-05-21 09:36:33 +00:00
ChrisPrzR 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
camperbot 9088a07dad
chore(i18n,learn): update translations (#42190) 2021-05-21 09:25:16 +02:00
Huyen Nguyen 79b90ca46e
docs: add links to the moderator handbook (#42199) 2021-05-21 06:08:55 +02:00
Renovate Bot b9fa68b00f fix(deps): update dependency sanitize-html to v2.4.0 2021-05-20 17:46:16 +00:00