Commit Graph

351 Commits

Author SHA1 Message Date
Ahmad Abdolsaheb
fc90298784 feat(client): rotate paypal 5/monthly prod (#51191) 2023-08-10 14:24:57 +09:00
Oliver Eyton-Williams
7a695b12ba refactor: DRY using Certification enum (#51176) 2023-08-07 17:39:36 -07:00
Oliver Eyton-Williams
c66ae824c2 refactor: drop strings from SuperBlockStages (#51178) 2023-08-07 09:32:10 -05:00
Oliver Eyton-Williams
8d0c3557dd refactor: move client specific scripts inside client (#51123) 2023-08-05 15:43:13 +00:00
Tom
80dba8fd30 feat(api): create endpoints for exams (#51062)
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2023-08-03 09:34:47 -05:00
Oliver Eyton-Williams
f91b5841d3 feat(client): remove gitHash from api requests (#51083) 2023-07-28 20:35:41 +02:00
Oliver Eyton-Williams
69d6ee32bf feat: python in the browser (#50913)
Co-authored-by: Beau Carnes <1513130+beaucarnes@users.noreply.github.com>
2023-07-28 07:36:25 +02:00
Oliver Eyton-Williams
9441f781fd refactor: move challenge types to config (#51027) 2023-07-24 13:12:47 -07:00
Oliver Eyton-Williams
b1e2acdf9f fix: remove unused modules (#51034) 2023-07-21 09:37:38 +00:00
B.yashwanth
45c8d14b44 feat: add share in twitter button to the end of project. (#49395)
Co-authored-by: Muhammed Mustafa <muhammed@freecodecamp.org>
Co-authored-by: ahmad abdolsaheb <ahmad.abdolsaheb@gmail.com>
Co-authored-by: Muhammed Mustafa <MuhammedElruby@gmail.com>
2023-07-21 11:24:52 +03:00
Tom
aa5d89581d fix(client): hide Swahili from language selector (#50900) 2023-07-05 08:40:53 -07:00
Hillary Nyakundi
c4b33cf533 feat: enable Swahili language (#50824) 2023-07-03 09:45:21 -07:00
Oliver Eyton-Williams
70770d51f2 fix: translate audited portuguese superblocks (#50736) 2023-06-20 20:25:39 +09:00
Tom
5e04985c93 feat(curriculum): add C# superblock (#50646)
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2023-06-14 13:36:39 +02:00
Tom
373e808938 refactor(config): superblocks and map (#50435) 2023-06-01 14:51:57 +02:00
Dario-DC
ba655f3e7c chore(i18n, learn): added 2 translated certs to Italian curriculum (#50479)
* added 2 translated certs to Italian curriculum

* swapped certs order
2023-05-23 08:30:58 -07: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
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
DanielRosa74
a267f5a6d9 chore(i18n,learn): include 2 translated certs in Portuguese curriculum (#50316)
* Update superblock-order.ts

Added College algebra and Project Euler to Audited

Co-authored-by: Muhammed Mustafa <muhammed@freecodecamp.org>
2023-05-09 10:46:43 +02: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
Jake Hathaway
293fb65063 fix: update ChineseTrandational to ChineseTraditional (#50188) 2023-04-26 05:54:13 +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
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
Naomi Carrigan
9f65f701b0 chore: audit the audited certs (#49988) 2023-04-17 11:48:27 -07:00
Oliver Eyton-Williams
5ea1f4fffc feat: add githash as query param (#49960) 2023-04-05 21:15:51 +05:30
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
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
Naomi Carrigan
c51104557c chore(tools): remove crowdin configs (#49699) 2023-03-14 05:22:59 +02:00
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
Oliver Eyton-Williams
4ff00922da refactor: fix hidden eslint errors (#49365)
* refactor: explicit types for validate

* refactor: explicit return types for ui-components

* refactor: use exec instead of match

* refactor: add lots more boundary types

* refactor: more eslint warnings

* refactor: more explicit exports

* refactor: more explicit types

* refactor: even more explicit types

* fix: relax type contrainsts for superblock-order

* refactor: final boundaries

* refactor: avoid using 'object' type

* fix: use named import for captureException

This uses TypeScript (which works) instead of import/namespace
(which doesn't) to check if captureException exists in sentry/gatsby
(it does)
2023-02-13 07:13:50 -08:00
a2937
1cc6c55469 Chore : Migrate universal-navigation.js (#49337) 2023-02-11 07:57:47 +00:00
Sem Bauke
928dcbe08c feat: transfer The Odin Project to its own superblock (#49202)
* feat: the odin-project superblock

* feat: break everything

* fix: correct meta names

* fix: meta again

* fix: tests

* fix: help category and external curriculum test

* fix: file names again

* fix: help category

* fix: remove console log

---------

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2023-02-08 15:21:03 +01:00
Ahmad Abdolsaheb
5bc8c5d2d0 feat(client): add ES GTM id (#49057)
* feat(client): add ES GTM id

* Update client/src/analytics/index.ts

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

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2023-01-19 13:17:49 +02:00
Lars Kappert
a4795b41c3 chore: update knip & config (#48963)
* Re-add knip to manifest devDependencies

* Move updated config to root folder

* Move knip back to `npx y` in npm script

Also see https://github.com/freeCodeCamp/freeCodeCamp/pull/48963#pullrequestreview-1239748056

* Bump knip to fix dependency issue
2023-01-09 16:55:28 +01:00
Ahmad Abdolsaheb
8b5838ef23 fix(client): GA to GTM Migration (#48811) 2023-01-07 11:36:45 +05:30
Oliver Eyton-Williams
0a20f8fd73 refactor: remove a lot of unused code (#48935)
Co-authored-by: Naomi Carrigan <nhcarrigan@gmail.com>
2023-01-07 10:33:35 +05:30
Rafael D. Hernandez
74ead7d212 chore(UI):move new RWD to top for ES (#48915)
* chore(UI):move new RWD to top for ES

* fix: tests

Co-authored-by: moT01 <20648924+moT01@users.noreply.github.com>
2023-01-04 06:15:36 +02:00
Ahmad Abdolsaheb
a73996c174 Revert "fix(client): expose donate button on navigation bar" (#48902)
Revert "fix(client): expose donate button on navigation bar (#48820)"

This reverts commit 959d667aeb.
2023-01-03 18:26:15 +05:30
Ahmad Abdolsaheb
959d667aeb fix(client): expose donate button on navigation bar (#48820)
* feat: expose donate nav button

* feat: add the ignores

* fix: adjust tests

* feat: adjust nav button styles
2023-01-03 10:40:47 +01:00
Ahmad Abdolsaheb
bff61255f9 feat(donation): simplify donation client (#46379)
* feat: unify post payment actions

* feat: handle stripe card error and add donation after auth

* feat: add donation saga stripe test

* feat: add more coverage to stripe tests

* feat: add initial stripe card saga test

* feat: finalize initial stripe card saga test

* feat: add patreon test saga

* feat: test clean up

* feat: do not show processing for Patreon

* feat: normalize donation settings

* feat: turn payment provider/contex to enum

* feat: remove donation-settings.js

* fix: git ignore generated config

* fix: ignore the generate config from everything

* fix: remove types.js

* fix: update linting to include types.js

Co-authored-by: Mrugesh Mohapatra <1884376+raisedadead@users.noreply.github.com>
2022-12-20 18:03:06 +05:30
Oliver Eyton-Williams
cf4af546fc fix: hide arabic until it's deployed (#48795) 2022-12-19 13:52:19 +00:00
Muhammed Mustafa
4291e153f7 feat: add RTL language layout (#48287)
* add the previous layout

* add the import logic

Co-authored-by: Nestor <elnestinatorHD@gmail.com>

* WIP: RTL layout

* WIP: code snippet

* WIP: RTL layout

* WIP: RTL layout

* WIP: add selector that don't work

* WIP: fix code in tables direction

* change the dynamic import to static import

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

* remove redundant imports

* fix the broken splitter and broken code element

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

* revert the wrapper editor layout

* WIP: Timeline RTL layout

* add row reverse to account for splitter direction reverse

* Revert "add row reverse to account for splitter direction reverse"

This reverts commit f67ad002c8.

* add row reverse to account for splitter direction reverse

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

* mirrior the nav bar by placing the logo in the right

* Use notosans as RTL font family

* Remove Arabic from the hiddenLangs

* fix(feedbac): the search and table alignment

Co-authored-by: Zaira <33151350+zairahira@users.noreply.github.com>

* fix(feedback): text alignment, icons rotation

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

* Revert "fix(feedback): text alignment, icons rotation"

This reverts commit 0c6dc4f909.

* fix(feedback): text-alignment, and icon rotation

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

Co-authored-by: Nestor <elnestinatorHD@gmail.com>
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
Co-authored-by: Ahmad Abdolsaheb <ahmad.abdolsaheb@gmail.com>
Co-authored-by: Zaira <33151350+zairahira@users.noreply.github.com>
Co-authored-by: moT01 <20648924+moT01@users.noreply.github.com>
2022-12-16 18:03:18 +02:00
YMatsuda
cd06fbfd63 chore(UI): move new RWD to top in Japanese (#48596) 2022-11-25 10:53:04 -08:00
Tom
5f73773cd4 feat(client): move legacy rwd button to bottom of map (#47596)
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
Closes https://github.com/freeCodeCamp/freeCodeCamp/issues/46523
2022-11-08 21:00:46 +05:30
Muhammed Mustafa
52953a5b95 feat(client): add rtl direction attribute to html element (#48245)
* feat(client): add rtl direction attribute to html element

* WIP: add LangDirection as base for direction attribute selection

* DRY rtlLanguages for easier future usage

Co-authored-by: Mrugesh Mohapatra <hi@mrugesh.dev>

* Remove urdu, to avoid unknown bugs

* Fix merge conflict, by clearing import values

Co-authored-by: Mrugesh Mohapatra <hi@mrugesh.dev>
2022-10-28 08:13:09 +02:00
Mrugesh Mohapatra
b393d88b9e refactor: s/all-langs/i18n/g (#48258) 2022-10-26 10:08:27 -07:00
Muhammed Mustafa
af00febdbb feat(i18n): add Arabic language config to all langs (#48128)
* feat: add Arabic language config to all langs

* add arabic to hiddenLangs

* change the superblock to the new RWD certification

* add Arabic to beta release section
2022-10-21 19:30:21 +09:00
Lars Kappert
f22e4002c3 feat(tools): introduce knip to find unused files, dependencies & exports (#47836)
* chore(deps): add exportman to devDependencies

* chore(client): add exportman config for /client folder

* chore: migrate from exportman to knip

* chore: add npm script

* chore: prepare npm script for usage in CI
2022-10-20 12:44:36 +02:00
Ahmad Abdolsaheb
0df7ee430d feat(client): add growthbook (#48003)
* feat: initial set up

* feat: useFeature setup

* feat: adjust attributes

* chore(client): remove ts-disables in growth-book-wrapper

* feat: pull growthbook uri from env

* feat: adjust the staff atribute

* feat: make linter happy

* feat: update recruitment message

* refactor: simplify types

* chore: delete unused config

* fix: update copy

* fix: add growthbookUri to expected env vars

Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2022-10-17 14:53:25 +02:00