Commit Graph
87 Commits
Author SHA1 Message Date
Manabu Matsumoto 65bf8b61af fix(UI): make the progression lines elastic (#54678) 2024-05-21 00:54:46 -07:00
Manabu Matsumoto c5f67cebc6 fix(UI): make the progression arrows be centered (#54595) 2024-05-06 13:42:09 +03:00
Ahmad AbdolsahebandmoT01 c07524789f fix(client): map progress ui (#54576)
Co-authored-by: moT01 <20648924+moT01@users.noreply.github.com>
2024-05-01 08:22:09 -05:00
Annaandsembauke 9f7ecffc0d feat(learn): create a progress indicator map (#53963)
Co-authored-by: sembauke <semboot699@gmail.com>
2024-04-29 09:55:24 -07:00
yokoandSem Bauke e7e68cf4f3 feat(client, i18n): move help translate CTA to superblock intro (#53735)
Co-authored-by: Sem Bauke <semboot699@gmail.com>
2024-02-28 11:04:51 +07:00
Tom 3846e46483 feat(client/curriculum): make python live (#52628) 2023-12-19 19:37:12 -08:00
8f579cdec6 feat: release a2 english (first three blocks) (#52600)
Co-authored-by: mot01 <tmondloch01@gmail.com>
Co-authored-by: moT01 <20648924+moT01@users.noreply.github.com>
2023-12-19 14:58:22 -06:00
Muhammed Mustafa 3657ef24d5 refactor: make superblock icon a React component (#51901) 2023-10-11 17:30:11 +07:00
Muhammed Mustafaandahmad abdolsaheb fa5b36e67a feat: change header structure in the landing page (#51406)
Co-authored-by: ahmad abdolsaheb <ahmad.abdolsaheb@gmail.com>
2023-09-20 08:48:21 +00:00
AhmadandOliver Eyton-Williams 14a64daefd refactor(e2e,playwright): input labels to test perf and improve coverage for landing page (#51501)
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2023-09-12 09:46:38 +02:00
Oliver Eyton-Williams 391fc2e34d refactor: create shared workspace (#51454) 2023-09-07 23:06:01 +05:30
Tom 19b0c09d60 fix(client): show upcoming curriculum on maps (#51426) 2023-09-06 22:05:31 +03:00
Tom 4ed95973d2 feat(client/curriclum): make C# live (#51354) 2023-08-27 08:00:57 -05:00
Oliver Eyton-Williams e99154665e refactor: convert is-audited to TypeScript (#51232) 2023-08-14 15:50:22 +05:30
Mrugesh Mohapatra 85c5cb8e5c revert(client): progress summary on the main courses page (#50901) 2023-07-05 20:35:49 +05:30
b9cb12d24f feat(client): progress summary on the main courses page (#49010)
Co-authored-by: Muhammed Mustafa <muhammed@freecodecamp.org>
Co-authored-by: Bruce Blaser <bbsmooth@gmail.com>
Co-authored-by: Ahmad Abdolsaheb <ahmad.abdolsaheb@gmail.com>
Co-authored-by: Mrugesh Mohapatra <noreply@mrugesh.dev>
2023-07-05 20:34:49 +05:30
Tom 373e808938 refactor(config): superblocks and map (#50435) 2023-06-01 14:51:57 +02:00
Jacques Metevier 4a9c0a4886 chore: remove unused code (#50507) 2023-05-25 22:14:42 +03:00
Manabu MatsumotoandMuhammed Mustafa 9136f8e408 fix(UI): give the spacer a few standard sizes (#49723)
Co-authored-by: Muhammed Mustafa <muhammed@freecodecamp.org>
2023-03-21 08:17:42 +00:00
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
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 5ef777973a feat(client): refactor the buttons leading to the certifcations intro (#48320) 2022-10-31 18:11:51 -05:00
Tom 136f60bbef feat: move rdb order to middle of superblocks (#46138)
feat: move rdb out of beta
2022-08-10 18:48:39 +02:00
Oliver Eyton-Williams 9046d70b67 fix: use certification hours consistently (#46442)
* fix: use certification hours consistently

Since the value appearing on the /learn map was hardcoded, it could have
gone out of sync with the certifications, which were relying on
certification-settings.

Also, for simplicity (and because it's hard to estimate accurately), all
the certifications are set to 300 hours.  Fullstack being the exception,
as it is a set of certifications.

* feat: remove the hours from the map
2022-06-23 14:24:33 +03:00
Shaun HamiltonandmoT01 bcbbf8ace4 chore(client): reorder and rename rwd changes (#45972)
Co-authored-by: moT01 <20648924+moT01@users.noreply.github.com>
2022-05-16 19:40:18 +05:30
Bruce B 361a21e29f fix: remove alt text from icons (#45730) 2022-04-20 08:38:34 +02:00
Oliver Eyton-Williams 3b560deab6 refactor: stop spreading challenge over the node (#44499)
* refactor: stop spreading challenge over the node

Instead of creating a Gatsby node with id of challenge.id, we create a
single node field that has all the challenge data.

While this makes the GraphQL queries more verbose, it means we're free
to create multiple nodes with the same challenge.id.

* test: update time-line test for new GQL schema

* test: update mocks with new GQL schema
2021-12-14 12:11:20 -06:00
Nicholas Carrigan (he/him)andOliver Eyton-Williams 8372623f69 chore(curriculum): fix + test curriculum order (#44366)
* chore(tools): test curriculum order

* chore: update orders

* fix(tests): temporarily ignore cert super

The Relational Databases cert being 'upcomingChanges' is breaking
the tests.

* fix: graphql query here

* fix: use only one meta

* chore: remove unnecessary superOrders

* chore: zero-based indexing

* fix: update mock

* refactor: remove unused fixture

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2021-12-06 16:55:13 +00:00
Shaun HamiltonandOliver Eyton-Williams d75e43a1e7 chore: use constants for superblocks (#43886)
* chore: use constants for superblocks

* add prettier ts dec to challenge-helper-scripts

* config/ to ts. broken

* typescripterise tools/ and config/

* create global tsconfig, remove alternate configs

* delete temp ts->js, add to gitignore

* fix gitignore

* re-import SuperBlocks in super-block-intro.tsx

* remove renamed files added again

* fix config

* remove accidental files

* remove snap

* delete built files

* adjust eslintrc for enums

* add node types to root

* ignore build files in lint and prettier

* fix tools/ in tsconfig

* ignore annoying ts warnings

* prettierise Map/index.tsx

* fix enum to match lint rule

* rejig Map to render RWD superblock

* 'pretty minor' - implicitly tsc within root

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

* fix client/package.json for Gitpod

* broken: migrate @types to root

* fix: use typeRoots to prevent duplication

* fix show.tsx, try typeroots in root

* silly fix for duplicate node_modules types

* remove typeRoots from root

* fix: tsconfig or not tsconfig, that is the...

* fix: ...question: Whether 'tis nobler in the mind

to suffer the slings and arrows of outrageous configs...

* fix: Or to take Arms against a Sea of lint errors
And by opposing end them

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2021-11-19 19:49:40 +05:30
Vishwasa Navada K 5ffd65e4e7 chore: remove Types suffixes from client/src/redux/prop-types.ts (#44010)
* chore: remove Type suffixes from client/src/redux/prop-types.ts.

* chore: add  PropType suffixes to PropTypes in client/src/redux/prop-types.ts.
2021-11-09 14:21:46 +00:00
Zachary DixonandOliver Eyton-Williams beb179ab1c Removed duplicate map.test.tsx (#43924)
* removed duplicate Map.test.tsx

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2021-10-19 14:32:51 +04:00
Lucas Barros 2cd11a0ac8 feat: Typescript migration Map test (#43802) 2021-10-19 08:36:46 +05:30
Ahmed Ghoneim 0d1055fd08 (chore): refactor Map.test.js to map.test.tsx (#43897)
* chore: rename Map.test.js to map.test.tsx

* chore: refactor Map.test.js to typescript
2021-10-18 23:40:09 +04:00
ABHINAV SHARMA bd7a6780a9 feat(client): ts-migrate Map component (#42845)
* feat(client) Renamed index.js to index.tsx

* feat(client): ts-migrate Map component
2021-08-21 12:06:09 +01:00
Oliver Eyton-Williams e118dda13a fix: order imports and remove circular dependencies (#41824)
* fix: remove circular dependency

redux depended on templates/Challenges/redux and vice versa.  This
meant that import order mattered and confusing bugs could arise.

(cherry picked from commit 7d67a4e70922bbb3051f2f9982dcc69e240d43dc)

* feat: require imports to be in alphabetical order

Import order generally does not matter, but there are edge cases
(circular  imports and css imports, for example) where changing order
changes behaviour

(cherry picked from commit b8d1393a91ec6e068caf8e8498a5c95df68c2b2c)

* chore: order imports

* fix: lift up challenge description + title comps

This brings the classic Show closer to the others as they
now all create the description and title components

* fix: remove donation-saga/index circular import

(cherry picked from commit 51a44ca668a700786d2744feffeae4fdba5fd207)

* refactor: extract action-types from settings

(cherry picked from commit 25e26124d691c84a0d0827d41dafb761c686fadd)

* fix: lint errors

* feat: prevent useless renames
2021-08-02 08:39:40 -05:00
0a3a5e7a53 feat(client): migrate icons to TS (#42453)
* migrate files and update tests

fix: use more memory for gatsby develop (#42433)

feat(client): remove whitespace from calculated values (#42400)

* feat(client?): remove whitespace for calculated values

* feat(client): remove whitespace from styledeclaration

* do not automatically strip

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

* fix: include all properties of CSSStyleDeclaration

* fix test for getPropVal

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

fix: get showUpcomingChange from env.json (#42440)

fix(client): display legacy certs like current ones (#42038)

* fix: display legacy certs like the current ones

* fix: link projects in legacy certs to project pages

* fix: update tests to changed legacy cert display

* fix: update tests for removed legacy certs forms

* fix: display legacy certs like the current ones

* fix: submit projects for cert on projects pages

* fix: remove legacy certs form submitting handling

* fix: move claiming cert setup before both tests

* fix: remove legacy cert update props and actions

* fix: remove legacy cert updates from api

* fix: correct merge conflict

fix(curriculum): rework Project Euler 98 (#42423)

* fix: rework challenge to use argument in function

* fix: add solution

* fix: use MathJax to improve math notation

fix(curriculum): rework Project Euler 56 (#42364)

* fix: rework challenge to use argument in function

* fix: add solution

* fix: use MathJax to improve look of math notation

fix(curriculum): correct small english typo (#42447)

chore: group together monaco-editor and plugin (#42443)

This should get renovate to create PRs where both are modified.

fix(deps): update dependency algoliasearch to v4.9.2 (#42432)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

migrate files and update tests

Algorithm moved to TSX

first ten files renamed to tsx

first 10 migration complete

first 20 files renamed

migrate some files. rename all

test

index.tsx forced to ignore ts issues

rename and migrate all files

update tests

* remove missed propType declarations

* kebab-caseify

* fi xlinting

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
Co-authored-by: Parth Parth <thecodingaviator@users.noreply.github.com>
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
2021-06-30 20:50:56 +05:30
Huyen Nguyen 2c16234853 chore: add jest global variables (#42573) 2021-06-20 09:14:42 +02:00
Mrugesh Mohapatra a378bc6dd4 chore: rework the language audits for build (#42510)
This also reverts commit cd5c28b332.
2021-06-15 23:07:52 +05:30
Nicholas Carrigan (he/him) cd5c28b332 revert: disable portuguese (#42508)
* revert: disable portuguese

First certification is not 100% yet. Shipped too soon. :(

* feat: enable portuguese curriculum

Curriculum can build in portuguese, leaving client disabled to
prevent language from appearing in nav bar.

* feat: move audited cert list

Moves the audited cert list to the config, instead of the utils.
2021-06-15 21:32:29 +05:30
Mrugesh MohapatraandOliver Eyton-Williams ad9b1f89d8 fix(api, client): update Gatsby, webpack & related things (#41452)
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2021-03-25 12:13:43 -07:00
Nicholas Carrigan (he/him) f1c8a9825b fix(i18n,client): translatable cta url (#41384) 2021-03-12 17:14:54 -07:00
Oliver Eyton-Williams 97fcaa693f refactor: only use dasherized superBlock (#41067) 2021-02-13 10:36:04 +05:30
Nicholas Carrigan (he/him) 1e0c09faff fix(i18n, client): use placeholder on map (#41064)
Modifies the translation flow for the certification buttons on the
learn/landing map to pass the superBlock title to the string as a
placeholder. This will allow translators to restructure the order
of the sentence (i.e. certification and hours) based on language-
specific grammar structures.
2021-02-12 10:16:11 +01:00
6c1f6bebed feat: label un-audited challenges (#41002)
Co-authored-by: Nicholas Carrigan <nhcarrigan@gmail.com>
Co-authored-by: Mrugesh Mohapatra <me@raisedadead.com>
Co-authored-by: Ahmad Abdolsaheb <ahmad.abdolsaheb@gmail.com>
Co-authored-by: Mrugesh Mohapatra <1884376+raisedadead@users.noreply.github.com>
2021-02-11 18:10:32 +05:30
Kristofer Koishigawa 9ec8aa3db4 fix: update intro pages and learn map (#40745) 2021-01-31 12:15:39 +05:30
TomandKris Koishigawa 625469c82f feat: improve ui/ux learn map (#40579)
Co-authored-by: Kris Koishigawa <scissorsneedfoodtoo@gmail.com>
2021-01-31 12:15:39 +05:30
Kabindra Shrestha ac3d762bb5 fix(learn): split and simplified learn map (#39154) 2021-01-31 12:15:35 +05:30
TomandOliver Eyton-Williams 3978c6be28 feat: i18n user interface (#40306)
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2021-01-31 12:15:32 +05:30
Oliver Eyton-Williams b9db30f7a1 refactor(client): move jest-dom into setup file 2020-10-12 14:11:52 +02:00
Oliver Eyton-Williams ed2840cb1c refactor: use dashedName over dasherize(title) 2020-10-06 23:10:08 +05:30