Commit Graph

932 Commits

Author SHA1 Message Date
renovate[bot]
5cd684df52 fix(deps): update dependency react-router-dom to v6.12.1 2023-06-11 07:23:30 +00:00
renovate[bot]
f29c9a8724 chore(deps): update react monorepo 2023-06-10 13:50:31 +00:00
renovate[bot]
49fd73faff chore(deps): update dependency @types/codemirror to v5.60.8 2023-06-10 07:03:25 +00:00
renovate[bot]
3e46486bea chore(deps): update babel monorepo to v7.22.5 2023-06-10 03:17:35 +00:00
Jacques Metevier
1f9c1e9d21 chore(deps): upgrade eslint (#50614)
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2023-06-06 17:58:27 +02:00
renovate[bot]
5717ab9de9 chore(deps): update dependency dotenv to v16.1.4 2023-06-04 18:31:01 +00:00
renovate[bot]
d26ab87189 chore(deps): update dependency mongodb to v5.6.0 2023-06-03 15:42:44 +00:00
renovate[bot]
c77acf1749 fix(deps): update dependency @headlessui/react to v1.7.15 2023-06-03 12:03:47 +00:00
renovate[bot]
189aa2fa0a chore(deps): update dependency @types/jest to v29.5.2 2023-06-03 07:34:57 +00:00
renovate[bot]
2fec1add02 chore(deps): update babel monorepo 2023-06-03 05:34:34 +00:00
Naomi Carrigan
5cf2228e84 feat(tools): repair-meta script (#50475) 2023-06-01 17:42:24 +00:00
Tom
373e808938 refactor(config): superblocks and map (#50435) 2023-06-01 14:51:57 +02:00
renovate[bot]
64a5238af0 chore(deps): update dependency postcss to v8.4.24 2023-05-28 14:01:35 +00:00
renovate[bot]
f1a11672cc chore(deps): update babel monorepo 2023-05-27 18:33:51 +00:00
renovate[bot]
06b065723e chore(deps): update dependency @types/react to v16.14.42 2023-05-27 08:54:10 +00:00
Oliver Eyton-Williams
41372c31cd chore(tools): update mongodb in seed script (#50519) 2023-05-25 22:13:37 +01:00
Niraj Nandish
b688a82f43 feat(client): generate challenge data as static files (#50369)
* feat(client): generate challenge data as static files

* chore: hopefully this is better types

* fix: add declaration file

* fix: schema issues

---------

Co-authored-by: sembauke <semboot699@gmail.com>
2023-05-23 08:37:49 -07:00
Oliver Eyton-Williams
6521b9bd90 chore: add unsubscribeIds to demo users (#50468)
Real users get this property when created, so it should be in the demo
users too.
2023-05-22 16:14:31 +02:00
renovate[bot]
382b2fc2bd fix(deps): update dependency react-router-dom to v6.11.2 2023-05-20 13:35:50 +00:00
renovate[bot]
1b913eba52 chore(deps): update dependency @types/node-fetch to v2.6.4 2023-05-20 11:15:42 +00: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
Oliver Eyton-Williams
7749aed5d5 chore: add externalId to seed scripts (#50407)
It's in the schema, so it should be in the seeded users
2023-05-17 08:31:54 -07: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
renovate[bot]
a2cf596599 chore(deps): update dependency node-fetch to v2.6.11 2023-05-13 05:52:28 +00:00
renovate[bot]
f7d9421a24 fix(deps): update dependency react-router-dom to v6.11.1 2023-05-06 22:18:42 +00:00
renovate[bot]
b23b9d4414 chore(deps): update dependency @types/react to v16.14.41 2023-05-06 16:36:09 +00:00
renovate[bot]
31619ecb52 chore(deps): update babel monorepo 2023-05-06 08:18:33 +00:00
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