Commit Graph

905 Commits

Author SHA1 Message Date
Tom
d02bb663c4 refactor(curriculum): move helpCategory to block meta.json file (#50265)
* refactor: move helpCategory to block meta

* fix: test?
2023-05-04 08:46:58 +02:00
Muhammed Mustafa
cc272beb7a feat(tools): use context to set dropup in the dropdown (#50200)
* feat(tools): use context to set dropup in the dropdown

* remove the extra export

* clean extra changes export and make it into arrow function

Co-authored-by: Huyen Nguyen <25715018+huyenltnguyen@users.noreply.github.com>

---------

Co-authored-by: Huyen Nguyen <25715018+huyenltnguyen@users.noreply.github.com>
2023-05-03 11:02:15 +02:00
renovate[bot]
f5b86a197b fix(deps): update dependency react-router-dom to v6.11.0 2023-04-30 11:49:30 +00:00
renovate[bot]
ebc54d8d56 chore(deps): update dependency tailwindcss to v3.3.2 2023-04-29 17:47:19 +00:00
renovate[bot]
83535810e9 chore(deps): update dependency joi to v17.9.2 2023-04-29 14:22:14 +00:00
renovate[bot]
6c6ca6c20c chore(deps): update babel monorepo 2023-04-29 09:50:23 +00:00
Muhammed Mustafa
c93d61f1e5 feat(client, tools): make ui component respect theme (#50202)
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2023-04-28 12:44:12 +03: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
Moshe
21e5470220 feat(ui-tools): add dropDown component (#47043)
* Create a drop down menu

Co-authored-by: ahmad abdolsaheb <ahmad.abdolsaheb@gmail.com>
Co-authored-by: moshe vilner <shootermv@gmail.com>

hopefully sort the tests

hopefully sort the test this time

this time? I hope

test compound component

I give up

This reverts commit d88c6783cccf811c3c5dced0ab980adff0172669.

headless doesn't pass onclick to its buttons children

add the logical statment back

revert the removing the ability to click

sort the tests

fix a typo

* sort the tests

* rename to menu item

* let dropdown trigger accept children

* include dropdown and menu items in the exports

* polish the logic around setting the dropup style

* add tests

* fix: typo DropDown to Dropdown

* sort the styles

* sort the type and add bsStyle to dropdownToggle

* fix: types in button and menu items

* align text to center

* remove the bsstyle and block logic from dropdown

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

* add w-full to sort default button not taking all width

* move the styling dependecy away from dev

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

* stop the mutation

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

* remove the extra story

---------

Co-authored-by: Sboonny <muhammedelruby@gmail.com>
Co-authored-by: Sboonny <muhammed@freecodecamp.org>
Co-authored-by: ahmad abdolsaheb <ahmad.abdolsaheb@gmail.com>
Co-authored-by: sembauke <semboot699@gmail.com>
2023-04-24 10:05:25 +02:00
renovate[bot]
7a9f95c454 chore(deps): update dependency prettier to v2.8.8 2023-04-23 18:23:14 +00:00
renovate[bot]
0e2e46a14b chore(deps): update dependency postcss to v8.4.23 2023-04-23 03:48:13 +00:00
renovate[bot]
7fbacb52a2 chore(deps): update dependency @uiw/react-codemirror to v3.2.10 2023-04-23 01:03:26 +00:00
renovate[bot]
b1ac1d2baa chore(deps): update dependency @types/jest to v29.5.1 2023-04-22 16:14:16 +00:00
Ahmad Abdolsaheb
94141eae56 feat(tools): adjust @freecodecamp/ui config for linking/publishing (#50098) 2023-04-20 18:35:07 +03:00
Muhammed Mustafa
6b869ec375 feat(tools): add panel component (#49398)
* run panel gen code

* add the default style

* add tthe styles for the panel

* create context of bsStyle

* add panel heading

* add panel title

* add panel body

* create the story for the panel

* typo hiding the border

* border doesn't work for some reason

* only border-3 works in tailwind

* change for border-1 for better visual indication

* fix: bsStyle not applying to the panel

* add html props to the elements

* remove the info colors for our info colors

* fix heading style

* add Panel test

* use to have Class instead

* fix type

* component disregarding default attributes?

* remove duplication in the test

* use compound components

* clean the old logic for the bsStyle

* clean the exports

* add heading and bsstyle control

* fix the classes

* check for title body render

* remove extra types

---------

Co-authored-by: Ahmad Abdolsaheb <ahmad.abdolsaheb@gmail.com>
2023-04-19 16:37:13 +02:00
Muhammed Mustafa
27c75679cd fix(tools): sort small issues in formControl (#49872) 2023-04-18 20:01:36 +05:30
renovate[bot]
54cc79ac4b chore(deps): update dependency postcss to v8.4.22 2023-04-16 18:35:39 +00:00
renovate[bot]
2a868ddc67 chore(deps): update dependency @types/react to v16.14.40 2023-04-15 09:14:09 +00:00
Oliver Eyton-Williams
b1929258c0 chore: remove remnants of comment counting code (#49704)
* chore: remove unused scripts

* chore: remove unused comment counting code

* Update tools/challenge-parser/translation-parser/index.js

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

---------

Co-authored-by: Sem Bauke <semboot699@gmail.com>
Co-authored-by: Naomi Carrigan <nhcarrigan@gmail.com>
2023-04-13 08:47:02 -07:00
Oliver Eyton-Williams
b5bcf16349 fix: blocknameify no longer (#49997)
Remove `blocknameify` function, and adjust curriculum meta as needed
2023-04-10 21:21:00 +05:30
renovate[bot]
f1141c90c3 fix(deps): update dependency react-router-dom to v6.10.0 2023-04-09 16:38:13 +00:00
renovate[bot]
5169ac1e37 chore(deps): update dependency @uiw/react-codemirror to v3.2.9 2023-04-08 18:20:33 +00:00
Muhammed Mustafa
210d75c23c refactor(client): move to uiw react codemirror for challenge editor (#49323)
* refactor(client): move to uiw react codemirror

use editor value to set the input

revert my test which I added by mistake

Remove the state test

update pnpm lock

* fix the broken lock file

* rename the file for clearance

* Move the old properties to the old classs

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

* fix typo

---------

Co-authored-by: Naomi Carrigan <nhcarrigan@gmail.com>
2023-04-07 21:19:37 +02:00
renovate[bot]
762f35c385 chore(deps): update dependency tailwindcss to v3.3.1 (#49921)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-06 18:58:21 +02:00
renovate[bot]
88b923e553 chore(deps): update dependency @types/react to v16.14.38 (#49919)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-06 16:02:14 +05:30
Oliver Eyton-Williams
5ea1f4fffc feat: add githash as query param (#49960) 2023-04-05 21:15:51 +05:30
renovate[bot]
97325f03b5 chore(deps): update dependency @types/node-fetch to v2.6.3 2023-04-05 04:14:10 +00:00
renovate[bot]
314c978524 chore(deps): update babel monorepo to v7.21.4 2023-04-04 07:21:28 +00:00
Muhammed Mustafa
6e89d3b2dd feat(tools): remove assertion in params inside challenge editor (#49931) 2023-04-03 18:38:22 +00:00
Muhammed Mustafa
3988d426f5 feat(tools): remove system colors variables from colors.css (#49870) 2023-04-03 14:06:18 +05:30
Naomi Carrigan
d1d5b2635f fix: use superblock name in intro.md for new projects (#49897)
Co-authored-by: Mrugesh Mohapatra <1884376+raisedadead@users.noreply.github.com>
2023-03-30 10:59:22 +00:00
Mrugesh Mohapatra
e5590e56d7 chore: use pnpm v8 for deps (#49892)
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
2023-03-29 20:18:49 +05:30
Muhammed Mustafa
e3b25be4d9 chore(tools): create formgroup component (#46758)
Co-authored-by: Ahmad Abdolsaheb <ahmad.abdolsaheb@gmail.com>
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2023-03-27 13:39:18 +05:30
renovate[bot]
1383e2d943 chore(deps): update dependency joi to v17.9.1 2023-03-25 23:37:06 +00:00
renovate[bot]
95708c692a chore(deps): update dependency prettier to v2.8.7 2023-03-25 07:58:27 +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
Sem Bauke
864df54011 feat(tools): redirect generation script (#49798)
* feat: redirect generation script

* feat: add comment

* Apply suggestions from code review

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

---------

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2023-03-23 08:19:21 -07:00
renovate[bot]
7ecf6a44bc chore(deps): update jest monorepo to v29 (major) (#49775)
* chore(deps): update jest monorepo to v29

* chore: install jest-environment-jsdom

* chore: update snapshots

* fix: update config to transform nanoid+uuid

* chore: update babel's node target

This does not seem strictly necessary, but is probably for the best.

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2023-03-21 12:37:23 +00:00
Muhammed Mustafa
6c0f2d0998 fix(tools): FromControl disregard the default attributes (#49411)
Co-authored-by: ahmad abdolsaheb <ahmad.abdolsaheb@gmail.com>
2023-03-21 14:05:55 +05:30
renovate[bot]
1c793d39b7 chore(deps): update dependency joi to v17.8.4 2023-03-18 23:07:53 +00:00
renovate[bot]
c94962a825 chore(deps): update babel monorepo 2023-03-18 21:49:50 +00:00
Oliver Eyton-Williams
d65c36e4c3 feat: replace rimraf with rm -rf (#49711)
* feat: replace rimraf with rm -rf

rimraf may not be available, but rm will be

* chore(deps): remove rimraf
2023-03-16 12:34:31 +05:30
Muhammed Mustafa
ea83d87869 feat(tools): export Alertprops if needed for consumption (#49236)
Co-authored-by: Ahmad Abdolsaheb <ahmad.abdolsaheb@gmail.com>
2023-03-15 16:27:07 +03: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
Rajkumar Gaur
f03c4a2ecc feat(UI): implement ToggleButton component (#48567) 2023-03-15 14:08:58 +03:00
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
renovate[bot]
61be2c68b0 fix(deps): update dependency react-router-dom to v6.9.0 2023-03-12 12:05:26 +00:00
renovate[bot]
caed609114 chore(deps): update dependency autoprefixer to v10.4.14 2023-03-11 17:09:13 +00: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
Mrugesh Mohapatra
9f80ccd8b2 fix(tools): rename and update curriculum scripts (#49620) 2023-03-08 12:02:54 +00:00