Commit Graph

1168 Commits

Author SHA1 Message Date
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
Renovate Bot
782295ec21 chore(deps): update dependency @testing-library/react to v12.1.4 2022-03-12 03:31:55 +00:00
Tom
9e5f9b2a7c
fix: webhook process (#45385)
* fix: token rework functional

fix: clean up

fix: more clean up

fix: more clean up

fix: add widget back to settings

fix:

fix:

fix: cypress

Apply suggestions from code review

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

fix: use flash enum

* chore: rename webhookToken -> userToken

fix: add translations I forgot to save

* fix: add missing tones for flash messages

* fix: node test
2022-03-11 13:58:23 -08:00
Oliver Eyton-Williams
8ee9b5761a
fix: use keys in curriculum.json (#45407)
* feat: add function to map from path to superblock

* fix: use superblocks as keys in curriculum.json

* fix: handle new superblock names

* fix: keep deleting relational-database
2022-03-10 20:41:33 +00:00
Renovate Bot
a0733620b9 chore(deps): update dependency rollup to v2.70.0 2022-03-07 23:18:34 +00:00
Renovate Bot
6848caf9f1 chore(deps): update dependency postcss to v8.4.8 2022-03-07 07:39:46 +00:00
Oliver Eyton-Williams
108d2460e7
fix(tools): use correct superblock paths (#45285)
* fix: use array of choices

* fix: capture traces from fs promise errors

* fix: use helper to get superblock subpath
2022-03-07 10:51:33 +05:30
Renovate Bot
de26da9cca chore(deps): update dependency rollup to v2.69.2 2022-03-06 09:09:26 +00:00
Renovate Bot
bb21b4c4c4 chore(deps): update dependency ts-node to v10.7.0 2022-03-06 07:00:10 +00:00
Renovate Bot
8e842f873c chore(deps): update dependency rollup to v2.69.1 2022-03-04 18:05:09 +00:00
Tom
e24c8abc7f
revert: release rdbms to production (#45347) 2022-03-04 15:15:20 +01:00
Tom
84c305ab08
feat: release rdbms to production (#45169)
* fix: add cert to email for when all certs are earned

* fix: unhide rdbms from production

* fix: cert project input field

* feat: add cypress tests

* fix: message on project pages to lower expectations

* fix: update instructions

* fix: add quincy's suggestions

* fix: add beta label and reorder

* fix: utils test

* fix: move rdbms to bottom of settings

* fix: cypress tests

* Apply suggestions from code review

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

* fix: only drop seeded users webhook tokens

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2022-03-04 15:38:09 +05:30
renovate[bot]
5368195e85
chore(deps): update dependency rollup to v2.69.0 (#45315)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-03 14:57:40 +05:30
Oliver Eyton-Williams
339c6713d2
feat: update challenge helpers to handle id filenames (#44769)
* refactor: light tweaks for readability

* refactor: simplify metadata functions

* fix: most tests

* test: fix utils tests

* test: simplify mocks

* WIP: update get-last-step-file-content

* feat: finish create-next-step

* fix: type error

* test: provide mock meta.json for test

* refactor: get meta path from project path

* refactor: get project name from path

* refactor: simplify getProjectMetaPath further

Also removes some excessive mocking

* refactor: remove more mocks, always clear .env

* feat: update create-next-step

* feat: update create-empty steps

Also refactors slightly, so it's easier to insert steps into the meta

* docs: update challenge-helper-script docs

* feat: create-step-between

* refactor: allow metadata parse errors to propagate

* fix: convert reorderSteps to renameSteps

* refactor: create-step-between -> insert-step

* feat: update delete-step

* refactor: consolidate commands into commands.ts

* refactor: clean up and consolidation

* refactor: more cleanup

* fix: make cli args consistent

Everything accepts a single integer and nothing else

* refactor: renameSteps -> updateStepTitles

* docs: update with the names and args

* feat: add step validating meta + files are synced
2022-03-02 07:12:20 -08:00
Renovate Bot
1dc0f55d3d chore(deps): update dependency ts-node to v10.6.0 2022-03-02 05:45:08 +00:00
Huyen Nguyen
686e9f6233
fix(ui-components): make Alert not dismissable (#45291) 2022-03-01 20:37:53 +05:30
Sem Bauke
e8ec209431
feat: create mobile curriculum data on build (#45162)
* feat: create mobile curriculum data on build

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2022-03-01 15:59:15 +01:00
Renovate Bot
e178e9a808 fix(deps): update dependency typescript to v4.6.2 2022-03-01 10:22:40 +00:00
Renovate Bot
7b51752da2 chore(deps): update dependency postcss to v8.4.7 2022-02-25 08:49:02 +00:00
Renovate Bot
3552a04e32 chore(deps): update dependency @rollup/plugin-typescript to v8.3.1 2022-02-24 10:39:24 +00:00
Mrugesh Mohapatra
94be3c3e7d
fix: ensure only one lockfile is used (#45230)
* fix: ensure only one lockfile is used

* fix: remove extra lockfiles
2022-02-24 09:23:30 +01:00
Renovate Bot
53f5b86d09 chore(deps): update dependency @types/jest to v27.4.1 2022-02-23 11:54:39 +00:00
Renovate Bot
2f4cee8e36 chore(deps): update dependency @rollup/plugin-babel to v5.3.1 2022-02-23 03:01:32 +00:00
renovate[bot]
2cd1f7ea4b
chore(deps): update dependency rollup to v2.68.0 (#45211)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-22 15:15:59 +03:00
Tom
fd14608492
feat: release rdbms on staging (#44576)
fix: unhide cert from settings page

fix: add cert variables where missing

fix: show token on settings page

feat: add challenges to certified user data

fix: stylize settings page a little bit

fix: only show rdbms when upcomingChanges = true

fix: relational databases -> relational database
2022-02-18 17:29:30 +01:00
renovate[bot]
395d9de8af
chore(deps): update dependency rollup to v2.67.3 (#45161)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-18 15:57:28 +03:00
Renovate Bot
915b331c69 chore(deps): update babel monorepo to v7.17.5 2022-02-17 18:45:18 +00:00
Renovate Bot
51c8b065f5 chore(deps): update dependency tailwindcss to v3.0.23 2022-02-16 15:56:35 +00:00
Renovate Bot
229a9d8b2b chore(deps): update babel monorepo to v7.17.4 2022-02-16 03:55:50 +00:00
Renovate Bot
904778c7a6 chore(deps): update dependency @testing-library/react to v12.1.3 2022-02-16 01:35:20 +00:00
Lana Fidelis
137edc2fb3
Storybook improvements / Design System (#44967)
Co-authored-by: Name <Lana-Lannister@users.noreply.github.com>
Co-authored-by: ahmad abdolsaheb <ahmad.abdolsaheb@gmail.com>
2022-02-15 23:28:49 +05:30
Renovate Bot
62e75bc14f chore(deps): update babel monorepo to v7.17.3 2022-02-15 17:24:44 +00:00
Renovate Bot
114efcf9f0 chore(deps): update storybook monorepo to v6.4.19 2022-02-12 12:48:35 +00:00
Huyen Nguyen
0ccf3d4558
fix(tools): add missing colors to the Color storybook page (#45018)
* fix(tools): add missing colors to the Color storybook page

* remove colors
2022-02-11 16:01:40 -08:00
Renovate Bot
f7ab163aea chore(deps): update dependency tailwindcss to v3.0.22 2022-02-11 23:36:49 +00:00
Renovate Bot
226a8248b7 chore(deps): update dependency tailwindcss to v3.0.21 2022-02-11 12:12:17 +00:00
Renovate Bot
2b85a4bb04 chore(deps): update dependency rollup to v2.67.2 2022-02-11 05:03:13 +00:00
Huyen Nguyen
95e473d4bb
Merge pull request #45015 from huyenltnguyen/chore/alert
refactor(tools): Alert component
2022-02-09 04:14:54 +03:00
Renovate Bot
4049c38440 chore(deps): update babel monorepo to v7.17.2 2022-02-08 21:50:45 +00:00
Huyen Nguyen
5a25d0b847
feat(tools): add component generation script to ui-components (#44951)
* feat(tools): add component generation script to ui-components

* Yes, Oliver. I do want to use TS for these
2022-02-08 09:38:00 +01:00
Renovate Bot
ed6cbf100d chore(deps): update dependency tailwindcss to v3.0.19 2022-02-07 23:24:52 +00:00
Renovate Bot
37c41cdcf7 chore(deps): update dependency ts-node to v10.5.0 2022-02-07 19:06:10 +00:00
Renovate Bot
a41d042704 chore(deps): update dependency rollup to v2.67.1 2022-02-07 09:42:38 +00:00
renovate[bot]
044f0f9278
chore(deps): update storybook monorepo to v6.4.18 (#45002)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-04 12:33:51 +03:00
Ismail Tlemcani
b0db8ec244
feat: add image component (#44590)
Co-authored-by: IsmailTlemcani <ismail.tlemcani@gmail.com>
2022-02-03 13:48:14 +03:00
Renovate Bot
a3732facc3 chore(deps): update dependency @testing-library/jest-dom to v5.16.2 2022-02-03 05:35:38 +00:00
Renovate Bot
bb36d04b37 chore(deps): update babel monorepo to v7.17.0 2022-02-03 03:08:35 +00:00
Renovate Bot
eee33460dd chore(deps): update dependency rollup to v2.67.0 2022-02-02 09:45:47 +00:00
Huyen Nguyen
1bd75fa04e
chore(tools): update import statement (#44990) 2022-02-01 13:36:04 -08:00
Renovate Bot
343258bdd9 chore(deps): update dependency postcss to v8.4.6 2022-02-01 18:29:07 +00:00
Huyen Nguyen
f871bf1dbd
chore(tools): convert color-system to TypeScript (#44970)
* Change file extension

* Move the files to their own folder

* Fix typecheck
2022-01-31 17:06:45 +03:00
Renovate Bot
3422c9815e chore(deps): update storybook monorepo to v6.4.17 2022-01-31 05:57:32 +00:00
Renovate Bot
239f954a86 chore(deps): update storybook monorepo to v6.4.16 2022-01-29 11:17:59 +00:00
Renovate Bot
5e41241643 chore(deps): update dependency tailwindcss to v3.0.18 2022-01-29 01:21:13 +00:00
Renovate Bot
842f8dd482 chore(deps): update storybook monorepo to v6.4.15 2022-01-28 11:34:22 +00:00
Renovate Bot
57f8262878 chore(deps): update dependency tailwindcss to v3.0.17 2022-01-26 23:58:16 +00:00
Renovate Bot
2d2bc391d6 chore(deps): update dependency rollup to v2.66.1 2022-01-25 14:22:56 +00:00
Renovate Bot
1a5b3c0ebb chore(deps): pin dependencies 2022-01-25 12:16:01 +00:00
Oliver Eyton-Williams
7216ca55cc
refactor: organise TypeScript config and migrate helpers (#44747)
* feat: allow more 1000 steps to be created at once

* refactor: start migrating to typescript

* refactor: delete-step to ts

* refactor: migrated some helpers

* refactor: migrate create-empty-steps

* refactor: migrate create-step-between

* refactor: finish migrating to TS

* refactor: migrate tests

* fix: ensure mock.restore is done after each test

* fix: prevent double-tscing

* fix: repair the tests

* chore: use ts-node for scripts

We don't need the performance boost of incremental compilation and
ts-node is easier to work with

* refactor: consolidate tsconfigs

* refactor: replace gulp

* fix: use ts-node for build-curriculum

* fix: allow ts compilation of config

* feat: create and use create:config script

* fix: add /config to eslint projects

* fix: remove gulp script
2022-01-25 11:34:16 +01:00
Renovate Bot
46ee32d0d3 chore(deps): update dependency tailwindcss to v3.0.16 2022-01-25 02:44:37 +00:00
renovate[bot]
89f9aea93c
chore(deps): update storybook monorepo to v6.4.14 (#44863)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-24 20:51:42 +05:30
Renovate Bot
5e60c14a4d chore(deps): update babel monorepo to v7.16.12 2022-01-22 20:52:45 +00:00
Renovate Bot
4481d9ff5b chore(deps): update dependency rollup to v2.66.0 2022-01-22 10:57:57 +00:00
Renovate Bot
58d7618308 chore(deps): update dependency rollup to v2.65.0 2022-01-21 10:57:06 +00:00
Renovate Bot
188ea02fe1 fix(deps): update dependency typescript to v4.5.5 2022-01-21 02:54:40 +00:00
renovate[bot]
92517202bd
chore(deps): update babel monorepo (#44846)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-20 22:47:05 +05:30
Oliver Eyton-Williams
128effe7c0
chore: install tailwindcss in workspace (#44847) 2022-01-20 08:25:24 -08:00
Ahmad Abdolsaheb
9672c92a19
feat: upgrade to tailwind 3 (#44779)
Co-authored-by: ahmad abdolsaheb <home@mac-16.local>
2022-01-18 17:41:54 +03:00
Renovate Bot
03c6197616 chore(deps): update dependency bson-objectid to v2.0.2 2022-01-18 02:05:59 +00:00
Renovate Bot
7968e6d7ec fix(deps): update dependency node-fetch to v2.6.7 2022-01-16 15:51:22 +00:00
Renovate Bot
e87a0f8f75 chore(deps): update storybook monorepo to v6.4.13 2022-01-15 10:36:57 +00:00
Renovate Bot
4188c1a252 chore(deps): update dependency rollup to v2.64.0 2022-01-14 16:40:52 +00:00
Ahmad Abdolsaheb
8c5ac39dd2
fix: build tailwind with rollup in TS (#44713)
* fix: build tailwind with rollup in TS

* Update tools/ui-components/package.json

Co-authored-by: ahmad abdolsaheb <home@mac-16.local>
2022-01-13 16:59:03 +03:00
Renovate Bot
87600855a3 chore(deps): update storybook monorepo to v6.4.12 2022-01-11 19:58:42 +00:00
Renovate Bot
057f8bdd21 chore(deps): update babel monorepo to v7.16.8 2022-01-11 02:37:34 +00:00
Renovate Bot
6ce1c12bfa chore(deps): update storybook monorepo to v6.4.10 2022-01-10 08:27:04 +00:00
Renovate Bot
8d22f86ef6 chore(deps): update dependency autoprefixer to v10.4.2 2022-01-07 22:09:11 +00:00
Mrugesh Mohapatra
f9bc75cf9b
fix(tools): update order for linting errors (#44707) 2022-01-07 16:22:31 +05:30
Nicholas Carrigan (he/him)
08ad03e051
chore: create renaming script (#44692) 2022-01-07 13:20:48 +05:30
Renovate Bot
3f877dcfdc chore(deps): update dependency @rollup/plugin-node-resolve to v13.1.3 2022-01-05 20:04:53 +00:00
Renovate Bot
1391586780 chore(deps): update dependency rollup to v2.63.0 2022-01-04 10:40:02 +00:00
Renovate Bot
426b2f57c7 chore(deps): update dependency @rollup/plugin-node-resolve to v13.1.2 2021-12-31 08:42:35 +00:00
Renovate Bot
5f14e43454 chore(deps): update babel monorepo to v7.16.7 2021-12-31 02:17:09 +00:00
Renovate Bot
a47cf52932 chore(deps): update dependency @types/jest to v27.4.0 2021-12-31 00:37:55 +00:00
Renovate Bot
c3b542b78d chore(deps): update dependency autoprefixer to v10.4.1 2021-12-29 19:24:59 +00:00
Renovate Bot
b6aa6dc1ae chore(deps): update dependency rollup to v2.62.0 2021-12-24 17:20:04 +00:00
Oliver Eyton-Williams
36363f277d
test: enable tests for steps (#44550)
* fix: handle missing solutions correctly

Rather than creating an [[]] the parser now creates [] which isEmpty().
This makes the test suite check the next challenge for a solution.

In addition, the logic for testing solutions was fixed.

* chore: update snapshots

* test: build new superblock in node.js-tests CI

* test: allow forward slash in superblock slug

* fix: borked tests oops

* test: ignore duplicated projects

* fix: i did not break these shaun did :)

* fix: idIndex is index of id not id

Co-authored-by: Nicholas Carrigan <nhcarrigan@gmail.com>
2021-12-22 12:18:06 -08:00
Tom
580a51f7a7
fix: simplify mobile layout tabs (#44431)
* fix: simplify mobile layout tabs

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


Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2021-12-15 13:52:44 +00:00
Renovate Bot
0d8145307f chore(deps): update dependency @rollup/plugin-node-resolve to v13.1.1 2021-12-14 08:33:42 +00:00
Renovate Bot
73c1ca1b4a fix(deps): update dependency typescript to v4.5.4 2021-12-14 04:46:42 +00:00
Renovate Bot
5a1414e247 chore(deps): update babel monorepo to v7.16.5 2021-12-14 02:42:46 +00:00
Renovate Bot
361794aacd chore(deps): update dependency postcss to v8.4.5 2021-12-13 03:50:05 +00:00
Renovate Bot
76f39a748d chore(deps): update dependency rollup to v2.61.1 2021-12-11 11:31:06 +00:00
Oliver Eyton-Williams
48f88428e8
test: login more directly (#44467)
* test: login more directly

* test: separate login from other visits

In a single test, Cypress can only visit within a single domain, hence
the separation.

* chore: fail slowly for all strategies

* test: user certified user for showing cert

* test: fix and cleanup certifications
2021-12-11 14:34:16 +05:30
Oliver Eyton-Williams
6ce8738fc0
refactor: remove useless warning (#44465) 2021-12-10 14:35:46 -08:00
Renovate Bot
8651ee1797 fix(deps): update dependency typescript to v4.5.3 2021-12-10 02:08:02 +00:00
Tom
1c5d136add
feat(client): add notes tab to project based curriculum (#44247)
* feat: add notes tab to project based curriculum

* feat: add console key to i18n

* feat: add reset to i18n

* fix: use translations in action-row

* fix: use hasEditableBoundaries as check for when to display instructions/editor-tabs

* fix: clean up notes components and use prism formatting

* feat: add notes to docs/how-to-work-on-challenges

* revert: unused code

* fix: lint errors?

* fix: lint errors

* fix: add notes to graphql schema

* fix: add notes to challenge schema

* fix: only display notes on project based

* fix: add env data back to mobile layout

* fix: prettify

* revert: notes

* fix: hide notes on mobile for non project based

* rename: switchDisplayTab -> togglePane

* revert: hasEditableBoundaries check back to projectBasedChallenge check
2021-12-09 18:42:03 +00:00
Nicholas Carrigan (he/him)
dd2ff1683c
feat: add curriculum feature flag (#44441) 2021-12-09 12:31:03 -06:00
Renovate Bot
bee4a47eb6 chore(deps): update dependency rollup to v2.61.0 2021-12-09 13:44:06 +00:00
Renovate Bot
5f9202bcc8 chore(deps): update storybook monorepo to v6.4.9 2021-12-09 09:24:22 +00:00
Renovate Bot
e18ccef2f2 chore(deps): update dependency @testing-library/jest-dom to v5.16.1 2021-12-06 15:54:20 +00:00