Commit Graph

81 Commits

Author SHA1 Message Date
Victor Duarte
869fb4fc9f
fix: improve universal navbar UI (#51108) 2023-09-19 14:50:20 +03:00
Tom
7064c79817
fix(client): certTitle when sharing cert (#51586) 2023-09-19 09:49:08 +02:00
Ahmad Abdolsaheb
88b36d08b8
feat: restrict donations via stripe card (#51598)
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2023-09-18 18:42:11 +02:00
Oliver Eyton-Williams
e0b609d618
fix(test): seed before Cypress C# tests (#51563) 2023-09-15 19:52:54 +03:00
Naomi Carrigan
e32a88a6db
chore: use new c-sharp help category (#51417)
Co-authored-by: mot01 <tmondloch01@gmail.com>
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2023-09-11 10:46:51 -07:00
Oliver Eyton-Williams
391fc2e34d
refactor: create shared workspace (#51454) 2023-09-07 23:06:01 +05:30
Shaun Hamilton
7a3dd31f69
fix(client): add hours back to certifications (#51215) 2023-09-05 01:40:41 +03:00
Tom
4ed95973d2
feat(client/curriclum): make C# live (#51354) 2023-08-27 08:00:57 -05:00
Muhammed Mustafa
cf3c3b50a3
fix: show outline around backend challenges link (#51202) 2023-08-22 15:48:44 +03:00
Tom
97f33a9d9c
fix(client): exam solution widget (#51195)
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2023-08-14 09:45:55 -07:00
Naomi Carrigan
b89f91cb11
feat: replace picasso painting with cat painting (#51130)
Co-authored-by: kolade <chrisjay967@gmail.com>
Co-authored-by: Kolade Chris <65571316+Ksound22@users.noreply.github.com>
Co-authored-by: Jessica Wilkins <67210629+jdwilkin4@users.noreply.github.com>
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
Co-authored-by: Zaira <33151350+zairahira@users.noreply.github.com>
Co-authored-by: Krzysztof G. <60067306+gikf@users.noreply.github.com>
2023-08-14 16:10:06 +05:30
Oliver Eyton-Williams
c387bbe43d
feat: disable submission until it's done (#51150) 2023-08-07 10:23:23 -05:00
Muhammed Mustafa
4e1e339b04
feat(client): remove donation button label (#51106)
Co-authored-by: ahmad abdolsaheb <ahmad.abdolsaheb@gmail.com>
2023-08-02 11:32:42 +00:00
Naomi Carrigan
19faa09c9b
feat: remove legacy RWD projects (#50960) 2023-07-26 13:38:44 -05:00
Naomi Carrigan
ab640abee1
chore: detuplication (#50955)
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2023-07-13 12:46:00 +02:00
Sem Bauke
fb1228546e
feat(tools): release python certs on mobile (#50832)
Co-authored-by: Niraj Nandish <nirajnandish@icloud.com>
2023-07-10 12:04:16 +02:00
Estefania Cassingena Navone
6ca64c8a57
feat: certification redesign (#50443)
Co-authored-by: ahmad abdolsaheb <ahmad.abdolsaheb@gmail.com>
2023-07-10 11:59:25 +05:30
Jordan Moore
253d744059
feat(UI): add quotes when tests pass (#50798)
Co-authored-by: ahmad abdolsaheb <ahmad.abdolsaheb@gmail.com>
Co-authored-by: Jordan M <jordanm@Jordans-MacBook-Air.local>
Co-authored-by: Jordan M <jordanm@Jordans-Air.lan>
Co-authored-by: Sboonny <MuhammedElruby@gmail.com>
2023-07-06 21:41:50 +03:00
Oliver Eyton-Williams
13110a9665
fix(client): handle final project submission (#50818)
Co-authored-by: Naomi Carrigan <nhcarrigan@gmail.com>
2023-07-04 22:04:45 +02:00
Oliver Eyton-Williams
8d12376931
chore(cypress): speed up seeding when testing (#50825) 2023-06-29 23:18:10 +07:00
DEVelooper29
f9e0303c32
feat(UI): take back to learn map after finishing a block (#50011)
Co-authored-by: moT01 <20648924+moT01@users.noreply.github.com>
2023-06-22 14:19:01 -07:00
Oliver Eyton-Williams
73249cf6e3
fix(client): show check code button after reset (#50778) 2023-06-22 13:19:17 -07:00
Ahmad Abdolsaheb
eb22bc0a82
feat: use component library's dropdown component in learn (#50465)
Co-authored-by: Sboonny <muhammed@freecodecamp.org>
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
Co-authored-by: Bruce Blaser <bbsmooth@gmail.com>
Co-authored-by: Naomi Carrigan <nhcarrigan@gmail.com>
2023-06-22 09:21:05 -05:00
Moshe
38aa2dbba2
test(e2e): fix flaky firefox tests (#50039) 2023-06-16 07:46:45 +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
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
Tom
373e808938
refactor(config): superblocks and map (#50435) 2023-06-01 14:51:57 +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
Naomi Carrigan
45082eea85
feat: better lang selector tests (#50294) 2023-05-06 02:36:20 +05:30
Naomi Carrigan
cf9972b362
feat(tools): add tests for language selector (#50284) 2023-05-05 10:54:14 +05:30
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
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
Tom
17c9d98159
chore(client): add warning codeally is down, remove new/beta from superblock titles (#50172)
* feat: remove new and beta from superblocks

* feat: add codeally down warning
2023-04-25 13:53:41 -07:00
Krzysztof G
6504847b26
fix(e2e): reduce test flakiness (#50072)
* fix: visit page before each test

* fix: ensure editor is visible when checking contents

* fix: click after clear
2023-04-25 10:11:23 +02:00
Bruce Blaser
0dd8282cf8
feat(client): adjustable scrollbar width in code editor (#49975) 2023-04-18 15:36:03 +03:00
Krzysztof G
14259121fc
chore(tools): replace npm with pnpm in cy.exec (#50086)
chore: replace npm with pnpm for seed exec
2023-04-17 20:44:29 +00:00
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
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
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
Tom
605fdf220a
feat(curriculum): make college algebra with python live (#49695) 2023-03-23 21:57:32 +00:00
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
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
Ahmad Abdolsaheb
d3396a2017
feat(client): expose nav donate button for non-donor (#49705)
Co-authored-by: Muhammed Mustafa <muhammed@freecodecamp.org>
2023-03-21 13:31:44 +05:30
Sem Bauke
f578a22c99
fix: disable portfolio description if over 288 characters (#49730)
* fix: description if characters is over 288 characters on portfolio

* feat: add tests

* Update client/src/components/helpers/form/block-save-button.tsx
2023-03-17 12:27:53 +01:00
pmelin
90d35945c1
chore(cypress): TS Migration: projects.ts, show-cert-from-superblock.ts and challenges.ts (#49635) 2023-03-10 07:41:25 +00:00
Oliver Eyton-Williams
d7848ae01a
feat: migrate to pnpm for better workspace DX (#49293)
* feat: npm -> pnpm 

This resolves the issues with the gatsby client (gatsby-plugin-pnpm
deals with the fact that gatsby is relying on its own dependencies
being de-duped)
and challenge-editor (which doesn't seem to want to automatically install
codemirror and needed its own eslint config)

* fix: correct mocha path for curriculum tests

* fix: use select workspace with -F not -w

* fix: reorganise packages and restrict hoisting

pnpm works best if the workspaces keep their own dependencies, since
dependencies are not flattened and then what node resolves from a
require is predictable.

@types seem to be a special case and more care is required to prevent
them getting smushed together in the root (hence the .npmrc)

* fix: add types for tools + root

* fix: decouple challenge-auditor from client

* fix: add ui-components types

* fix(client): use the latest types for react 16

* fix: prettify

* fix: prettierignore pnpm-lock

* fix: relax hoisting

Turns out pnpm works just fine with types. I don't know what was going
wrong before, but there are no-longer any type conflicts.

* fix: add @redux-saga/core to fix eslint issue

It seems to only be redux-saga that import/named can't cope with, so it
is probably okay to work around this one.

* chore: add chai to tools/scripts/build

* fix: add store to root for cypress

* fix: allow cypress to download binaries

If we want to keep preventing cypress from downloading binaries, we can
figure out a workaround, but I'm allowing it to ease the transition to
pnpm.

My guess about why this is happening is that npm triggers Cypress's
postinstall script, but pnpm does not (because pnpm install only
installs if necessary, perferring to link)

* chore: re-enable pre/post scripts

* fix: update build scripts for client

Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>

* chore: update engines to use pnpm


* fix: enable choice of (super)block for tests

Only 'nix machines for now.

* chore: pin pnpm to version 7

* chore: remove last npms

Except web + curriculum-server. I'll update them when I start work on
them again.

* fix: lockfile check to catch any package-locks

* fix(action): install pnpm for upcoming tests

* chore: add nodemon to new api

Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
2023-03-02 18:17:44 +00:00
a2937
346ac9db66
chore(cypress): email-change.js to ts (#49464)
Initial conversion of email-change.js
2023-02-24 23:09:56 +00: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
a2937
78e984d98a
Chore migrate es6-to-basic-javascript.js (#49352)
Start converting es6 javascript.
2023-02-18 21:58:59 +01:00