Commit Graph

35748 Commits

Author SHA1 Message Date
Dario-DC
4a5c5c3cac chore(curriculum): fixed inaccuracies and added code tags in fcc author page new JS project (#50247)
fixed typos and added code tags
2023-05-02 10:26:55 -07:00
Dario-DC
5667f0eebf chore(curriculum): removed unnecessary code tags in football team cards project to help localization (#50245)
removed unnecessary code tags to help localization
2023-05-02 10:26:03 -07:00
Oliver Eyton-Williams
5e17868c74 fix(api): allow fastify to set content-type dynamically (#50248)
fix: allow fastify to set content-type dynamically

We can set content-type: application/json for specific routes, but
doing so ends up with confusing, over-engineered code.

Instead we should take care when auditing the endpoints.
2023-05-02 10:15:31 -07:00
Oliver Eyton-Williams
7572f99f74 refactor(api): remove unused endpoints (#50252)
Also adds "dev" as an alias because I keep trying to use it.
2023-05-02 19:54:05 +03:00
Tom
25f7697382 fix(client): window title in rdb challenges (#50250)
fix: undasherize rdb window titles
2023-05-02 08:55:14 -07:00
camperbot
db553a8880 chore(i18n,learn): processed translations (#50251) 2023-05-03 00:13:36 +09:00
Vansh Baghel
f5070cc68f feat(client): add react suspense and lazy loading (#50117)
* Suspense and lazy loading used

* Wrapped profile with suspense
2023-05-01 20:25:21 +03:00
camperbot
8885f03925 chore(i18n,docs): processed translations (#50238) 2023-05-01 20:09:56 +03:00
camperbot
47b6a20dd4 chore(i18n,learn): processed translations (#50240) 2023-05-01 20:09:25 +03:00
camperbot
4e9d3f807f chore(i18n,client): processed translations (#50239) 2023-05-01 09:38:44 -07:00
Muhammed Mustafa
d4bb1e7ef2 feat(client): revert the change to language icon (#50235) 2023-05-01 12:35:17 +02:00
Oliver Eyton-Williams
bb0ebc39b4 fix(client): ensure correct types for project links (#50206) 2023-05-01 10:47:33 +03:00
Sergen Karaoglan
d226842eed fix: improve full stack certificate table (#50229)
* fix: improve full stack certificate table

fix: include table header for certifications

* make header sr-only

* fix: translatable header for certification

Co-authored-by: Muhammed Mustafa <MuhammedElruby@gmail.com>

---------

Co-authored-by: Muhammed Mustafa <MuhammedElruby@gmail.com>
2023-04-30 23:08:22 +02:00
renovate[bot]
f5b86a197b fix(deps): update dependency react-router-dom to v6.11.0 2023-04-30 11:49:30 +00:00
renovate[bot]
cd77c88546 fix(deps): update dependency date-fns to v2.30.0 2023-04-30 09:02:43 +00:00
renovate[bot]
82c5d5ee3c chore(deps): update automerged always - codesee to v0.575.0 2023-04-30 07:35:16 +00:00
renovate[bot]
8937e5fe30 fix(deps): update dependency react-i18next to v12.2.2 2023-04-30 04:08:48 +00:00
renovate[bot]
e3e5a63d42 fix(deps): update babel monorepo 2023-04-30 01:12:36 +00:00
renovate[bot]
86d5715f65 chore(deps): update dependency yargs to v17.7.2 2023-04-29 21:56:55 +00:00
renovate[bot]
ebc54d8d56 chore(deps): update dependency tailwindcss to v3.3.2 2023-04-29 17:47:19 +00:00
renovate[bot]
83535810e9 chore(deps): update dependency joi to v17.9.2 2023-04-29 14:22:14 +00:00
renovate[bot]
b07b3a87d5 chore(deps): update dependency @types/react-dom to v16.9.19 2023-04-29 11:45:28 +00:00
renovate[bot]
6c6ca6c20c chore(deps): update babel monorepo 2023-04-29 09:50:23 +00:00
renovate[bot]
809e00bcfe chore(deps): update github/codeql-action digest to f3feb00 2023-04-29 06:12:36 +00:00
Mrugesh Mohapatra
b8dc4d5393 chore: update error message for Crash Dumps (#50213) 2023-04-28 17:17:55 -07:00
camperbot
082f778262 chore(i18n,learn): processed translations (#50211) 2023-04-28 08:26:45 -07:00
camperbot
ee1d1eb9d8 chore(i18n,docs): processed translations (#50209) 2023-04-28 08:26:19 -07:00
camperbot
77a95e2dab chore(i18n,client): processed translations (#50210) 2023-04-28 19:10:59 +05:30
Muhammed Mustafa
c93d61f1e5 feat(client, tools): make ui component respect theme (#50202)
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2023-04-28 12:44:12 +03:00
Shaun Hamilton
3af73290bc refactor(client): migrate certification to ts (#49708)
* refactor(client): migrate certification to ts

* fix: reduce certMap into projectMap etc.

* fix: rename certMap -> fullCertMap

* fix: cert-and-project-map strict typing

* close but not close enough

* fix: combine project and legacy project maps

* chore: add type assertion safety comment

* fix: add correct types to test mocks

* fix: another test

* remove settings-button.test.js

The test did not handle any changes, and only served as a failing snapshot when projects are added/updated

* refactor: use exported map types

Co-authored by: Muhammed Mustafa <muhammed@freecodecamp.org>

* refactor: use exported map types

Co-authored-by: Muhammed Mustafa <muhammed@freecodecamp.org>

---------

Co-authored-by: Muhammed Mustafa <muhammed@freecodecamp.org>
2023-04-28 10:01:44 +02:00
Ahmad Abdolsaheb
44ae9bd0c5 feat: send RWD render times to GA (#50196)
* feat: send RWD render times to GA

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2023-04-28 09:00:22 +02:00
Jeremy L Thompson
4b2105a4d8 fix(curriculum): Reorder information in Record Collection challenge (#50203)
* reorder information in last bullet point

* wording adjustment
2023-04-27 18:47:36 -07:00
Oliver Eyton-Williams
1567894c36 fix(api): use connection string from .env (#50201) 2023-04-27 23:06:43 +01:00
camperbot
97b1807d5f chore(i18n,docs): processed translations (#50197) 2023-04-27 17:28:39 +02:00
camperbot
3c8250599a chore(i18n,learn): processed translations (#50199) 2023-04-27 09:33:28 -05:00
camperbot
61783e4761 chore(i18n,client): processed translations (#50198) 2023-04-27 09:32:54 -05:00
Naomi Carrigan
18f9a3f47c feat(curriculum): break number sorter down into steps (#49715)
* chore: create new project

* feat: break projects down into steps

* chore: solution

* feat: write tests

* fix: broken tests

* chore: apply Jessica's review suggestions

* chore: correct title case for block name

* chore: apply kolade's review

* chore: apply kolade's review

* chore: apply sem's review

Co-authored-by: Sem Bauke <semboot699@gmail.com>

* chore: apply sem's updated review

* chore: add aria-label to selects

* fix: labels on the steps where the camper changed a value

This is why find and replace didn't work );

* chore: apply zaira's review suggestions

Co-authored-by: Zaira <33151350+zairahira@users.noreply.github.com>

* chore: apply zaira's review suggestions

Co-authored-by: Zaira <33151350+zairahira@users.noreply.github.com>

---------

Co-authored-by: Sem Bauke <semboot699@gmail.com>
Co-authored-by: Zaira <33151350+zairahira@users.noreply.github.com>
2023-04-27 11:17:35 +00:00
Vansh Baghel
d43c9b69d7 feat(client): children for spacer component (#50105)
* Replaced padding calculation with paddingBlock, for both children and deefault

* Ran cmd : pnpm run test-client -u to fix checks

* fix snapshot

* Changed calculation, removed extra div

* medium to large in donate

* PaddingBlock to padding, added new values for Padding obj

* Fix snapshots

---------

Co-authored-by: Muhammed Mustafa <muhammed@freecodecamp.org>
2023-04-27 12:51:58 +02:00
Vansh Baghel
85795068a3 feat(client): Customized Radio Buttons in settings page (#50094)
Co-authored-by: Bruce B <bbsmooth@gmail.com>
2023-04-27 08:07:21 +00:00
mtangmt
377a03022b fix(curriculum) test for the add-new-element-to-a-binary-tree challenge (#50187)
fixing add-new-element-to-binary-tree test
2023-04-27 09:56:18 +02:00
renovate[bot]
cf8dc73fae fix(deps): update prisma monorepo to v4.13.0 2023-04-27 05:32:16 +00:00
Muhammed Mustafa
f0aecf173d feat(client): expose the language button to the navbar (#50084)
* feat(client): expose the language button to the navbar

* clean extra logic

Co-authored-by: Huyen Nguyen <25715018+huyenltnguyen@users.noreply.github.com>

* show the language menu

* set keyboard navigation logic

* change the language icon

* sort float values

* fix the test

* remove the menu roles from the languagelist

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

* add id to button and polish the attributes

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

* revert to production focus events

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

* fix the menu not closing and fix the label

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

* make event passing more explicit

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

* Let screenreaders annouce that the expand is closed

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

* let screenreader annouce list is closed

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

* polish the logic around the styling

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

* add comment about accessiblity function

* oh right active doesn't work like that

* hide the menu if the click is outside it

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

* fix the contrast in the check mark

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

* Stop the menu closing when clicking on the searchbar

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

* make the list hover and focus consistent

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

---------

Co-authored-by: Huyen Nguyen <25715018+huyenltnguyen@users.noreply.github.com>
Co-authored-by: Bruce B <bbsmooth@gmail.com>
2023-04-26 22:44:03 +02:00
Sem Bauke
5a8228fa52 feat: add css foundations block - the odin project (#49377)
* feat: add css foundations block - the odin project

* feat: add first 7 questions

* feat: introduce type selector question as first question

* feat: add new exercise block

* feat: introduce exercise 1

* feat: introduce exercise 2

* fix: add removed solutions

* fix: add help category

* fix: add placeholder description

* fix: code block highlighting

* fix: add optional chaining to tests

* fix: second exercise

* Apply Naomi's suggestions from code review

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

---------

Co-authored-by: moT01 <20648924+moT01@users.noreply.github.com>
Co-authored-by: Naomi Carrigan <nhcarrigan@gmail.com>
2023-04-26 10:22:57 -07:00
Muhammed Mustafa
e7b028f0c4 feat(client): use showPoints to hide points instead of mutating the points (#50106)
* feat(client): move points out of the camper component

* use the redesigned text
2023-04-26 11:57:18 -05:00
camperbot
3565bf179b chore(i18n,learn): processed translations (#50193) 2023-04-26 09:36:29 -07:00
camperbot
3b67c922c7 chore(i18n,docs): processed translations (#50191) 2023-04-26 09:34:33 -07:00
Shaun Hamilton
082dcb55c7 feat(client): add codeally_down feature flag (#50190)
* feat(client): add codeally_down feature flag

---------

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2023-04-26 15:46:03 +02:00
Kolade Chris
81a84f8aaf feat(curriculum): Add fCC Authors Page Project to JS Cert (#49826)
* feat(curriculum): Add fCC Authors Page Project to JS Cert

* Added intro.json, index.md, and meta.json files

* feat: wrote tests for the first twelve steps, also corrected step 11 test

* finished writing tests

* chore: cross-checked tests and fixed broken ones

* chore: fixed a merge conflict

* chore: fixed more merge conflicts

* chore: implemented Kris's suggestions

Co-authored-by: Kristofer Koishigawa <scissorsneedfoodtoo@gmail.com>

* chore: implemented Naomi's suggestions

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

* combined steps eleven and twelve

* chore: implemented more suggestions from Naomi

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

* chore: removed the intro json extra comma

* chore: debugging failed CI

* chore: debugging failed CI from step 6

* fix: still debugging CI issues

* ci: checking why CI failed

* ci: debugging CI failure in step 12

* chore: implemented Naomi's suggestions to make CI pass

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

* ci: debugging CI failure in step 12

* feat: Tested for semi-colons in steps that don't allow it

* ci: debuggin step 17 CI failure

* chore: implemented Jessica's suggestions

Co-authored-by: Jessica Wilkins  <67210629+jdwilkin4@users.noreply.github.com>

* feat: rewrote tests for step 22

* fix: fixed small issues like typos and wrapping backticks around some words

* fix: rewrote tests for step 5 to follow Sem's recommendation

* fix: rewrote tests for step 28 to not be strict with backticks

* fix: fixed intro json file error

---------

Co-authored-by: Kristofer Koishigawa <scissorsneedfoodtoo@gmail.com>
Co-authored-by: Naomi Carrigan <nhcarrigan@gmail.com>
Co-authored-by: Jessica Wilkins  <67210629+jdwilkin4@users.noreply.github.com>
2023-04-26 15:32:29 +02:00
camperbot
33535dda40 chore(i18n,client): processed translations (#50192) 2023-04-26 08:28:44 -05:00
Oliver Eyton-Williams
0d5e2d9ed7 fix: connect LowerJaw to redux (#50180)
* fix: connect LowerJaw to redux
2023-04-26 12:20:58 +02:00