Commit Graph

533 Commits (bd9065fdfe769f6a276a864b89d19dfc95257ccf)

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