Commit Graph

1059 Commits

Author SHA1 Message Date
Muhammed Mustafa
734a88e5d2 feat(client): delete invalid default profile image (#50352)
* feat(client): delete a not valid variable

* set validation to false if using the image

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

---------

Co-authored-by: Naomi Carrigan <nhcarrigan@gmail.com>
2023-05-16 09:57:54 -07:00
Muhammed Mustafa
3c28323a2c feat(client): remove the height from the space component (#50244) 2023-05-15 12:41:31 -07:00
Niraj Nandish
d34be97fe2 fix(client): error flash when toggling send quincy email in settings (#50336) 2023-05-10 14:20:33 +02:00
Muhammed Mustafa
0d98f28b9e feat(client): delete generic success message in the alert (#49780)
* change the flash message in profileui endpoint

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2023-05-08 16:58:06 +02:00
Muhammed Mustafa
39538c8b22 feat(client): polish the styles for the lang button (#50256)
Co-authored-by: ahmad abdolsaheb <ahmad.abdolsaheb@gmail.com>
2023-05-08 13:16:19 +05:30
Bruce Blaser
a52b13c17e fix: remove tool panel buttons from mobile layout (#47683) 2023-05-05 10:55:52 +05:30
Ahmad Abdolsaheb
5cac374138 feat(client): add progress donation modal cta rotation (#50274)
Co-authored-by: Muhammed Mustafa <MuhammedElruby@gmail.com>
2023-05-05 10:53:06 +05:30
Krzysztof G
45d2ffa676 fix(client): LanguageList export (#50268)
fix: LanguageList export
2023-05-03 22:51:26 +03:00
Tom
3f0202a7b8 feat(client): add faq section to landing page (#50243)
* feat: add faq section to landing page

* fix: add review suggestions

* fix: add CTA below testimonials

* fix: cypress
2023-05-02 11:39:35 -07: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
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
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
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
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
Muhammed Mustafa
6cbd6be1e5 feat(client): remove extra if statement in the navigation header (#50156) 2023-04-24 13:51:47 -07:00
Muhammed Mustafa
c8e22b4ea0 refactor(client): remove extra element from the profile item setting (#50163) 2023-04-24 18:59:16 +02:00
Muhammed Mustafa
fa1b424488 feat(client): remove eslint comments in auth or profile file (#50162)
* feat(client): remove eslint comments in auth or profile file

* update user
2023-04-24 18:00:11 +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
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
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
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
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
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
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
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
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
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
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
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
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
renovate[bot]
7ecf6a44bc chore(deps): update jest monorepo to v29 (major) (#49775)
* chore(deps): update jest monorepo to v29

* chore: install jest-environment-jsdom

* chore: update snapshots

* fix: update config to transform nanoid+uuid

* chore: update babel's node target

This does not seem strictly necessary, but is probably for the best.

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2023-03-21 12:37:23 +00:00
Shaun Hamilton
3dab4261fb fix(client): allow endpoint on projects (#49656)
* fix(client): allow endpoint on projects

* refactor: structure form.tsx code similarly 

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2023-03-21 09:47:04 +01:00
Muhammed Mustafa
5a2b5f1ed2 fix(client): stop margin from pushing outline out of the container (#49647)
* feat(client): stop margin from pushing outline out of the container

* remove the parent because it was breaking the layout on mobile devices

* sort the mobile and laptop layout

* remove extra property

* Update client/src/components/Header/components/universal-nav.css

* center the logo and fix the extra pixel issue

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

* increase padding top

---------

Co-authored-by: moT01 <20648924+moT01@users.noreply.github.com>
2023-03-21 13:56:04 +05:30