Commit Graph

4594 Commits

Author SHA1 Message Date
camperbot
aec86f94f1 chore(i18n,client): processed translations (#49770) 2023-03-20 08:42:01 -05:00
renovate[bot]
803688b626 fix(deps): update dependency @stripe/stripe-js to v1.49.0 2023-03-19 01:40:12 +00:00
renovate[bot]
c94962a825 chore(deps): update babel monorepo 2023-03-18 21:49:50 +00:00
renovate[bot]
9710c9ec8a chore(deps): update automerged always - codesee to v0.536.0 2023-03-18 18:24:57 +00:00
Mrugesh Mohapatra
e1f0ff5b60 chore: rename components in kebab-case (#49737) 2023-03-18 23:03:37 +07:00
renovate[bot]
aefda2a38f fix(deps): update dependency redux-saga to v1.2.3 2023-03-18 10:36:11 +00:00
renovate[bot]
e96f2e3db9 chore(deps): update dependency webpack to v5.76.2 2023-03-18 08:53:25 +00:00
Mrugesh Mohapatra
14c05d99fb chore: rename templates in kebab-case (#49738) 2023-03-17 12:56:38 -07:00
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
Oliver Eyton-Williams
a2d8905375 feat: keep log when toggling challenge preview (#49724) 2023-03-16 08:28:35 +07:00
Slieptsov Denys
e64bac9a3f fix(learn): progress bar label alignment (#49659)
Co-authored-by: Denys Slieptsov <denys.slieptsov@leaseplan.com>
2023-03-15 13:15:39 +00:00
Manabu Matsumoto
ba40dbddbb fix(UI): remove the ButtonSpacer (#49480)
Co-authored-by: Muhammed Mustafa <muhammed@freecodecamp.org>
Co-authored-by: Ahmad Abdolsaheb <ahmad.abdolsaheb@gmail.com>
2023-03-15 15:31:56 +03:00
camperbot
ca2086cacb chore(i18n,client): processed translations (#49707) 2023-03-14 13:14:39 +00:00
Oliver Eyton-Williams
0cd3f7671a chore(deps): add missing dependencies (#49703)
Co-authored-by: Kristofer Koishigawa <scissorsneedfoodtoo@gmail.com>
2023-03-14 17:25:15 +05:30
sidemt
d3f089474f fix(client): use translated string for 'Certification' in timeline (#49663)
fix(client): use translation for 'Certification' in timeline
2023-03-13 11:59:25 -07:00
camperbot
f4eb235c75 chore(i18n,client): processed translations (#49693) 2023-03-13 19:41:59 +05:30
Oliver Eyton-Williams
c498c06259 fix(deps): add missing dependencies + fix knip (#49691)
* refactor: use pnpm dlx over npx

* fix: create config before running knip

* chore: fix challenge-parser dependencies

* chore: add missing client + plugin dependencies

* chore: pin deps
2023-03-13 19:38:19 +05:30
Ahmad Abdolsaheb
9340566428 feat(client): turn nav-links component functional (#49690)
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
Co-authored-by: Muhammed Mustafa <muhammed@freecodecamp.org>
2023-03-13 13:33:40 +00:00
renovate[bot]
633246f845 chore(deps): update dependency @total-typescript/ts-reset to ^0.4.0 (#49676)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-13 11:27:54 +05:30
Ahmad Abdolsaheb
0b21a505fa feat: standardize analytics (#49657)
* feat: standarize analytics

* feat: add experiment view event to GrowthBook
2023-03-13 00:26:10 +07:00
renovate[bot]
64ef7f82fc fix(deps): update dependency @growthbook/growthbook-react to v0.13.0 (#49681)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-12 18:20:59 +05:30
renovate[bot]
8c15289f13 chore(deps): update dependency webpack to v5.76.1 2023-03-12 09:30:06 +00:00
renovate[bot]
cc8b7da4b2 chore(deps): update automerged always - codesee to v0.531.0 2023-03-11 23:37:37 +00:00
renovate[bot]
d5b87cd07d fix(deps): update dependency react-reflex to v4.0.12 2023-03-11 20:29:46 +00:00
renovate[bot]
caed609114 chore(deps): update dependency autoprefixer to v10.4.14 2023-03-11 17:09:13 +00:00
renovate[bot]
4193207ce6 fix(deps): update dependency jquery to v3.6.4 2023-03-11 07:48:09 +00:00
camperbot
fafb8da7c7 chore(i18n,client): processed translations (#49652) 2023-03-10 18:28:14 +05:30
Tom
b950070f80 feat(curriculum): add college algebra cert as upcoming change (#43605)
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
2023-03-10 10:55:50 +00:00
Muhammed Mustafa
74046d1d82 refactor(client): delete honest-Policy file (#49643)
* refactor(client): clean extra element I have added by mistake

* reduce the complexicity of the file
2023-03-10 09:45:29 +01:00
camperbot
c43207b651 chore(i18n,client): processed translations (#49640) 2023-03-09 15:31:32 +01:00
Muhammed Mustafa
86c215acdd feat(client): add type reset (#49628)
* feat(client): add type reset

* downgrade babel types

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

---------

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2023-03-09 14:25:30 +00:00
Mrugesh Mohapatra
b13713c33f chore(client): rename and update analytics (#49626) 2023-03-08 15:01:22 +00:00
camperbot
da3ffe2c1b chore(i18n,client): processed translations (#49623) 2023-03-08 12:42:54 +00:00
Mrugesh Mohapatra
9f80ccd8b2 fix(tools): rename and update curriculum scripts (#49620) 2023-03-08 12:02:54 +00:00
Muhammed Mustafa
32380519f9 feat(client): clean extra CSS properties (#49608)
* feat(client): clean extra css property

* remove the extra panel default property
2023-03-08 08:37:36 +01:00
camperbot
e5136cf58d chore(i18n,client): processed translations (#49607) 2023-03-07 14:33:16 +00:00
camperbot
0a7b769b40 chore(i18n,client): processed translations (#49602) 2023-03-06 20:46:41 +05:30
renovate[bot]
85d82f998f fix(deps): update dependency @growthbook/growthbook-react to v0.12.0 (#49587)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-06 07:05:39 -08:00
Shaun Hamilton
f45d8b06dc feat(client): warn endpoint url submission (#49560)
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2023-03-06 16:24:48 +05:30
sidemt
a4ce8fa425 fix(client): prevent word wrap in Chinese & Japanese button text (#49571)
fix(client): prevent word wrap in CJK button text
2023-03-06 16:20:06 +05:30
renovate[bot]
5c7a25ff22 chore(deps): update dependency @types/react-scrollable-anchor to v0.6.1 (#49581)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-06 16:12:38 +05:30
Muhammed Mustafa
f937e89bc3 feat(client): improve card accessibility (#49566)
Co-authored-by: Bruce B <bbsmooth@gmail.com>
Co-authored-by: Co-authored-by: Bruce B <bbsmooth@gmail.com>
2023-03-06 10:41:09 +03:00
renovate[bot]
aff312410a fix(deps): update dependency algoliasearch to v4.15.0 2023-03-05 06:53:20 +00:00
renovate[bot]
ed14033d41 fix(deps): update dependency @stripe/stripe-js to v1.48.0 2023-03-05 03:39:06 +00:00
renovate[bot]
6802434ab5 chore(deps): update automerged always - codesee to v0.525.0 2023-03-05 00:13:08 +00:00
renovate[bot]
6312069bd5 chore(deps): update react monorepo 2023-03-04 14:09:39 +00:00
camperbot
3faf142dec chore(i18n,client): processed translations (#49573) 2023-03-03 18:56:26 +02:00
Naomi Carrigan
ec9fb04fb7 feat: statistics calculator (#48181)
* feat: stats calculator to step 23

* feat: complete steps

* feat: starting the tests

* feat: finish tests

* chore: manual review suggestions

* chore: apply jessica's suggestions

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

* fix: broken mathjax

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

* chore: fix typo

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

* fix: update regex, clarify first step

* feat: forgot to add solution

* chore: apply sem's review suggestions

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

* chore: apply kolade's review suggestions

* chore: apply kris' suggestions

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

---------

Co-authored-by: Jessica Wilkins  <67210629+jdwilkin4@users.noreply.github.com>
Co-authored-by: Kristofer Koishigawa <scissorsneedfoodtoo@gmail.com>
Co-authored-by: Sem Bauke <semboot699@gmail.com>
2023-03-03 17:41:25 +09: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
Oliver Eyton-Williams
66438c271f fix: add more explicit return types (#49567) 2023-03-02 17:26:40 +00:00