Commit Graph

776 Commits

Author SHA1 Message Date
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
Renovate Bot
cc06ce1c72 chore(deps): update storybook monorepo to v6.4.8 2021-12-06 09:46:38 +00:00
Renovate Bot
2455c66d1f chore(deps): update dependency prettier to v2.5.1 2021-12-04 18:24:02 +00:00
Renovate Bot
a9dcce08d1 chore(deps): update dependency @testing-library/jest-dom to v5.16.0 2021-12-04 05:03:50 +00:00
Renovate Bot
e0f9c70a99 chore(deps): update storybook monorepo to v6.4.7 2021-12-04 02:47:03 +00:00
Oliver Eyton-Williams
f613a1e5fd
fix: index.css/js to styles/script (#44356)
* fix: replace index with script/styles as needed

* fix: remove redundant fileKey

It's overwritten by createPoly, so the parser does not need to create it

* fix: curriculum test suite

* Update client/src/templates/Challenges/classic/MultifileEditor.js

Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>

Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
2021-12-03 12:32:29 -08:00
Oliver Eyton-Williams
0cbb499e9c
chore: remove contributor tools (#44368)
They're being stored in freeCodeCamp/tools now
2021-12-03 20:40:03 +05:30
Renovate Bot
e262301ac8 chore(deps): update storybook monorepo to v6.4.5 2021-12-03 11:37:04 +00:00
renovate[bot]
47aef5155b
chore(deps): pin dependencies (#44358)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-02 20:48:15 +05:30
Oliver Eyton-Williams
46b5f02e80 fix: storybook workspace issues 2021-12-02 19:57:47 +05:30
Oliver Eyton-Williams
bb0e7317c8 fix: only use parts of gfm parser 2021-12-02 19:57:47 +05:30
Oliver Eyton-Williams
01b354f0d1 refactor: mollify TypeScript 2021-12-02 19:57:47 +05:30
Oliver Eyton-Williams
7d0760c98f chore: remove unused @types from ui-components 2021-12-02 19:57:47 +05:30
Oliver Eyton-Williams
6e4dddd9ee chore: update ui-components to use root types 2021-12-02 19:57:47 +05:30
Oliver Eyton-Williams
03309bea9e chore: remove old package-locks 2021-12-02 19:57:47 +05:30
Renovate Bot
406263e5ff chore(deps): update storybook monorepo to v6.4.4 2021-12-02 08:24:54 +00:00
Oliver Eyton-Williams
efba2e777d
chore: simplify eslint configuration (#44347)
* chore: extend import/recommended

* chore: use recommended lint rules

* refactor: apply lint rules

* chore: drop used config
2021-12-02 00:01:12 +00:00
Renovate Bot
76bbbc32e8 chore(deps): update storybook monorepo to v6.4.3 2021-12-01 12:12:50 +00:00
Renovate Bot
29b795c0b6 chore(deps): update dependency rollup to v2.60.2 2021-12-01 01:18:05 +00:00
Vinay
5b61c8a56f
refactor(client): ts-migration of i18n/validate-keys.js (#44292)
* refactor - file extenstion change to .ts

* fix - imports syntax

* fix - migration complete

* fix - lint:prettier warn

* refactor - validate-keys in tools/scripts/lint/

* refactor - validate-keys.ts moved to tools/scripts/lint and added in tsconfig.json

* refactor - tsconfig.json file for tools

* fix - lint:ts script update and validate-keys.js added to .eslintignore

* fix - lint:prettier and ts compilation

* fix - ts compilation

* refactor - changes in .gitignore and validate-keys script
2021-11-30 08:37:00 -08:00
renovate[bot]
5ad279d5f7
fix(deps): update dependency @types/node to v16.11.11 (#44322)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-30 18:13:56 +05:30
Renovate Bot
1edb879988 chore(deps): update storybook monorepo to v6.4.1 2021-11-30 08:20:07 +00:00
Renovate Bot
e8be711b6f chore(deps): update dependency postcss to v8.4.4 2021-11-27 16:58:25 +00:00
Maciek Sitkowski
58701d511b
feat(tools): add Alert component (#43835)
* feat(alert): initialize component

* feat(alert): add children prop

* feat(alert): add className prop

* feat(alert): add variant prop

* feat(alert): add close button and handle onDismiss click

* feat(alert): place all alert related css in alert.css

* feat: define state color variables and use them instead of bootstrap ones

* chore: remove unused classes

* feat: replace base alert styles with tailwind classes

* feat: extract close button to separate component

* chore: remove unused css

* test: add close button tests

* refactor: use more tailwind-like approach for adding colors to theme

* refactor: use more expressive prop name for close button label

* refactor: use semantic color names

* feat: add stories with/without close button

* chore: add missing variants
2021-11-27 12:28:40 +03:00
Renovate Bot
32dbf3d57c chore(deps): update dependency postcss to v8.4.3 2021-11-26 22:52:51 +00:00
Renovate Bot
a3f3243fad chore(deps): update storybook monorepo to v6.4.0 2021-11-26 20:24:21 +00:00
Renovate Bot
e93172b366 chore(deps): update dependency prettier to v2.5.0 2021-11-25 17:51:10 +00:00
Maciek Sitkowski
63f6d9d3f2
feat(storybook): add theme toggle (#44234) 2021-11-25 16:32:52 +03:00
Shaun Hamilton
98fc7fba0e
fix(config): build all-langs.js before server (#44274)
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2021-11-25 11:01:50 +00:00
Renovate Bot
e4f48d1363 fix(deps): update dependency @types/react to v17.0.37 2021-11-25 03:48:52 +00:00
Renovate Bot
de0ef96a27 chore(deps): update dependency postcss to v8.4.1 2021-11-25 01:18:59 +00:00
Renovate Bot
e8dc7a754b chore(deps): update dependency postcss to v8.4.0 2021-11-24 21:56:37 +00:00
Renovate Bot
340f423c36 fix(deps): update dependency @types/node to v16.11.10 2021-11-24 08:56:56 +00:00
Renovate Bot
ec831779b0 chore(deps): update dependency @testing-library/jest-dom to v5.15.1 2021-11-23 16:01:10 +00:00
Renovate Bot
9827283b7b chore(deps): update dependency rollup-plugin-postcss to v4.0.2 2021-11-22 20:35:15 +00:00
Renovate Bot
891a385c56 chore(deps): update dependency rollup to v2.60.1 2021-11-22 11:15:44 +00:00
renovate[bot]
248945b3bf
fix(deps): update dependency @types/react to v17.0.36 (#44235)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-22 13:43:22 +05:30
renovate[bot]
7e3f4aff81
chore(deps): update dependency @types/jest to v27.0.3 (#44225)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-21 14:11:51 +05:30
renovate[bot]
947f7d0e18
chore(deps): update dependency inquirer to v8.2.0 (#44223)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-21 13:07:15 +05:30
renovate[bot]
5f35cc8685
fix(deps): update dependency @types/node to v16.11.9 (#44207)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-20 23:03:32 +05:30
renovate[bot]
2381c6a569
chore(deps): pin dependency @types/jest to v27.0.2 (#44215)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-20 16:05:07 +05:30
renovate[bot]
933cf6684f
chore(deps): pin dependencies (#44224)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-20 00:52:38 +05:30
renovate[bot]
db4bdf4478
fix(deps): update dependency @types/react to v17.0.35 (#44168)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-19 23:53:58 +05:30
Shaun Hamilton
d75e43a1e7
chore: use constants for superblocks (#43886)
* chore: use constants for superblocks

* add prettier ts dec to challenge-helper-scripts

* config/ to ts. broken

* typescripterise tools/ and config/

* create global tsconfig, remove alternate configs

* delete temp ts->js, add to gitignore

* fix gitignore

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

* remove renamed files added again

* fix config

* remove accidental files

* remove snap

* delete built files

* adjust eslintrc for enums

* add node types to root

* ignore build files in lint and prettier

* fix tools/ in tsconfig

* ignore annoying ts warnings

* prettierise Map/index.tsx

* fix enum to match lint rule

* rejig Map to render RWD superblock

* 'pretty minor' - implicitly tsc within root

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

* fix client/package.json for Gitpod

* broken: migrate @types to root

* fix: use typeRoots to prevent duplication

* fix show.tsx, try typeroots in root

* silly fix for duplicate node_modules types

* remove typeRoots from root

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

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

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

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

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2021-11-19 19:49:40 +05:30
renovate[bot]
d944fa0c8e
fix(deps): update dependency typescript to v4.5.2 (#44197)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-19 09:57:03 +05:30
renovate[bot]
54cea8af21
chore(deps): update babel monorepo to v7.16.4 (#44190)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-18 10:44:13 +05:30
renovate[bot]
8c94a26fbe
chore(deps): pin dependencies (#44191)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-17 19:32:50 +05:30
renovate[bot]
6d21f143c3
fix(deps): update dependency @types/node to v16.11.7 (#44167)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-15 20:18:53 +05:30
renovate[bot]
9dc35e4397
chore(deps): pin dependency @types/node to 16.11.7 (#44173)
* chore(deps): pin dependency @types/node to 16.11.7

* chore: install @types/node in tools

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2021-11-15 15:26:55 +05:30
renovate[bot]
355341908b
chore(deps): update dependency rollup to v2.60.0 (#44165)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-12 13:17:38 +05:30
renovate[bot]
fb6995cefc
chore(deps): update dependency @testing-library/dom to v8.11.1 (#44116)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-11 12:10:31 +05:30
renovate[bot]
f64537599e
chore(deps): update dependency webpack to v5.63.0 (#44131)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-11 10:28:52 +05:30
Ahmad Abdolsaheb
7f769cdaf8
Add Patreon client key validation (#44155) 2021-11-10 08:21:50 -08:00
renovate[bot]
6feeaa289b
fix(deps): update dependency @types/react-dom to v17.0.11 (#44107)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-10 20:17:39 +05:30
Mrugesh Mohapatra
0b79725a9e
chore(deps): apply npm audit fix on all packages (#44108)
chore(deps): apply npm audit fix on all packages
2021-11-03 16:26:50 +05:30
Mrugesh Mohapatra
466f39794b chore: update all lockfiles to v2 2021-11-03 15:06:19 +05:30
Mrugesh Mohapatra
6fef483946 chore: update all packages to node v16 & npm v8 2021-11-03 15:06:19 +05:30
Micah Silverman
2b5c1ed712
chore(deps): updated versions to address vulnerabilities (#44075) 2021-11-02 15:55:05 +05:30
Renovate Bot
c42dc1b350 chore(deps): update dependency rollup to v2.59.0 2021-11-01 11:04:30 +00:00
Renovate Bot
48b31e1d6d fix(deps): update dependency node-fetch to v2.6.6 2021-10-31 19:04:50 +00:00
Renovate Bot
9419bdfed4 chore(deps): update babel monorepo to v7.16.0 2021-10-30 05:41:50 +00:00
Renovate Bot
0a85af9abc chore(deps): update dependency tailwindcss to v2.2.19 2021-10-29 21:14:40 +00:00
renovate[bot]
5ffdaf7606
chore(deps): update dependency autoprefixer to v10.4.0 (#44045)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-28 22:25:01 +05:30
Mrugesh Mohapatra
b4c68c039b
chore(deps): run npm audit fix on all packages (#44002) 2021-10-26 19:11:53 +05:30
renovate[bot]
f586d7083d
fix(deps): update dependency @types/node to v16.11.6 (#44008)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-26 10:34:37 +05:30
Renovate Bot
62a48deae9 fix(deps): update dependency @types/react to v17.0.33 2021-10-26 01:47:16 +00:00
Renovate Bot
e4e22e9f57 chore(deps): update dependency rollup to v2.58.3 2021-10-25 21:43:46 +00:00
Renovate Bot
a4ba10a7bc chore(deps): update dependency rollup to v2.58.1 2021-10-25 08:42:09 +00:00
Renovate Bot
fa8b2693ad fix(deps): update dependency @types/react to v17.0.32 2021-10-24 13:58:11 +00:00
Renovate Bot
b4d68a9c64 chore(deps): update dependency ts-node to v10.4.0 2021-10-23 00:48:07 +00:00
Renovate Bot
558440de9d chore(deps): update dependency ts-node to v10.3.1 2021-10-21 22:02:35 +00:00
Renovate Bot
874afd0d06 chore(deps): update dependency postcss to v8.3.11 2021-10-21 20:44:57 +00:00
Nicholas Carrigan (he/him)
b36cdbafd1
chore: rename "part" to "step" (#43934)
* chore: rename part to step

* chore: update metas

* chore: more renaming

* chore: update tooling

* chore: update frontmatter

* chore(tools): title testing
2021-10-21 18:07:52 +01:00
Renovate Bot
a6c707ee98 fix(deps): update dependency @types/react to v17.0.31 2021-10-21 09:44:13 +00:00
Renovate Bot
2da421e2bc chore(deps): update dependency babel-loader to v8.2.3 2021-10-21 04:10:04 +00:00
Renovate Bot
5be3f83299 chore(deps): update dependency postcss to v8.3.10 2021-10-20 22:45:51 +00:00
Renovate Bot
13e4d265dc chore(deps): update dependency mongodb to v3.7.3 2021-10-20 20:17:06 +00:00
Renovate Bot
686804f60c fix(deps): update dependency @types/react-dom to v17.0.10 2021-10-20 11:04:42 +00:00
Renovate Bot
182e07a4da chore(deps): update dependency @rollup/plugin-node-resolve to v13.0.6 2021-10-19 17:38:46 +00:00
Renovate Bot
774454c6d1 fix(deps): update dependency @types/react to v17.0.30 2021-10-15 20:19:29 +00:00
Renovate Bot
e61bc3ba5d chore(deps): update storybook monorepo to v6.3.12 2021-10-15 12:12:17 +00:00
Renovate Bot
d4a49a1c1c chore(deps): update dependency tailwindcss to v2.2.17 2021-10-13 20:42:44 +00:00
Oliver Eyton-Williams
22afdd1aad
fix: stop modal appearing in steps (#43728)
* fix: stop showing completion modal on steps

* feat: submit steps with ctrl+enter

* fix: handle ctrl+enter when not focussing editor

* fix: reset tests when user types

* refactor: pass showCompletionModal as an option

Otherwise we have to write executeChallenge(true) which does not mean
what you might reasonably expect.

* fix: always executeChallenge when not on step

* fix: update frontend project show

* fix: handle missing payload

* refactor: isProjectStep -> hasEditableRegion

* refactor: more renaming

* fix: make meta.json control multifile editor use

* fix: update the challengeSchema correctly

* Update client/src/templates/Challenges/classic/editor.tsx

Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>

* fix: remove logging

Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>

Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
2021-10-13 14:47:59 +03:00
Renovate Bot
588493b705 fix(deps): update dependency typescript to v4.4.4 2021-10-13 00:10:30 +00:00
Renovate Bot
7a9e762ba1 fix(deps): update dependency @types/react to v17.0.29 2021-10-12 22:09:26 +00:00
Renovate Bot
96fad4087d chore(deps): update storybook monorepo to v6.3.11 2021-10-12 18:21:07 +00:00
Renovate Bot
6ac5605fa6 fix(deps): update dependency @types/react to v17.0.28 2021-10-12 12:13:53 +00:00
Renovate Bot
ba585768eb chore(deps): update dependency ts-node to v10.3.0 2021-10-11 21:43:32 +00:00
Ahmad Abdolsaheb
f56a5617ac
feat: add tailwind theme support (#43616)
* feat: add tailwind theme support

* feat: simplify config
2021-10-11 10:38:44 +03:00
Nicholas Carrigan (he/him)
d7abed9456
fix: index.md generation (#43763) 2021-10-07 18:21:55 +02:00
Renovate Bot
c9bec74729 chore(deps): update storybook monorepo to v6.3.10 2021-10-07 02:56:10 +00:00
Renovate Bot
536eef3be9 chore(deps): update babel monorepo to v7.15.8 2021-10-06 23:33:34 +00:00
Niraj Nandish
7824f13f5f
feat: auto clean client cache when SHOW_UPCOMING_CHANGES value changes (#43747)
* feat: auto clean client cache on env var change

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com>
2021-10-06 21:07:08 +05:30