Commit Graph

735 Commits (b81dea1e827a290bd035c9f5f44e1b195d0098ab)

Author SHA1 Message Date
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
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