Commit Graph

2357 Commits

Author SHA1 Message Date
Tom
167a8e7638 refactor: remove dasherize (#50620) 2023-06-07 23:28:56 -07:00
Ahmad Abdolsaheb
76673d544b feat(client): AB test displaying the progress donation modal multiple times (#50408)
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2023-06-07 19:56:01 +05:30
Jacques Metevier
1f9c1e9d21 chore(deps): upgrade eslint (#50614)
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2023-06-06 17:58:27 +02:00
Sky Jacobson
fcc5fdea5c test(client): created unit test suite for OfflineWarning component (#50572)
Co-authored-by: Huyen Nguyen <25715018+huyenltnguyen@users.noreply.github.com>
2023-06-06 17:12:19 +02:00
Sem Bauke
d18414fa2d feat: add progress bar to lower jaw (#50167)
Co-authored-by: IsmailTlemcani <ismail.tlemcani@gmail.com>
Co-authored-by: ahmad abdolsaheb <ahmad.abdolsaheb@gmail.com>
2023-06-06 14:59:40 +03:00
Mustafa El Rouby
827ec2032b fix(client): underline links for all languages (#50571)
Co-authored-by: Aaron <a.rcottrill521@gmail.com>
2023-06-03 12:53:41 +03:00
DEVelooper29
d46977d2f7 fix: updated reset and help buttons (#50087)
Co-authored-by: Sboonny <muhammed@freecodecamp.org>
Co-authored-by: Bruce B <bbsmooth@gmail.com>
2023-06-02 20:40:55 +03:00
Jacques Metevier
d6e30b2b39 chore(build): remove unused packagese, add needed packages, add eslint caching (#50527)
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2023-06-01 15:19:28 -05:00
Mrugesh Mohapatra
16cfbd5829 feat(client): add duplicate account warning (#50555)
* feat(client): add duplicate account warning

* feat: check completed challenge count

* feat: stop redirecting /learn to /email-sign-up

* test: update to account for the lack of redirects

Also, in an extremely WET way, test both options.

* Update client/src/pages/email-sign-up.tsx

---------

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2023-06-01 14:26:19 -05:00
Ahmad Abdolsaheb
41b9d94a4e feat(client): AB test loading donation elements individually (#50564)
* feat(client):AB test loading donation elements individually

* Apply suggestions from code review

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

* fix: simplify logic

---------

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2023-06-01 13:53:22 -05:00
David Moreno-Bautista
ed73d472cd fix(client): stop preview in new window from disappearing on parent resize (#50389)
* fix(UI): preview in new window doesn't disappear on parent resize now

* refactor: rename css class for clarity

* refactor: remove unnecessary code

* chore: fix comment

* refactor: turn switch statement into if statement for clarity

* fix: close preview window if navigating away from learning section

* fix: make button bigger for mobile

* fix: stop preview from disappearing on resize after chapter change

* fix: apply style only to tab that needs it

chore: add comments for clarity

---------

Co-authored-by: David Moreno-Bautista <71296308+davmoba4@users.noreply.github.com>
2023-06-01 11:03:00 -05:00
Tom
373e808938 refactor(config): superblocks and map (#50435) 2023-06-01 14:51:57 +02:00
CallmeHongmaybe
9ea1969a37 fix: relocate CodeAlly banner to fit layout (#50534) 2023-05-31 17:55:59 +05:30
Oliver Eyton-Williams
c3ce96069a fix: only show loader message on layout (#50556) 2023-05-31 17:22:09 +05:30
Harmeet singh
6ae759fc97 feat(a11y): make completed-step more accessibility (#50457) 2023-05-28 22:54:02 +03:00
Muhammed Mustafa
49948076df revert(client): add react suspense and lazy loading (#50529) 2023-05-27 06:39:00 +05:30
Mrugesh Mohapatra
e562d10d6e revert: show the default 404 page only when profile fails (#50528) 2023-05-27 04:35:32 +05:30
Muhammed Mustafa
405a40b6b0 feat(client): show the default 404 page only when profile fails (#50367)
* feat(client): check if visited profile exist

* fix typo in the variable name

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

* add error boundray arround the session user

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

---------

Co-authored-by: Naomi Carrigan <nhcarrigan@gmail.com>
2023-05-26 11:21:23 +04:00
Jacques Metevier
4a9c0a4886 chore: remove unused code (#50507) 2023-05-25 22:14:42 +03:00
Oliver Eyton-Williams
62dd14a454 refactor: stop storing sessionMeta in redux (#50481) 2023-05-24 23:35:53 +03:00
Oliver Eyton-Williams
1fc0bccb6f refactor(api): stop returning streak (#50502)
The client does not use them. It calculates streaks from the calendar
property.
2023-05-24 19:16:29 +03:00
Huyen Nguyen
e50dd4a905 fix(client): typo in function name (#50464) 2023-05-22 10:03:38 +00:00
Muhammed Mustafa
b7697c7304 refactor(client): remove extra operation (#50445) 2023-05-19 10:42:13 -07:00
Shubham Lal
132a862901 feat(client): add contribute button on header's navbar (#50400) 2023-05-19 19:33:41 +03:00
Shubham Lal
165d9f0c67 feat(client): change of container & anchor's css on project hover (#50360) 2023-05-19 12:33:56 +03:00
Tom
4dfca3c560 feat: add exam environment (#50356)
* feat: add exam environment

* fix: cypress

* fix: lint-ts

* fix: lint-js

* fix: codefactor

* fix: don't translate comments from new JS spreadsheet

* fix: more tests

* fix: challenge schema

* fix: external curriculum test?

* fix: add more comments
2023-05-18 13:33:43 +02:00
Ahmad Abdolsaheb
7af4e5db95 feat/AB-test-modal-bear (#50380) 2023-05-16 22:37:53 +05:30
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
Yashaswi Makula
0e927aa967 fix(client): show certification border to visitors (#50349)
fix(UI): Certification border is now normal
2023-05-10 20:48:11 +03:00
Niraj Nandish
d34be97fe2 fix(client): error flash when toggling send quincy email in settings (#50336) 2023-05-10 14:20:33 +02:00
Oliver Eyton-Williams
5d9dccb37f test: unlock when syntax error fixed (#50325)
* refactor: use data-cy for console output

* test(client): unlock after fixing syntax errors
2023-05-09 23:15:08 +05:30
Oliver Eyton-Williams
8ed409ddc9 fix(client): allow user code to build after update (#50323) 2023-05-09 13:32:04 +03: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
Ahmad Abdolsaheb
6115df88cd feat: replace code lock epic with saga (#50088) 2023-05-08 14:28:21 +05:30
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
Tom
25f7697382 fix(client): window title in rdb challenges (#50250)
fix: undasherize rdb window titles
2023-05-02 08:55:14 -07: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
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
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
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