Commit Graph

776 Commits

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