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
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
Mrugesh Mohapatra
50bc79fde7
fix(tools): rename and update seed user config ( #49619 )
2023-03-08 12:27:14 +01:00
Mrugesh Mohapatra
0393910a24
fix(client): add return type to component ( #49616 )
2023-03-07 17:07:55 +00:00
Muhammed Mustafa
040faba6f8
feat(ui-components): add ControlLabel component ( #47219 )
2023-03-07 20:58:29 +05:30
renovate[bot]
a5d31659bc
fix(deps): update dependency react-router-dom to v6.8.2
2023-03-04 21:10:50 +00:00
renovate[bot]
6312069bd5
chore(deps): update react monorepo
2023-03-04 14:09:39 +00: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
renovate[bot]
286573c30d
chore(deps): update dependency debug to v4.3.4
2023-02-25 08:01:08 +00:00
renovate[bot]
140694a447
chore(deps): update dependency tailwindcss to v3.2.7 ( #49428 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-18 12:05:39 -08:00
Muhammed Mustafa
d1166f0a3a
refactor(tools): import close button props and stop reassigning its value ( #49235 )
...
refactor(tools): import close button props and stop reassigning its value
2023-02-18 08:18:40 -08:00
renovate[bot]
0e3059cc9d
fix(deps): update dependency react-router-dom to v6.8.1 ( #49345 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-17 22:55:32 +05:30
Naomi Carrigan
26367a17c7
chore: remove crowdin scripts ( #49374 )
2023-02-14 09:53:38 +02: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
renovate[bot]
8aa35385a0
chore(deps): update dependency prettier to v2.8.4 ( #49341 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-11 10:47:49 +00:00
renovate[bot]
3065d7cab7
chore(deps): update dependency tailwindcss to v3.2.6 ( #49342 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-11 10:47:01 +00:00
Muhammed Mustafa
47ffd20f74
fix(client): add type to warn misuse of attributes in formControl ( #48696 )
...
* feat: add type to warn miss usage of attributes in formControl
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
* refactor the value type
Co-authored-by: sembauke <semboot699@gmail.com>
* add condition type for readyonly and onchange types
* warn when using readonly and onchange props together
Co-authored-by: Ahmad Abdolsaheb <ahmad.abdolsaheb@gmail.com>
* allow value to be undefined
* Make read-only undefined
Co-authored-by: Ahmad Abdolsaheb <ahmad.abdolsaheb@gmail.com>
---------
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
Co-authored-by: sembauke <semboot699@gmail.com>
Co-authored-by: Ahmad Abdolsaheb <ahmad.abdolsaheb@gmail.com>
2023-02-10 13:24:23 +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
renovate[bot]
e536ba5224
fix(deps): update dependency typescript to v4.9.5
2023-02-04 19:39:26 +00:00
renovate[bot]
33f9825164
fix(deps): update dependency node-fetch to v2.6.9
2023-02-04 17:50:42 +00:00
renovate[bot]
0d90c6810b
chore(deps): update dependency @types/express to v4.17.17
2023-02-04 04:35:25 +00:00
Naomi Carrigan
6221b2b1a5
chore: rename files in challenge editor to kebab case ( #49224 )
...
chore: rename files
2023-02-02 07:59:02 +01:00
renovate[bot]
71c4a55bf4
fix(deps): update dependency react-router-dom to v6.8.0 ( #49190 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-30 11:45:50 +05:30
renovate[bot]
1ec4d740eb
chore(deps): update storybook monorepo to v6.5.16
2023-01-29 22:47:17 +00:00
renovate[bot]
06c4a32202
chore(deps): update dependency @types/codemirror to v5.60.7
2023-01-28 07:46:43 +00:00
Muhammed Mustafa
b35e8166c0
feat(tools): add system pallet to ui components color ( #49125 )
2023-01-27 10:45:21 -06:00
Sem Bauke
901ca9d9a2
fix(client): multiple issues the odin project ( #49075 )
...
* fix: multiple issues
* fix: show expand collaps button
* fix: make variable instead
* fix: console log
2023-01-25 18:59:26 +05:30
renovate[bot]
aac04e93c2
fix(deps): update dependency react-router-dom to v6.7.0
2023-01-22 10:59:01 +00:00
Sem Bauke
df53c7778c
feat: integrate The Odin Project ( #48617 )
...
* feat: integrate the odin project
* feat: add assignment to markdown parser
* feat: add assignment logic
* fix: doe not always show assignment block
* fix: some other stuff
* fix: introdiction to html and css questions
* fix: remove assignments after first question
* fix: update snapshots and tests
* feat: create rest of HTML foundation course structure
* feat: meta file
* feat: add descriptions to 'html boiler plate' questions
* feat: add description for 'working with text and list items'
* fix: multiple logic issues
* fix: make linter happy
* feat: add description for 'links and images' questions
* fix: add assignments to Joi schema
* fix: tests
* fix: schema
* fix: add help category
* fix: change to possessive wording
* fix: set upcoming change to true in meta file
* fix: spell unordered and ordered correctly
* fix: switch order in meta
* fix: spell boilerplate correctly
* feat: add final project
* chore: add more tests to the final project
* fix: question spelling
* Apply suggestions from code review
Co-authored-by: Naomi Carrigan <nhcarrigan@gmail.com>
* Apply suggestions from code review
Co-authored-by: Naomi Carrigan <nhcarrigan@gmail.com>
* Apply suggestions from code review
Co-authored-by: Naomi Carrigan <nhcarrigan@gmail.com>
* Apply suggestions from code review
Co-authored-by: Naomi Carrigan <nhcarrigan@gmail.com>
* Apply suggestions from code review
Co-authored-by: Naomi Carrigan <nhcarrigan@gmail.com>
* Apply suggestions from code review
Co-authored-by: Naomi Carrigan <nhcarrigan@gmail.com>
* fix: translation
* Update client/i18n/locales/english/translations.json
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
* fix: create new challenge type
* fix: get the new challenge type working and remove ol css
* fix: translation location
* fix: add challenge type to epic
* fix: set correct video
* fix: max challengeType number
* fix: spelling/grammar errors in project
* fix: check if anchor tags is empty
* Apply suggestions from code review
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
* Update tools/challenge-parser/parser/plugins/add-video-question.js
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
* chore: multiple suggestions
* chore: separate assignments into different plugin
* Apply suggestions from code review
Co-authored-by: Kristofer Koishigawa <scissorsneedfoodtoo@gmail.com>
* fix: dubble answer header after review
* fix: issue with Gatsby hopefully
* fix: add assignments to Gatsby's Challenge schema
* Update curriculum/schema/challengeSchema.js
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
Co-authored-by: Naomi Carrigan <nhcarrigan@gmail.com>
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
Co-authored-by: Kristofer Koishigawa <scissorsneedfoodtoo@gmail.com>
2023-01-19 14:55:26 +02:00
renovate[bot]
fdc429e508
fix(deps): update dependency react-router-dom to v6.6.2
2023-01-15 04:08:22 +00:00
renovate[bot]
8f7dd2ea9a
fix(deps): update dependency node-fetch to v2.6.8
2023-01-15 00:06:35 +00:00
renovate[bot]
f53b19ac95
chore(deps): update dependency prettier to v2.8.3
2023-01-14 10:49:47 +00:00
renovate[bot]
e0e8356d56
chore(deps): update dependency prettier to v2.8.2
2023-01-08 21:24:01 +05:30
renovate[bot]
cc0514ea35
chore(deps): update dependency postcss to v8.4.21
2023-01-07 15:06:15 +00:00
renovate[bot]
0b6efdbe40
chore(deps): update babel monorepo to v7.20.12
2023-01-07 08:31:49 +00:00
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
Oliver Eyton-Williams
3c93f73b2d
refactor: better error logging ( #48903 )
...
* refactor: log full error, not .message and .stack
* refactor: improve missing comments error message
2023-01-03 11:58:42 +00:00
Jordan Moore
bfec58f744
test(UI): add tests to the table spec ( #48823 )
...
feat: add tests to table spec
2023-01-02 23:18:07 +05:30
renovate[bot]
4d78b238c6
chore(deps): update dependency @types/codemirror to v5.60.6
2022-12-31 05:07:01 +00:00
renovate[bot]
b1e143a2ef
fix(deps): update dependency react-router-dom to v6.6.1
2022-12-25 01:04:19 +00:00
renovate[bot]
1c73c1c6d5
chore(deps): update storybook monorepo to v6.5.15
2022-12-24 13:26:18 +00:00
renovate[bot]
3dde77a637
chore(deps): update babel monorepo
2022-12-24 04:48:39 +00:00
renovate[bot]
288ee08c54
Update dependency react-router-dom to v6.5.0
2022-12-17 18:10:30 +00:00
renovate[bot]
10f052167b
chore(deps): update dependency @types/express to v4.17.15
2022-12-17 05:16:57 +00:00
Muhammed Mustafa
35c3a93a72
feat: add the ability to create a download button ( #48697 )
...
* feat: add the ability to create a download button
* Allow the creating of download button
* update test, and stories props
2022-12-16 08:57:39 -08:00
Niraj Nandish
02e2309598
fix(tools): challenge editor - input text color ( #48733 )
...
fix(tools): input text color
2022-12-12 14:15:17 +01:00
renovate[bot]
9bb1d9a390
chore(deps): update dependency postcss to v8.4.20
2022-12-12 00:51:46 +00:00
renovate[bot]
a606203ae4
fix(deps): update dependency typescript to v4.9.4
2022-12-11 05:27:18 +00:00
renovate[bot]
3b6ee26c4f
fix(deps): update dependency react-router-dom to v6.4.5
2022-12-10 18:00:02 +00:00
renovate[bot]
30579809c8
chore(deps): update dependency prettier to v2.8.1
2022-12-10 05:57:34 +00:00
Mrugesh Mohapatra
6dba4d3409
chore: bump prettier and lint-staged ( #48674 )
...
* chore: bump prettier and lint-staged
* refactor: drop unused eslint disables
Currently we need to fetch trending.json before we can build the site
(i.e. before Cypress tests can run), so we can assume the file exists.
In case the download fails in CI, linting will error first. I've added
a comment to save some debugging time.
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2022-12-06 23:46:42 +05:30
renovate[bot]
661c21441b
fix(deps): update dependency react-router-dom to v6.4.4
2022-12-04 20:36:11 +00:00
renovate[bot]
2e77f8b4a1
chore(deps): update storybook monorepo to v6.5.14
2022-12-03 16:33:25 +00:00
renovate[bot]
426fe482c9
chore(deps): update babel monorepo
2022-12-03 07:57:55 +00:00
Oliver Eyton-Williams
0b644afb0e
fix(i18n): download english trending for fallback ( #48652 )
...
* fix(i18n): download english trending for fallback
Co-authored-by: Kristofer Koishigawa <scissorsneedfoodtoo@gmail.com>
* fix: prevent duplicate download for english
Co-authored-by: Kristofer Koishigawa <scissorsneedfoodtoo@gmail.com>
Co-authored-by: Kristofer Koishigawa <scissorsneedfoodtoo@gmail.com>
2022-12-02 17:09:01 +03:00
Tom
60d15e4631
feat: get footer from cdn ( #47174 )
...
Co-authored-by: ahmad abdolsaheb <ahmad.abdolsaheb@gmail.com>
Co-authored-by: scissorsneedfoodtoo <scissorsneedfoodtoo@gmail.com>
2022-12-01 15:23:17 +01:00
renovate[bot]
fc9b739772
chore(deps): update dependency bson-objectid to v2.0.4
2022-11-26 07:03:28 +00:00
renovate[bot]
5504a8cbb7
fix(deps): update dependency typescript to v4.9.3
2022-11-20 22:30:54 +00:00
renovate[bot]
57b192c547
chore(deps): update dependency tailwindcss to v3.2.4
2022-11-12 10:30:00 +00:00
renovate[bot]
ce617a4920
chore(deps): update dependency postcss to v8.4.19
2022-11-12 07:10:29 +00:00
Ahmad Abdolsaheb
b1627abb2c
fix(component-library): add color variables to css build ( #48417 )
2022-11-11 08:13:07 +02: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
renovate[bot]
a0357591eb
chore(deps): update babel monorepo
2022-11-06 00:17:31 +00:00
renovate[bot]
368f2d606b
fix(deps): update dependency react-router-dom to v6.4.3
2022-11-05 16:14:32 +00:00
renovate[bot]
8c78540bcd
chore(deps): update dependency tailwindcss to v3.2.2
2022-11-05 11:33:27 +00:00
renovate[bot]
d0d6d4c3b8
chore(deps): update dependency dotenv to v16.0.3
2022-11-05 09:03:48 +00:00
Muhammed Mustafa
8a23a25707
feat(tools): FormContext link FormGroup with its children ( #48356 )
2022-11-04 14:20:45 +03:00
Jordan Moore
d5d03e078a
feat(tools): Implement basic functionality of table component ( #47263 )
...
Co-authored-by: ahmad abdolsaheb <ahmad.abdolsaheb@gmail.com>
2022-11-02 14:20:10 +05:30
renovate[bot]
13d2cf6085
chore(deps): update storybook monorepo to v6.5.13
2022-10-30 01:05:55 +00:00
renovate[bot]
617a692489
chore(deps): update dependency inquirer to v8.2.5
2022-10-29 22:50:25 +00:00
renovate[bot]
510f348ab3
chore(deps): update dependency autoprefixer to v10.4.13
2022-10-29 20:14:27 +00:00
Mrugesh Mohapatra
b393d88b9e
refactor: s/all-langs/i18n/g ( #48258 )
2022-10-26 10:08:27 -07:00
renovate[bot]
a2803e208e
chore(deps): update dependency tailwindcss to v3.2.1
2022-10-24 04:27:08 +00:00
renovate[bot]
9dfbe98197
chore(deps): update babel monorepo to v7.19.6
2022-10-22 23:38:44 +00: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
renovate[bot]
a0ec380193
chore(deps): update dependency postcss to v8.4.18
2022-10-16 11:04:51 +00:00
renovate[bot]
e56646e63e
chore(deps): update babel monorepo
2022-10-15 15:29:02 +00:00
Ahmad Abdolsaheb
ebc69b1933
revert(tools): Flex and Spacer components - UI Components ( #47964 )
2022-10-10 16:34:10 +01:00
Sirasit Thitirattanakorn
17ba240313
feat(tools): Flex and Spacer components - UI Components ( #47231 )
...
* implement: flex and spacer components
* implement: Flex and Spacer components
* delete core.3149
Co-authored-by: Mrugesh Mohapatra <1884376+raisedadead@users.noreply.github.com>
2022-10-10 16:19:26 +03:00
renovate[bot]
e57e69b4ba
fix(deps): update dependency express to v4.18.2
2022-10-08 23:46:56 +00:00
renovate[bot]
aafb0794c9
fix(deps): update dependency react-router-dom to v6.4.2
2022-10-08 16:01:29 +00:00
Niraj Nandish
53164e71f1
fix: circular dependencies ( #46638 )
...
* fix: circular dependency in formHelpers
* fix: circular dependency in Flash
* fix: circular dependency in helpers
* fix: circular dependency in current-challenge-saga (1/2)
* fix: circular dependency in code-lock-epic
* feat: eslint rule for circular dependencies
* fix: circular dependency in tools
* fix: import error and more circular dependencies in formHelpers
* fix prettier error
* fix: circular dependency in danger-zone-saga
* fix: circular dependency in update-email-saga
* fix: circular dependency in settings-saga
* fix: circular dependency in accept-terms-saga
* fix: circular dependency in codeally-saga
TODO: make a separate file for selectors
* fix: ci lint error
* fix: ci lint:prettier error
* fix: circular dependency in current-challenge-saga
* fix: cricular dependency in Challenges/redux
* fix: circular dependency in redux/settings
* fix: circular dependency in root redux
* fix: lint errors
* chore: remove unecessary comment
* chore: remove unused export
* fix: clear out actions and selectors
* revert changes to package.json
* test ci with maxDepth of 1
* fix: fallback to empty object
* test action if it will run for maxDepth of 2
2022-10-05 18:08:40 +01:00
renovate[bot]
f9007327e9
fix(deps): update dependency @actions/core to v1.10.0
2022-10-04 05:48:25 +00:00
renovate[bot]
12001a8eb1
fix(deps): update dependency typescript to v4.8.4
2022-10-03 04:26:03 +00:00
renovate[bot]
759fe400ed
fix(deps): update dependency @actions/github to v5.1.1
2022-10-02 21:39:57 +00:00
renovate[bot]
5af84be1cd
chore(deps): update dependency postcss to v8.4.17
2022-10-02 18:00:50 +00:00
renovate[bot]
10108b1d9a
chore(deps): update babel monorepo to v7.19.3
2022-10-01 23:46:34 +00:00
renovate[bot]
40acb05642
fix(deps): update dependency react-router-dom to v6.4.1
2022-09-26 22:02:28 +00:00
renovate[bot]
da4a2cdd46
fix(deps): update dependency @actions/github to v5.1.0 ( #47618 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-26 11:48:59 +05:30
renovate[bot]
64828096c3
chore(deps): update dependency rollup to v2.79.1
2022-09-24 20:17:34 +00:00
renovate[bot]
54dac7bae4
chore(deps): update dependency autoprefixer to v10.4.12
2022-09-24 14:01:10 +00:00
renovate[bot]
0fe2b24b39
fix(deps): update dependency react-router-dom to v6.4.0 ( #47552 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-19 21:31:11 +05:30
renovate[bot]
e412e2e84d
chore(deps): update storybook monorepo to v6.5.12
2022-09-18 05:52:28 +00:00
renovate[bot]
61a72ae2ca
chore(deps): update dependency autoprefixer to v10.4.11
2022-09-18 02:32:01 +00:00
renovate[bot]
84d5c0b503
chore(deps): update dependency @types/express to v4.17.14
2022-09-17 14:22:47 +00:00
renovate[bot]
6a0c0149e7
chore(deps): update babel monorepo
2022-09-17 11:32:25 +00:00
renovate[bot]
1a6f67aa2c
chore(deps): update dependency @rollup/plugin-typescript to v8.5.0
2022-09-11 15:34:23 +00:00
renovate[bot]
132426ebf9
chore(deps): update babel monorepo to v7.19.0
2022-09-11 12:17:56 +00:00
renovate[bot]
460335599d
fix(deps): update dependency typescript to v4.8.3
2022-09-11 09:16:23 +00:00
renovate[bot]
b436b5b337
chore(deps): update dependency rollup to v2.79.0
2022-09-04 02:59:28 +00:00
renovate[bot]
da69ec485a
fix(deps): update dependency typescript to v4.8.2
2022-08-29 13:45:42 +00:00
Sem Bauke
568711b338
feat: update mobile app superblock order ( #47364 )
...
* feat: update mobile app superblock order
* fix: keep old rwd on second row
2022-08-29 17:36:29 +09:00
renovate[bot]
b6cbb0463c
chore(deps): update dependency @rollup/plugin-typescript to v8.4.0
2022-08-28 18:53:48 +00:00
renovate[bot]
31e6b823f4
chore(deps): update babel monorepo to v7.18.13
2022-08-27 14:15:50 +00:00
renovate[bot]
4bdbd908c3
chore(deps): pin dependencies ( #47336 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-22 17:53:52 +05:30
hanswang123456
d2d1bc8dab
fix(curriculum): correctly describe insert step in Challenge Editor ( #47331 )
...
* Update InsertStep.tsx
* Update Tools.tsx
* Update how-to-work-on-practice-projects.md
* removed redundant example
* Update tools/challenge-editor/client/src/components/tools/Tools.tsx
Co-authored-by: Ilenia <nethleen@gmail.com>
Co-authored-by: Ilenia <nethleen@gmail.com>
2022-08-20 10:30:46 +02:00
renovate[bot]
7fa1e33247
chore(deps): update dependency rollup to v2.78.1
2022-08-20 07:54:05 +00:00
Sem Bauke
c2c7f24d82
feat: expose submit types to API ( #47293 )
...
* feat: expose submit types to API
* fix: clear file name
* fix: keep submit types out of versioning
2022-08-18 00:08:22 +05:30
renovate[bot]
16dcbadc3e
chore(deps): update dependency rollup to v2.78.0
2022-08-14 09:48:48 +00:00
renovate[bot]
66992ef7fc
fix(deps): update dependency @actions/core to v1.9.1
2022-08-13 15:56:23 +00:00
renovate[bot]
45c36ea837
chore(deps): update dependency rollup to v2.77.3
2022-08-13 13:14:24 +00:00
Sem Bauke
98e1b9eab3
feat: add superblock intro to curriculum data API ( #47161 )
...
* feat: add superblock intro to curriculum data API
* fix: type correlation intro
* fix: add key to Joi schema
2022-08-08 12:16:19 -05:00
renovate[bot]
4cedba2e9f
chore(deps): update storybook monorepo to v6.5.10
2022-08-07 20:53:55 +00:00
renovate[bot]
3053c9d8a6
chore(deps): update dependency tailwindcss to v3.1.8
2022-08-07 16:39:38 +00:00
renovate[bot]
aaca7ee732
chore(deps): update dependency postcss to v8.4.16
2022-08-07 13:23:29 +00:00
renovate[bot]
3aca9eee95
chore(deps): update dependency @testing-library/jest-dom to v5.16.5
2022-08-06 18:21:54 +00:00
renovate[bot]
b3bcc79444
chore(deps): update babel monorepo
2022-08-06 12:50:04 +00:00
Oliver Eyton-Williams
97a36fff9a
feat(i18n): check no slug duplicates ( #47127 )
...
* refactor: move challenge auditing to function
* feat: confirm each slug only appears once
* refactor: rename explanatory variables
2022-08-03 07:50:24 +02:00
renovate[bot]
74f1771809
chore(deps): update dependency rollup to v2.77.2
2022-07-30 21:55:28 +00:00
renovate[bot]
b555fdb33a
chore(deps): update dependency tailwindcss to v3.1.7
2022-07-30 19:29:55 +00:00
renovate[bot]
13d5e4ab10
chore(deps): update dependency autoprefixer to v10.4.8
2022-07-30 17:31:31 +00:00
renovate[bot]
4dbe4986ab
chore(deps): update dependency @rollup/plugin-typescript to v8.3.4
2022-07-30 04:36:37 +00:00
renovate[bot]
9143b08f2b
chore(deps): update babel monorepo to v7.18.9
2022-07-23 03:26:19 +00:00
Paula Barszcz
2121d3ae30
feat: Set keyboardShortcuts to true for authUser in seedAuthUser.js ( #46971 )
2022-07-21 20:46:38 +05:30
Naomi Carrigan
41fb69417c
feat(tools): audit i18n challenges ( #46968 )
...
* feat(tools): audit i18n challenges
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2022-07-21 20:43:47 +05:30
renovate[bot]
85b009b308
chore(deps): update dependency ts-node to v10.9.1
2022-07-17 03:52:46 +00:00
renovate[bot]
8e550bdf9f
chore(deps): update dependency rollup to v2.77.0
2022-07-17 01:32:12 +00:00
renovate[bot]
8ebe2b5860
chore(deps): update dependency tailwindcss to v3.1.6
2022-07-16 06:01:29 +00:00
Oliver Eyton-Williams
9adf9fa9f2
fix: use shx for cross-platform cp ( #46847 )
2022-07-11 09:30:56 -07:00
renovate[bot]
aa3c514ba8
chore(deps): update dependency rollup to v2.76.0
2022-07-10 00:45:47 +00:00
renovate[bot]
428de4154d
chore(deps): update dependency tailwindcss to v3.1.5
2022-07-09 04:54:24 +00:00
Shaun Hamilton
cc7f584b96
feat(challenge-editor): make work in gitpod ( #46784 )
...
* feat(challenge-editor): make work in gitpod
* gitpod: make chal-editor ports public
* refactor: use .env files to set variables
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2022-07-08 11:25:36 +02:00
renovate[bot]
4bfa15857c
chore(deps): update babel monorepo ( #46738 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-06 11:32:38 +05:30
renovate[bot]
1fdfd7884b
chore(deps): update dependency ts-node to v10.8.2
2022-07-02 21:38:17 +00:00
renovate[bot]
0909edd307
chore(deps): update dependency tailwindcss to v3.1.4
2022-06-25 15:28:02 +00:00
renovate[bot]
bd7f26131f
chore(deps): update dependency rollup to v2.75.7
2022-06-25 12:07:27 +00:00
Oliver Eyton-Williams
232b6d232a
fix: make superblock data paths match normal paths ( #46406 )
2022-06-24 08:12:16 -05:00
Oliver Eyton-Williams
11143178f6
fix(challenge-editor): Windows compatibility ( #46617 )
...
* fix(challenge-editor): Windows compatibility
2022-06-22 11:46:55 +02:00
Huyen Nguyen
a0c0813488
fix(ui-components): add an & prefix to custom variant ( #46608 )
2022-06-22 10:12:39 +02:00
renovate[bot]
16c23d0d10
chore(deps): update react monorepo
2022-06-20 23:20:59 +00:00
renovate[bot]
eb507ddd45
chore(deps): update dependency prettier to v2.7.1 ( #46563 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-06-20 23:07:44 +05:30
renovate[bot]
330d14a156
fix(deps): update dependency @actions/core to v1.9.0 ( #46568 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-06-20 19:11:38 +05:30
renovate[bot]
17cc61dfe1
fix(deps): update dependency typescript to v4.7.4 ( #46560 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-06-20 15:48:19 +05:30
renovate[bot]
5384d70946
chore(deps): update storybook monorepo to v6.5.9
2022-06-19 20:09:37 +00:00
renovate[bot]
021c6247fe
chore(deps): update dependency tailwindcss to v3.1.3
2022-06-19 14:12:26 +00:00
renovate[bot]
5834cb3ad6
chore(deps): update babel monorepo to v7.18.5
2022-06-18 10:30:31 +00:00
Renovate Bot
c95235c222
chore(deps): update dependency tailwindcss to v3.1.2
2022-06-12 20:16:26 +00:00
Renovate Bot
19674ca3dc
chore(deps): update storybook monorepo to v6.5.8
2022-06-12 04:45:34 +00:00
Renovate Bot
9a4e44d6b1
chore(deps): update dependency rollup to v2.75.6
2022-06-12 01:38:46 +00:00
Renovate Bot
7ed9d61fad
chore(deps): update dependency @rollup/plugin-typescript to v8.3.3
2022-06-11 03:35:32 +00:00
Renovate Bot
902ca385ee
fix(deps): update dependency typescript to v4.7.3
2022-06-05 03:43:47 +00:00
Renovate Bot
48bfe48dc8
chore(deps): update storybook monorepo to v6.5.6
2022-06-04 22:39:57 +00:00
Renovate Bot
b3ed01b226
chore(deps): update dependency ts-node to v10.8.1
2022-06-04 19:54:43 +00:00
Renovate Bot
ece0bfd3c2
chore(deps): update dependency rollup to v2.75.5
2022-06-04 15:35:16 +00:00
Renovate Bot
0de86d9b3d
chore(deps): update dependency @types/jest to v27.5.2
2022-06-04 05:17:33 +00:00
Radi Totev
e581bd9081
feat(client): shortcuts legend modal available on pressing the ? key ( #45530 )
...
* Add modal texts in translations.json file
* Add shortcuts modal state in redux
* Create shortcuts modal
* Integrate shortcuts modal
* Resolve codefactor.io issues
* Extend list of shortcuts
Based on this comment:
https://github.com/freeCodeCamp/freeCodeCamp/issues/36841#issuecomment-933310078
* Remove temporary placeholder for modal title
* Open modal fom Hotkeys instead of learn.tsx
As suggested in this comment:
https://github.com/freeCodeCamp/freeCodeCamp/pull/45530#issuecomment-1101224993
* Complete list in transaltions
* Change shortcut presentation fo better a11y
Use table instead of list items as suggestedin this comment:
https://github.com/freeCodeCamp/freeCodeCamp/pull/45530#issuecomment-1101796368
* Add aria-labelledby
* Remove GAnalytics
* Remove leftover style
* Remove table caption
* autofocus on modal close button
* Improve modal a11y
- Add requested changes from https://github.com/freeCodeCamp/freeCodeCamp/pull/45530#issuecomment-1104764766
- Leave autofocus and parent div role=dialog changes for later. (https://github.com/freeCodeCamp/freeCodeCamp/pull/45530#issuecomment-1107754148 )
* [WIP] Alllow users to turn off keyboard shortcuts
* Add keyboard shortcuts switch in settings
* Disable shortcuts
* Remove toggle switch description
* Refactor and cleanup
* Remove close button from modal header
Suggested by bbsmooth:
https://github.com/freeCodeCamp/freeCodeCamp/pull/45530#issuecomment-1107861091
* Fix lint issues
* Disable shortcuts
* Disable shortcuts by default
* Update challenge output test
* Update challenge-hot-keys test
* Disable shortcuts from inside handlers
Co-authored-by: Mrugesh Mohapatra <1884376+raisedadead@users.noreply.github.com>
2022-06-03 09:57:52 -07:00
Oliver Eyton-Williams
b0ecd766e0
fix: order entries in available-superblocks.json ( #46274 )
2022-06-03 10:47:35 +05:30
Sem Bauke
d5423745d9
chore(tools): update filename and versioning API ( #46238 )
...
* chore(tools): update filename and versioning API
* fix(tests): rename file name
* fix(tests): current version to test against
2022-05-31 09:57:36 +02:00
Sem Bauke
18920de10c
feat(tools): introduce generic data API with versioning ( #45989 )
...
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2022-05-30 19:37:01 +02:00
Renovate Bot
36bd34f5ca
fix(deps): update dependency typescript to v4.7.2
2022-05-30 00:38:12 +00:00
Renovate Bot
bd00e902bf
chore(deps): update dependency rollup to v2.75.3
2022-05-29 21:10:36 +00:00
Renovate Bot
5f6b1e15b6
chore(deps): update storybook monorepo to v6.5.5
2022-05-28 14:34:21 +00:00
renovate[bot]
e2daf1e252
chore(deps): update babel monorepo ( #46095 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-25 18:51:20 +05:30
Renovate Bot
0f5806cf30
chore(deps): update storybook monorepo to v6.5.4
2022-05-23 21:12:34 +00:00
Huyen Nguyen
92e496cbe9
feat(ui-components): create Link component ( #46105 )
...
* feat(ui-components): create Link component
* refactor(ui-components): replace color tokens
2022-05-23 16:38:13 +03:00
Renovate Bot
5f9fd2c075
chore(deps): update dependency ts-node to v10.8.0
2022-05-22 02:09:40 +00:00
Renovate Bot
a90d4c0676
chore(deps): update dependency rollup to v2.74.1
2022-05-21 23:52:28 +00:00
Renovate Bot
0f1a67d692
chore(deps): update dependency postcss to v8.4.14
2022-05-21 12:44:36 +00:00
renovate[bot]
b555d4ece9
chore(deps): update dependency rollup to v2.73.0 ( #45975 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-16 22:03:16 +05:30
Shaun Hamilton
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
Naomi Carrigan
fe71a9cf25
feat: new js cert ( #45873 )
...
* chore: move files
* wip: i have no idea what i am doing
* feat: finish up the logic
* chore: use order from randy sheet
* chore: standardise titles
* feat: fix layout for new js projects
* fix: utils test
* fix: challenge tests
* fix: ignore show new curriculum on non-english tests
* chore: help category????
* fix: if these tests would fail locally that'd be great
* chore: duplicate ids
2022-05-16 11:53:45 +02:00
Renovate Bot
4895f4c47e
fix(deps): update dependency @actions/github to v5.0.3
2022-05-15 04:12:21 +00:00
Renovate Bot
3e593f8d7f
fix(deps): update dependency @actions/core to v1.8.2
2022-05-15 01:17:29 +00:00
Renovate Bot
e6998464f0
chore(deps): update dependency @types/jest to v27.5.1
2022-05-14 03:40:20 +00:00
Naomi Carrigan
23b4be71d7
feat: release RWD from beta ( #45865 )
...
* feat: release RWD from beta
* feat: replace beta banner with legacy banner
* feat: update project links
* fix: cypress tests
* fix: map selector
* chore: legacy verbiage
* chore: remove isBeta flag
* fix: go back url verbiage
* feat: separate order for i18n
* fix: curriculum utils test
* fix: cypress
* tests: use data-cy for robustness
Co-authored-by: moT01 <20648924+moT01@users.noreply.github.com>
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2022-05-10 11:44:23 -05:00
Huyen Nguyen
fa59d4a107
chore(ui-components): simplify color tokens ( #45848 )
...
* chore: rename color tokens
* chore: clean up hover tokens
* docs: add a note on colors usage
2022-05-09 16:28:25 +03:00
Renovate Bot
9586372bd8
fix(deps): update dependency @actions/core to v1.8.0
2022-05-08 06:00:10 +00:00
Renovate Bot
77dea01d90
chore(deps): update dependency rollup to v2.72.1
2022-05-08 03:17:10 +00:00
Renovate Bot
cdc5d16139
chore(deps): update dependency @types/jest to v27.5.0
2022-05-08 00:33:24 +00:00
Renovate Bot
e2e723dcca
chore(deps): update dependency @rollup/plugin-node-resolve to v13.3.0
2022-05-07 22:55:32 +00:00
Renovate Bot
9a0b00090a
chore(deps): update dependency autoprefixer to v10.4.7
2022-05-07 04:55:23 +00:00
Renovate Bot
d19a943c28
fix(deps): update dependency react-router-dom to v6.3.0
2022-05-03 21:58:27 +00:00
Huyen Nguyen
cf68bd0efd
chore(ui-components): rename HelpBlock files to kebab-case ( #45849 )
2022-05-03 07:07:08 -07:00
Renovate Bot
9b34571f79
fix(deps): update dependency @actions/core to v1.7.0
2022-05-03 02:17:55 +00:00
Renovate Bot
296b9b9dda
chore(deps): update dependency rollup to v2.71.1
2022-05-02 22:13:03 +00:00
Oliver Eyton-Williams
534cc151d1
fix: resolve conflict between clients ( #45837 )
...
npm was confusing the two due to the name clash
2022-05-02 19:39:38 +01:00
Renovate Bot
3f9f9d4c3a
fix(deps): update dependency express to v4.18.1
2022-05-02 11:22:06 +00:00
Renovate Bot
2bbf0de925
chore(deps): update dependency eslint-plugin-react-hooks to v4.5.0
2022-05-02 04:55:24 +00:00
Renovate Bot
e02c016484
fix(deps): update dependency react-scripts to v5.0.1
2022-05-01 17:48:49 +00:00
Renovate Bot
debfcbe382
fix(deps): update dependency typescript to v4.6.4
2022-05-01 14:55:26 +00:00
Renovate Bot
4a62801098
chore(deps): update dependency postcss to v8.4.13
2022-05-01 05:49:29 +00:00
Renovate Bot
6eb72110ce
chore(deps): update dependency inquirer to v8.2.4
2022-04-30 20:19:39 +00:00
Renovate Bot
1da0b48181
chore(deps): update babel monorepo
2022-04-30 06:34:08 +00:00
Renovate Bot
06071cfbcf
fix(deps): pin dependencies
2022-04-30 03:15:34 +00:00
Sem Bauke
62957fd875
fix(test): remove build from mobile curriculum test ( #45804 )
2022-04-29 09:02:59 -07:00
saltedTofu
2cc13c322f
fix(ui-components): disabled button behavior ( #45739 )
...
* fixed disabled button behavior
Changed disabled button to not have active styles
* Update tools/ui-components/src/button/button.tsx
Co-authored-by: Huyen Nguyen <25715018+huyenltnguyen@users.noreply.github.com>
* Update tools/ui-components/src/button/button.tsx
* Update tools/ui-components/src/button/button.tsx
Co-authored-by: Huyen Nguyen <25715018+huyenltnguyen@users.noreply.github.com>
2022-04-29 17:14:07 +03:00
Sem Bauke
d92eb803da
fix(tests): windows pathing ( #45799 )
...
* fix: tests on Windows
* fix: use path join instead
2022-04-28 22:04:16 +01:00
Naomi Carrigan
56820d90f8
feat: add challenge editor tool ( #45214 )
...
* feat: add challenge editor tool
chore: prepare API/Client setup
feat: migrate to react!
feat: styling
fix: useEffect loop
feat: add challenge helpers
feat: use actual code editor
feat: styling
Bring it a bit more in line with /learn
* refactor: use workspaces
Which unfortunately required a rollback to React 16, because having
multiple React versions causes all sorts of issues.
* chore: apply Oliver's review suggestions
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
* chore: remove test files for now
* fix: prettier issue
* chore: apply oliver's review suggestions
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
* chore: move scripts to root
* fix: lint errors oops
* chore: remove reportWebVitals thing
* chore: DRY out paths
* fix: create-empty-steps takes one arg
* chore: start doesn't make sense now
* chore: DRY out button requests
* chore: one more review suggestion
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
* chore: cleanup CRA files
* fix: correct note for creating new project
* feat: enable js and jsx highlighting
* feat: include all superblocks
* feat: improve button ux
* feat: add "breadcrumbs"
* feat: add link back to block from step tools
* chore: remove unused deps
* chore: apply oliver's review suggestions
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
* chore: parity between file names and commands
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2022-04-26 12:33:43 -05:00
Oliver Eyton-Williams
ad8cf94202
fix: allow sentryClientDSN to be null ( #45786 )
2022-04-26 16:00:39 +01:00
Huyen Nguyen
86935fa59f
feat(ui-components): add support for link to Button component ( #45671 )
...
* add active style
* add disable state
* add support for full-width
* add custom focus outline
* feat(ui-components): add support for link to Button component
* Add onClick action
* center content
2022-04-25 13:47:40 +03:00
Renovate Bot
5062845014
chore(deps): update dependency autoprefixer to v10.4.5
2022-04-23 23:46:07 +00:00
Renovate Bot
f79ed13e33
chore(deps): update dependency babel-loader to v8.2.5
2022-04-23 05:37:18 +00:00
Ahmad Abdolsaheb
3c4f671629
feat/add props form control ( #45706 )
...
* feat: add textarea variation to formControl
* feat/add-storybook-argtypes
2022-04-19 11:39:04 +03:00
Huyen Nguyen
d35c24af42
feat(ui-components): add states and full-width support to Button component ( #45665 )
...
* add active style
* add disable state
* add support for full-width
* add custom focus outline
2022-04-18 11:26:36 +03:00
Renovate Bot
d117989677
chore(deps): update dependency @rollup/plugin-node-resolve to v13.2.1
2022-04-18 06:04:57 +00:00
Renovate Bot
cbf835bd61
chore(deps): update storybook monorepo to v6.4.22
2022-04-17 18:53:32 +00:00
Renovate Bot
694db374ce
chore(deps): update dependency tailwindcss to v3.0.24
2022-04-17 15:06:12 +00:00
Renovate Bot
70ecfa5850
chore(deps): update dependency rollup to v2.70.2
2022-04-17 11:15:24 +00:00
Renovate Bot
3c54a53055
chore(deps): update dependency @testing-library/react to v12.1.5
2022-04-16 13:14:12 +00:00
Renovate Bot
6b8c33697e
chore(deps): update dependency @rollup/plugin-typescript to v8.3.2
2022-04-16 10:00:58 +00:00
Tristan Toye
dfe5a7fd05
Add Sentry to client for error handling ( #43920 )
...
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2022-04-15 09:54:02 -05:00
Renovate Bot
35969c670d
chore(deps): update storybook monorepo to v6.4.21
2022-04-09 23:17:40 +00:00
Renovate Bot
ae4603ca98
chore(deps): update dependency @testing-library/jest-dom to v5.16.4
2022-04-09 05:40:30 +00:00
Renovate Bot
b55f61c6ef
chore(deps): update babel monorepo to v7.17.9
2022-04-09 02:55:43 +00:00
Renovate Bot
01516821f9
chore(deps): update dependency prettier to v2.6.2
2022-04-03 00:07:56 +00:00
Renovate Bot
1e4f9e7f6d
fix(deps): update dependency @actions/github to v5.0.1
2022-04-02 16:10:02 +00:00
Renovate Bot
2043aca618
chore(deps): update storybook monorepo to v6.4.20
2022-04-02 13:20:22 +00:00
Ahmad Abdolsaheb
e7577927df
feat/create initial form control component ( #45578 )
...
* feat: form control initial structure
* feat: add form control feedback default styles.
* feat: add initial form control static styles
* feat: add initial form-control styles
* feat: add initial stories
* feat: readjust styles
2022-04-01 14:03:54 +03:00
Huyen Nguyen
791b8b527b
feat(ui-components): add info variant and hover state to Button component ( #45541 )
...
* add info variant
* add styling for hover state
* feat: add info variant
Co-authored-by: ahmad abdolsaheb <ahmad.abdolsaheb@gmail.com>
2022-03-31 21:54:06 +03:00
Ismail Tlemcani
ed66e5d01c
feat(tools): add helpblock component ( #45399 )
...
* feat: add helpblock component
* fix: clean up
* Update tools/ui-components/src/helpblock/helpblock.stories.tsx
Co-authored-by: Ismail Tlemcani <ismail.tlemcani@gmail.com>
Co-authored-by: ahmad abdolsaheb <ahmad.abdolsaheb@gmail.com>
2022-03-31 15:20:44 +03:00
Oliver Eyton-Williams
07cfc8b83b
fix: only test mobile curriculum on english ( #45558 )
2022-03-28 12:55:15 -07:00
Renovate Bot
47785b34c9
chore(deps): update dependency postcss-import to v14.1.0
2022-03-28 01:21:42 +00:00
Renovate Bot
1177e8182d
fix(deps): update dependency typescript to v4.6.3
2022-03-27 13:20:09 +00:00
Renovate Bot
6d97c1c76e
chore(deps): update dependency prettier to v2.6.1
2022-03-27 10:33:18 +00:00
Renovate Bot
2af0ad9ab8
chore(deps): update dependency inquirer to v8.2.2
2022-03-27 01:00:07 +00:00
Renovate Bot
acc530f382
chore(deps): update dependency babel-loader to v8.2.4
2022-03-26 22:49:40 +00:00
Renovate Bot
fbb34d2810
chore(deps): update dependency @testing-library/jest-dom to v5.16.3
2022-03-26 06:00:37 +00:00
Huyen Nguyen
06a1aa39b2
chore(ui-components): minor adjustments in Button component ( #45480 )
2022-03-23 11:23:26 +03:00
Shaun Hamilton
fe84387fd2
fix(tests): do not build mobile on i18n tests ( #45507 )
2022-03-22 21:32:55 +01:00
Sem Bauke
567e99231f
feat: add block description to mobile curriculum ( #45370 )
...
* feat: add block description to mobile curriculum
* feat: add superblock names
2022-03-22 19:11:44 +00:00
Renovate Bot
d189c1bcce
chore(deps): update dependency prettier to v2.6.0
2022-03-20 12:11:47 +00:00
Renovate Bot
1c8659fe00
chore(deps): update dependency rollup to v2.70.1
2022-03-20 04:38:52 +00:00
Renovate Bot
8f3ea03ff5
chore(deps): update dependency postcss to v8.4.12
2022-03-20 02:13:46 +00:00
Renovate Bot
560784feef
chore(deps): update dependency autoprefixer to v10.4.4
2022-03-19 14:33:47 +00:00
Renovate Bot
141932a69d
chore(deps): update babel monorepo
2022-03-19 02:55:23 +00:00
Huyen Nguyen
3fc687a583
feat(ui-components): implement basic Button component ( #45421 )
...
* Move to its own folder
* file rename
* implement basic Button component
2022-03-16 12:00:53 +03:00
Huyen Nguyen
610ba7b3e9
fix(ui-components): correct the setup of tailwind default styles ( #45369 )
2022-03-15 15:20:57 +03:00
Renovate Bot
2400a3f5b1
chore(deps): update dependency bson-objectid to v2.0.3
2022-03-12 20:09:05 +00:00
Renovate Bot
5059c1c06c
chore(deps): update dependency inquirer to v8.2.1
2022-03-12 05:56:51 +00:00