Commit Graph

32446 Commits

Author SHA1 Message Date
Tom
8f63733236 refactor(api): user token db query (#49406) 2023-02-23 17:50:04 +05:30
Muhammed Mustafa
a64e732458 fix(client): default challengeFiles to array (#49474)
* refactor(client): check challengesfile length in the epic

* change the initial state of challenge files to array
2023-02-23 10:18:04 +00:00
Muhammed Mustafa
06fe9b6d16 refactor(client): stop the homepage image from changing the layout (#49476)
refactor(client): stop the homepage from changing the the layout
2023-02-23 14:53:53 +05:30
Anmol Sarraf
2e0ccd9110 fix: update absolutePath variable value (#49461)
fix: absolutePath variable value

Co-authored-by: Anmol Sarraf <anmolsarraf@Anmols-MacBook-Pro.local>
2023-02-23 09:10:17 +01:00
Muhammed Mustafa
0971b6a8a3 refactor(client): remove react lazy loader library (#49468)
* feat(client): remove react lazy loader library

* fix: use loading='lazy' to defer loading
2023-02-22 18:05:08 +01:00
camperbot
1d8de86cf3 chore(i18n,learn): processed translations (#49471) 2023-02-22 17:15:22 +01:00
camperbot
07ddf58776 chore(i18n,docs): processed translations (#49470) 2023-02-22 09:58:27 -06:00
Muhammed Mustafa
f56816d3e1 refactor(client): fix types in the nav-links file (#49291)
* refactor(client): clean some mistype errors in the nav-links file

* fix showLanguage prop type in the other files

* add-ts-ignore-comment

* swap to map for easier maintainablity

* Change the eslint naming comment

* fix: using the wrong handlekeydown function

Co-authored-by: Bruce B <bbsmooth@gmail.com>

* hide the menu when focus is on the userimage

* hide the menu only if camper didn't press shift key

---------

Co-authored-by: Bruce B <bbsmooth@gmail.com>
2023-02-22 05:36:05 +02:00
camperbot
e302144c96 chore(i18n,learn): processed translations (#49457) 2023-02-21 07:48:48 -08:00
Oliver Eyton-Williams
424711fcad fix(client): provide return types for get-completion-percentage (#49458)
fix: provide return types

I also moved the undefined check closer to the source, so it's clearer
what is missing
2023-02-21 07:40:01 -08:00
Jeff
9f1562291c fix: remove unused className spacer from spacer helper (#49067)
* fix: remove unused className spacer from spacer helper

---------

Co-authored-by: jeff <jeff@vpmbp4.local>
2023-02-21 19:20:29 +05:30
camperbot
a84f209eca chore(i18n,docs): processed translations (#49455) 2023-02-21 13:53:00 +01:00
camperbot
906ddf5d75 chore(i18n,client): processed translations (#49456) 2023-02-21 13:52:31 +01:00
Sem Bauke
8c8cf9afab fix: optional video ids the odin project (#49380)
* fix: optional video ids the odin project

* Update client/src/templates/Challenges/odin/Show.tsx

Co-authored-by: Niraj Nandish <nirajnandish@icloud.com>

---------

Co-authored-by: Niraj Nandish <nirajnandish@icloud.com>
2023-02-21 10:13:31 +00:00
Santiago Pereyra Vázquez
f25c89fa68 fix(curriculum): fix Fibonacci sequence text (#49452)
Fixed sum-all-odd-fibonacci-numbers.md text
2023-02-21 08:47:23 +01:00
Muhammed Mustafa
181e108418 fix(client): submit button size for external projects (#49448) 2023-02-21 07:40:56 +01:00
a2937
4a836aa578 chore: convert heading-challenge.js to typescript (#49450) 2023-02-21 09:49:43 +05:30
a2937
91ee155101 Chore: Convert show-certification.js to Typescript. (#49451) 2023-02-21 09:49:08 +05:30
Shaun Hamilton
e8b010d7e2 fix(client): selector return, invalid prop val (#49447)
* fix(client): correctly return type from selector

* fix(client): remove incorrect prop [button-spacer]
2023-02-20 21:34:34 +02:00
camperbot
69c40b31c4 chore(i18n,learn): processed translations (#49442) 2023-02-20 20:31:01 +01:00
camperbot
f05bf7af9d chore(i18n,docs): processed translations (#49441) 2023-02-20 08:26:52 -08:00
Muhammed Mustafa
e5bf2ae97e feat(client): make skip to content button translatable (#49439) 2023-02-20 21:22:39 +05:30
Mrugesh Mohapatra
c252a84c4d fix(sentry): disable sentry temporarily (#49443) 2023-02-20 17:17:28 +02:00
Muhammed Mustafa
5a8ab2b0b7 fix(curriculum): remove target attribute seed code [cat-photo-app step-13] (#49436)
feat(curriculum): remove target attribute seed code from step 13 in CatPhotoApp
2023-02-20 13:43:10 +00:00
Mrugesh Mohapatra
9377e085c1 docs: update reload instructions (#49379)
* docs: update reload instructions

* Update docs/devops.md

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

* Update docs/devops.md

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

* fix: remove errant spaces

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

---------

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
Co-authored-by: Naomi Carrigan <nhcarrigan@gmail.com>
2023-02-19 19:04:05 +05:30
Muhammed Mustafa
85e9fbb8df refactor(client): clean extra component and extra unneeded imports (#49391)
* feat: remove extra unnecessary code

* clean the unique way that component was handled

* make bsSize optional

* update snapshot to account for the other button styles

* add comment for our future selves

* clean the changes file
2023-02-19 17:16:53 +05:30
Ahmad Abdolsaheb
13aad8ca37 feat(client): move the block donation modal logic to an epic. (#49381)
feat(client): move percent calculation logic to epic
2023-02-19 09:04:04 +02:00
renovate[bot]
3fc306bc2b chore(deps): update typescript-eslint monorepo to v5.52.0 (#49434)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-18 15:33:10 -08:00
renovate[bot]
b58009b775 fix(deps): update dependency sanitize-html to v2.10.0 (#49435)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-18 14:17:57 -08:00
S-Guettner
c505d2a1c8 fix(curriculum):removed "non-virtual" phrase (#49433)
fix(curriculum):replaced non-virtual DOM elements phrase with DOM elements
2023-02-18 21:24:04 +00:00
Muhammed Mustafa
e8f0145a08 feat(client) make pre in instruction ltr when the layout is rtl (#49431)
* feat(client) make pre in instruction ltr when the layout is rtl

* revert the changes in the markdown file
2023-02-18 22:00:44 +01:00
a2937
78e984d98a Chore migrate es6-to-basic-javascript.js (#49352)
Start converting es6 javascript.
2023-02-18 21:58:59 +01:00
Muhammed Mustafa
45dc6aee9e feat(client): make portfolio section in profile support RTL layout (#49148)
* feat(client): make portfolio section in profile support RTL layout

* Revert "feat(client): make portfolio section in profile support RTL layout"

This reverts commit b4cf5f1ab4.

* make media component responsive

* fix the selector

* hook the media left through an id

* hook the media left through an id
2023-02-18 21:58:01 +01:00
Muhammed Mustafa
3cd60a692d feat(tools): revert the quick solution in cypress tests (#49427) 2023-02-18 21:56:57 +01:00
Muhammed Mustafa
251aecc58f feat(client): change the save buttons from disabled to aria-disabled (#49216)
* feat(client): change the buttons from disabled to aria-disabled

Co-authored-by: Bruce Blaser <bbsmooth@gmail.com>

* stop the API call when the validation isn't true

* use aria disabled instead of disabled on the test?

* use have.attr  to check for aria disabled

* hide the button when it's disabled

Co-authored-by: Bruce B <bbsmooth@gmail.com>

* update Privacy Settings save button

---------

Co-authored-by: Bruce Blaser <bbsmooth@gmail.com>
2023-02-18 12:16:35 -08:00
Mohit Bansal
0f2c524e03 fix(curriculum): update user function to user object (#49419)
* update user function to user object

* Update curriculum/challenges/english/06-quality-assurance/advanced-node-and-express/serialization-of-a-user-object.md

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

* Update curriculum/challenges/english/06-quality-assurance/advanced-node-and-express/serialization-of-a-user-object.md

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

---------

Co-authored-by: Naomi Carrigan <nhcarrigan@gmail.com>
2023-02-18 12:14:02 -08:00
renovate[bot]
f6888eb3ad chore(deps): update dependency webpack-bundle-analyzer to v4.8.0 (#49432)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-18 12:12:32 -08:00
renovate[bot]
2d0d3e120e chore(deps): update dependency @types/node to v18.14.0 (#49430)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-18 12:11:44 -08:00
renovate[bot]
c00d001df0 chore(deps): update automerged always - codesee to v0.513.0 (#49429)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-18 12:11:26 -08:00
renovate[bot]
140694a447 chore(deps): update dependency tailwindcss to v3.2.7 (#49428)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-18 12:05:39 -08:00
renovate[bot]
577c18eeaf chore(deps): update dependency start-server-and-test to v1.15.4 (#49423)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-18 12:04:54 -08:00
renovate[bot]
23e6ae6f92 chore(deps): update dependency @types/react-dom to v17.0.19 (#49422)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-18 12:04:33 -08:00
renovate[bot]
d4ef090fd6 chore(deps): update dependency @types/inquirer to v8.2.6 (#49421)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-18 11:56:15 -08:00
Rudi Colombi
b4cb4bf947 fix(curriculum): replace blockquotes with pre blocks (#49384)
* fix: replace blockquotes with code blocks

* fix: replace code blocks with pre elements as suggested

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

---------

Co-authored-by: Krzysztof G. <60067306+gikf@users.noreply.github.com>
2023-02-18 10:39:54 -08:00
Muhammed Mustafa
c027bce6de fix(client): pre code having extra spaces when code elements are stacked (#49343)
Co-authored-by: hbar1st <hanaab@gmail.com>
2023-02-18 10:18:54 -08:00
Kolade Chris
59da395e20 fix(learn): Improved the verbiage of the colored marker project (#49009)
fix: Improved the verbiage of the colored marker(implemented more requested changes)
2023-02-18 08:34:33 -08:00
Muhammed Mustafa
d1166f0a3a refactor(tools): import close button props and stop reassigning its value (#49235)
refactor(tools): import close button  props and stop reassigning its value
2023-02-18 08:18:40 -08:00
renovate[bot]
d941153be8 chore(deps): update actions/github-script digest to 98814c5 (#49420)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-18 08:17:11 -08:00
Masaki Mori
6acbade16f fix(docs): the description of npm run seed in the how-to-setup-freecodecamp-locally page (#49424)
fix: npm run seed description in the docs
2023-02-18 14:20:14 +00:00
javrrr
e69d78e51d fix(curriculum): add test cases to ensure single whitespace (#49417)
* fix: update solutions regex to reflect test cases

---------

Co-authored-by: javrrr <javrrr@gmail>
2023-02-18 16:14:07 +02:00