Commit Graph

2296 Commits

Author SHA1 Message Date
Bruce Blaser
9dca46dc3f fix(ui): re-enable pointer events on upper jaw (#50126)
fix: re-enable pointer events on upper jaw
2023-04-22 09:03:58 +02:00
Muhammed Mustafa
91aa8b4aca refactor(client): remove extra property (#50116) 2023-04-21 19:09:00 +02:00
Muhammed Mustafa
8b72e9af5f feat(client): move the variables from style element to CSS file (#50085)
* refactor(client): move the variables from style element to header property

* sort the test and fix wrong value

* remove the fallbacks

Co-authored-by: moT01 <20648924+moT01@users.noreply.github.com>

---------

Co-authored-by: moT01 <20648924+moT01@users.noreply.github.com>
2023-04-20 13:08:36 -07:00
Muhammed Mustafa
1c51071c0b refactor(client): link themes types to its input (#49862)
* refactor(client): link themes types to its input

add type in the imports for readiblity

* align formValues Types
2023-04-20 12:11:46 -05:00
Muhammed Mustafa
191011e108 refactor(client): profile component into sub components (#49956)
* refactor(client): profile component into sub components

* Clean the future PR changes

* fix the broken if statement cased by prettier and clean change log

* Better variable name for boolean variable

Co-authored-by: Mrugesh Mohapatra <1884376+raisedadead@users.noreply.github.com>

* Revert the removing of vistor

Co-authored-by: ahmad abdolsaheb <ahmad.abdolsaheb@gmail.com>

* better naming for the component

* fix typo in message components

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

---------

Co-authored-by: Mrugesh Mohapatra <1884376+raisedadead@users.noreply.github.com>
Co-authored-by: ahmad abdolsaheb <ahmad.abdolsaheb@gmail.com>
Co-authored-by: sembauke <semboot699@gmail.com>
2023-04-20 11:13:05 -05:00
Muhammed Mustafa
92307ec526 fix(client): stop the elements from flowing outside the viewport (#49942)
* fix(client): overflow of the landing pages cards

* remove the row that case overflow

* align the card width with the images

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

* remove horizontial scroll for 994px screens

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

---------

Co-authored-by: Bruce B <bbsmooth@gmail.com>
2023-04-20 10:28:41 -05:00
Muhammed Mustafa
2123b447bc feat(client): hide the outline instead of removing it (#49716)
* feat(client): hide the outline instead of removing it

* remove the old :focus outline values

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

---------

Co-authored-by: Bruce B <bbsmooth@gmail.com>
2023-04-20 10:02:15 -05:00
Muhammed Mustafa
e5f1a8f73f fix(client): outline and padding in the footer (#49776)
Co-authored-by: Bruce B <bbsmooth@gmail.com>
Co-authored-by: moT01 <20648924+moT01@users.noreply.github.com>
2023-04-20 15:46:12 +02:00
Oliver Eyton-Williams
8f562661c7 fix: show preview on toggle (#50108) 2023-04-20 13:49:00 +02:00
Naomi Carrigan
21d00f7ce8 feat: spam filter project (#49873)
* chore: set up initial project

* feat: steps 1-10

* feat: steps 11-20

* feat: complete steps

* feat: write tests

* fix: debug failing tests

* chore: apply Jessica's review suggestions

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

* chore: apply gikf's review suggestions

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

* fix: test that help regex is unmodified

* chore: max width on text area

* chore: reapply sem's review

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

---------

Co-authored-by: Jessica Wilkins  <67210629+jdwilkin4@users.noreply.github.com>
Co-authored-by: Krzysztof G. <60067306+gikf@users.noreply.github.com>
Co-authored-by: Sem Bauke <semboot699@gmail.com>
2023-04-19 14:02:56 +02:00
Bruce Blaser
ce26c85c78 fix(client): clean up styles on controls above multi-file editor (#50058) 2023-04-19 16:16:13 +05:30
Lasse Jørgensen
d717dbda82 fix(client): conditionally render #universal-nav-left (#50092) 2023-04-19 16:13:32 +05:30
Manabu Matsumoto
4d7c3f6c60 fix(UI): anchor the tool panel buttons at the bottom (#48586)
* fix: anchor the tool panel buttons at the bottom

---------

Co-authored-by: ahmad abdolsaheb <ahmad.abdolsaheb@gmail.com>
Co-authored-by: Sboonny <muhammed@freecodecamp.org>
2023-04-19 10:33:51 +00:00
Muhammed Mustafa
04c8861c3e refactor(client): align nav-links types with universal-nav types (#49857)
Co-authored-by: Ahmad Abdolsaheb <ahmad.abdolsaheb@gmail.com>
2023-04-18 22:04:09 +07:00
Bruce Blaser
0dd8282cf8 feat(client): adjustable scrollbar width in code editor (#49975) 2023-04-18 15:36:03 +03:00
Igor Torres
b6b5efca53 fix(client): warn user on failed submission for backend project (#49991) 2023-04-17 21:57:55 +02:00
Muhammed Mustafa
44a1a05ab0 refactor(client): align campers type with stored User (#49982
* refactor(client): align campers type with stored User

* update snapshot
2023-04-17 23:46:28 +05:30
Muhammed Mustafa
d23676ad86 feat(client): clean homepage components from extra prop (#49948)
Co-authored-by: sembauke <semboot699@gmail.com>
2023-04-17 17:09:17 +07:00
Oliver Eyton-Williams
e955bccfcf refactor: replace isChallenge (#50033)
* refactor: replace isChallenge

Determining if a path is a challenge by the number of path segments is
brittle and we ended up writing bizarre things like
isChallenge(nextChallengePath).

This should be a little more robust. i.e. if we need to know if a page
is a challenge, we can check the challengeMeta

* test: update tests with new logic
2023-04-13 15:25:12 +00:00
Muhammed Mustafa
70e68f8818 feat: remove babel polyfill package (#49917) 2023-04-12 16:59:05 +00:00
Naomi Carrigan
1117c6b737 feat: break shopping cart down into steps (#49416)
* feat: break shopping cart down into steps

* fix: couple of bugs oopsie

* fix: index.js -> script.js

* fix: missed a file

* feat: tests through step 31

* feat: finish tests

* chore: fix tests

* chore: apply gikf's review

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

* chore: apply Jessica's review suggestions

* chore: apply kolade's review

---------

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
Co-authored-by: Krzysztof G. <60067306+gikf@users.noreply.github.com>
2023-04-12 14:05:08 +02:00
Bruce Blaser
e0088db2b3 fix(a11y): settings toggles (#49664)
Co-authored-by: Sboonny <muhammedelruby@gmail.com>
Co-authored-by: Sboonny <muhammed@freecodecamp.org>
2023-04-12 14:40:00 +03:00
Oliver Eyton-Williams
b5bcf16349 fix: blocknameify no longer (#49997)
Remove `blocknameify` function, and adjust curriculum meta as needed
2023-04-10 21:21:00 +05:30
Bruce Blaser
6fc7045aee fix(a11y): certification project cards (#50019
make certification project card links more accessible
2023-04-10 20:00:56 +05:30
renovate[bot]
ca15adb588 fix(deps): update font awesome to v6.4.0 (#50017)
* fix(deps): update font awesome to v6.4.0

* fix: update snapshots

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Mrugesh Mohapatra <noreply@mrugesh.dev>
2023-04-10 16:19:04 +02:00
Muhammed Mustafa
e08c6dec2c refactor(client): make elements in show global to reduce the load on every render (#49972)
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2023-04-06 15:58:49 +05:30
Muhammed Mustafa
16a0b8572a refactor(client): split lower-jaw component to subcomponents (#49015)
---------

Co-authored-by: Bruce B <bbsmooth@gmail.com>
Co-authored-by: moshe vilner <shootermv@gmail.com>
2023-04-05 22:11:37 +02:00
Oliver Eyton-Williams
5ea1f4fffc feat: add githash as query param (#49960) 2023-04-05 21:15:51 +05:30
renovate[bot]
82e21aca0e fix(deps): update dependency react-i18next to v12 (#49800)
* fix(deps): update dependency react-i18next to v12

* chore: address linting issues

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Mrugesh Mohapatra <noreply@mrugesh.dev>
2023-04-04 10:38:32 +01:00
Muhammed Mustafa
283f8e2c2a fix(client): rendering the block title as an array (#49924) 2023-04-03 12:53:23 +00:00
Muhammed Mustafa
b460bc0fba feat(client): add unique flash messages to the sounds (#49785)
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2023-04-03 14:08:45 +05:30
Muhammed Mustafa
fed78de7a1 fix(client): hack the outline look for the logo in the nav bar (#49903)
Co-authored-by: Bruce B <bbsmooth@gmail.com>
2023-04-03 14:05:15 +05:30
Krzysztof G
c14a353c88 fix(client): remeasureFonts when fonts are loaded (#49908)
fix: remeasureFonts when fonts are loaded
2023-04-01 10:43:18 +02:00
Muhammed Mustafa
11e38cd68d fix(client): import Tfunction from i18next in models (#49815)
* fix(client): import Tfunction from i18next

* Import Tfunction as type
2023-03-31 14:27:45 +02:00
Muhammed Mustafa
6112f0ad9b fix(client): align multifileEditor and editor types (#49825)
* fix(client): align multifileEditor editor and hotkeys types

* sort the last types

* sort the last types

* clean wrong types

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

* clean wrong types

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

* Change the comment

---------

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2023-03-30 15:37:04 -05:00
Muhammed Mustafa
a8d5fdeec1 fix(client): remove boolean value for non boolean attribute (#49831) 2023-03-30 15:03:28 -05:00
Muhammed Mustafa
47944110b0 refactor(client): wrong TFunction type in searchBar (#49859)
refactor(client): mis aligned types in searchbar
2023-03-30 14:01:33 -05:00
Muhammed Mustafa
f61700dc48 fix(client): import TFunction from i18next in forms (#49817)
fix(client): import tfunction from i18next
2023-03-30 18:24:10 +00:00
Muhammed Mustafa
43e5edcbbd fix(client): import TFunction from i18next for challenges context (#49820)
* fix(client): import tfunction from i18next

* swap the type for the hook

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

* refactor block intros function

* Revert "refactor block intros function"

This reverts commit 32ee772e6c.

* remove array from block title

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

---------

Co-authored-by: Huyen Nguyen <25715018+huyenltnguyen@users.noreply.github.com>
Co-authored-by: Naomi Carrigan <nhcarrigan@gmail.com>
2023-03-30 13:16:58 -05:00
Muhammed Mustafa
6752199cf1 fix(client): import tfunction from i18next in show components (#49819)
fix(client): import tfunction from i18next
2023-03-30 12:59:59 -05:00
Muhammed Mustafa
e9d834f1d8 fix(client): import Tfunction from i18next in privacy inputs (#49818)
* fix(client): import Tfunction from i18next

* swap tFuntion with the hook when possilbe
2023-03-30 12:39:52 -05:00
Muhammed Mustafa
b67a82ff0a fix(client): import TFunction from i18next in profile componenets (#49814)
* fix(client): import TFunction from i18next

* Import Tfunction as type

* swap tFuntion with the hook when possilbe
2023-03-30 10:28:14 -05:00
Shaun Hamilton
e77baf55a4 fix(client): only fetch if username exists (#49874)
A test to see if the number of sentry errors decreases after this commit
2023-03-30 11:26:43 +02:00
Ahmad Abdolsaheb
8bd84760b3 feat(client): isolate progress bar (#49479)
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
2023-03-27 08:02:55 +00:00
a2937
7a904e2e17 chore(a11y): standardize keyboard focus (#49579)
* Create a focus indicator

* Use two different colors for the palletes.

* Use focus-visible instead.

* Remove redundant css

* Use blue-mid for the focus outline color.

* Add a global fallback.

* Clean up the rules some more.

* Remove some bootstrap styling.

* fix: display focus outline on all sides of lower jaw icon buttons

* fix: breadcrumb focus outlines

---------

Co-authored-by: Ahmad Abdolsaheb <ahmad.abdolsaheb@gmail.com>
Co-authored-by: Bruce B <bbsmooth@gmail.com>
2023-03-24 20:31:55 +02:00
Tom
605fdf220a feat(curriculum): make college algebra with python live (#49695) 2023-03-23 21:57:32 +00:00
renovate[bot]
90efc43149 fix(deps): update dependency i18next to v22 (#49799)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Sboonny <muhammedelruby@gmail.com>
Co-authored-by: Muhammed Mustafa <muhammed@freecodecamp.org>
2023-03-24 01:02:33 +05:30
Sem Bauke
87d9ade1a7 fix(curriculum,client): move the Euler Project to its own superBlock (#49294)
Co-authored-by: Kristofer Koishigawa <scissorsneedfoodtoo@gmail.com>
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
Co-authored-by: Naomi Carrigan <nhcarrigan@gmail.com>
Co-authored-by: moT01 <20648924+moT01@users.noreply.github.com>
2023-03-23 21:29:13 +05:30
Muhammed Mustafa
fbdc8a7ec1 feat(client): rename portofolio file to portfolio-projects (#49615)
* feat(client): rename portofolio file to protfolio-projects

* squash merge to main

* fix typo in the file name

* use one type for profileProjects

* revert the renaming of portfolio prop

* fix type in the new form Correct function
2023-03-23 12:06:52 +05:30
Ahmad Abdolsaheb
2adaf4c87a feat (client): turn classic show into a functional component (#49491)
* feat: turn classic show into a functional component

* fix: pass redux challengeFiles to components

* feat: add hooks

---------

Co-authored-by: Huyen Nguyen <25715018+huyenltnguyen@users.noreply.github.com>
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
Co-authored-by: Muhammed Mustafa <muhammed@freecodecamp.org>
2023-03-22 17:54:10 +00:00