Commit Graph

3630 Commits

Author SHA1 Message Date
Renovate Bot
122cebdd97 chore(deps): update codesee to v0.172.0 2022-01-26 11:17:18 +00:00
Renovate Bot
879e73881b chore(deps): update dependency chai to v4.3.5 2022-01-26 08:11:39 +00:00
Krzysztof G
6db9bbbd6e fix: include labels in editor tabs buttons (#44918) 2022-01-25 13:57:17 -08:00
Oliver Eyton-Williams
f63a650c01 fix: show-cert... Cypress tests (#44911)
* fix: scroll to certification section

* test: refactor and update show-cert

Pulls out the flaky code from the before hook (where a single failure
kills the suite) into the test.  Also, the visit to settings to view the
certification only needed to happen once.
2022-01-25 14:23:01 -06: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]
82ca6d8441 fix(deps): update dependency nanoid to v3.2.0 (#44899)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-25 10:41:39 +01:00
renovate[bot]
4f049bf407 fix(deps): update dependency react-instantsearch-dom to v6.21.0 (#44887)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-25 12:22:56 +05:30
Renovate Bot
dd0a073356 chore(deps): update dependency webpack-cli to v4.9.2 2022-01-25 04:18:09 +00:00
Oliver Eyton-Williams
cacc4eacd7 fix: handle the sorting of transformed files (#44724)
* fix: handle the sorting of transformed files

We can't use the ext property, since that is transformed, but the
history is maintained.

* test: make solutions polyVinyls for sorting

* refactor: inline prepareChallenge

* refactor: make solutions polys in getChallenges

* fix: convert each solution to a poly

* fix: skip empty solutions

* fix: get challenge file history in client

* refactor: stop calling isPoly from the client

* fix: remove debug console.log

* refactor: remove unnecessary sorting step
2022-01-24 10:42:27 -08:00
Oliver Eyton-Williams
b1fb6adc39 fix: insert user html more consistently (#42195)
* fix: use an iframe to preserve head and body

* fix: remove unnecessary parsing of html

The contents gets inserted into the DOM during transformHtml, which
is always part of the build pipeline

* fix: pipe contents through iframe

* refactor: use the same code for both transforms

* fix: try to handle test errors better

Co-authored-by: moT01 <20648924+moT01@users.noreply.github.com>
2022-01-24 18:02:25 +00:00
Bruce B
76529a17ba feat(client): JAWS 2022 bugfix for monaco editor (#44784)
* feat: JAWS 2021 bugfix for monaco editor

* update menu label and toggle announcement

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

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

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

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

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

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

* clarify visibility hack for live region

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

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

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
2022-01-24 17:45:01 +00:00
renovate[bot]
e61668833a chore(deps): update dependency nanoid to v3.1.31 [security] (#44873)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-24 22:14:14 +05:30
Renovate Bot
5e60c14a4d chore(deps): update babel monorepo to v7.16.12 2022-01-22 20:52:45 +00:00
camperbot
9cf0a935aa chore(i18n,client): processed translations (#44876) 2022-01-23 00:01:07 +09:00
Renovate Bot
8715578440 chore(deps): update codesee to v0.169.0 2022-01-22 02:43:35 +00:00
Renovate Bot
4f03e9f8c8 chore(deps): update dependency webpack to v5.67.0 2022-01-21 21:19:32 +00:00
camperbot
b2b5a1967a chore(i18n,client): processed translations (#44865) 2022-01-22 00:54:58 +09:00
Renovate Bot
188ea02fe1 fix(deps): update dependency typescript to v4.5.5 2022-01-21 02:54:40 +00:00
Renovate Bot
c223116c33 chore(deps): update codesee to v0.168.0 2022-01-21 00:14:53 +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
camperbot
c4033f63da chore(i18n,client): processed translations (#44850) 2022-01-20 08:14:35 -08:00
Oliver Eyton-Williams
f88473f994 fix(client): handle missing document in preview frame (#44833) 2022-01-20 13:22:25 +00:00
Oliver Eyton-Williams
d091bd3b8f fix: make sure a11y help widget is not obscured (#44822) 2022-01-20 10:06:22 +05:30
Renovate Bot
a895056997 chore(deps): update codesee to v0.167.0 2022-01-20 01:03:44 +00:00
camperbot
9a14bcbeb4 chore(i18n,client): processed translations (#44834) 2022-01-19 09:18:46 -08:00
Renovate Bot
c301364278 chore(deps): update codesee to v0.166.0 2022-01-19 02:41:46 +00:00
Renovate Bot
050452c1c6 fix(deps): update dependency react-instantsearch-dom to v6.20.0 2022-01-19 00:46:15 +00:00
Bruce B
4577b392f8 fix: keyboard accessibility on curriculum map (#44786) 2022-01-19 00:19:05 +05:30
Shaun Hamilton
9cb87d0257 chore: remove verify-can-claim-cert logic (#44574)
* chore: remove verify-can-claim-cert logic

* remove extraneous

* remove console log before Nich wakes up

* add api route back with flash

* remove unnecessary logic in completion-epic

* change tests for new layout

* dynamically use api location

* rename file

* fix Cypress api location

* fix(test): anchor does not have disabled class

* fix(tests): change js test to claim from /settings

* chore: change status to 410 (gone)

* update testing again

* oliver is nitpicky

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

* make oliver happy

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2022-01-18 08:52:49 -06:00
Renovate Bot
41cde630b6 chore(deps): update dependency chokidar to v3.5.3 2022-01-18 13:49:28 +00:00
camperbot
319dda294a chore(i18n,client): processed translations (#44792) 2022-01-15 11:55:17 -08:00
Renovate Bot
13aa7bd99d chore(deps): update codesee to v0.163.0 2022-01-14 20:23:04 +00:00
camperbot
f733a49a24 chore(i18n,client): processed translations (#44776) 2022-01-14 09:41:57 -08:00
Mrugesh Mohapatra
685344ae45 refactor: apply fixed from codefactor (#3) (#44780)
Co-authored-by: codefactor-io <support@codefactor.io>

Co-authored-by: codefactor-io <support@codefactor.io>
2022-01-14 08:53:34 -08:00
Oliver Eyton-Williams
a00788417a fix(client): stop injecting extra comments into preview (#44723) 2022-01-13 13:25:55 -08:00
Ahmad Abdolsaheb
e97920ae9c feat: increate minimum challenge requirement AB test (#44764)
* feat: increate minimum challenge requirement AB test

* fix: adjust tests

Co-authored-by: ahmad abdolsaheb <home@mac-16.local>
2022-01-13 12:51:55 -08:00
camperbot
12efe5b398 chore(i18n,client): processed translations (#44763) 2022-01-12 06:40:31 -08:00
Ahmad Abdolsaheb
47e1d2b7df feat: update footer January 22 (#44749)
* update footer jan22

* Update client/i18n/locales/english/trending.json

Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com>

Co-authored-by: ahmad abdolsaheb <home@mac-16.local>
Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com>
2022-01-12 06:21:48 -08:00
Renovate Bot
dd91905a59 chore(deps): update dependency webpack to v5.66.0 2022-01-12 14:05:30 +00:00
Renovate Bot
e3aad41cef chore(deps): update babel monorepo to v7.16.9 2022-01-12 02:13:59 +00:00
Renovate Bot
a7ff54c1f6 chore(deps): update codesee to v0.162.0 2022-01-11 21:18:23 +00:00
camperbot
e26e503efc chore(i18n,client): processed translations (#44748) 2022-01-11 12:42:12 +00:00
Ahmad Abdolsaheb
f30b45955e chore(client): remove holiday donation banner (#44742)
Co-authored-by: ahmad abdolsaheb <home@mac-16.local>
2022-01-11 09:41:01 +00:00
Renovate Bot
057f8bdd21 chore(deps): update babel monorepo to v7.16.8 2022-01-11 02:37:34 +00:00
Oliver Eyton-Williams
2952f9399d fix(client): keep challengeFile order on update (#44722)
* fix: keep challengeFile order on update

* refactor: name variable challengeFile, not file

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

* fix: prettify

Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
2022-01-10 14:02:30 -08:00
Tom
4e59659a00 fix(dx): make gatsby id static for hot reloading (#44542)
* fix: make gatsby id static for hot reloading

* fix: catch duplication of challenge.id

* fix: handle CertificateNodes

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2022-01-10 11:03:20 +02:00
Jacob O'Reilly
0009100f71 fix(client): show error messages instead of timeout (#43744)
* Fixed Error message update not displaying when timeout happens when there was an error in the code. Working on fixing the timeout it self.

* refactor: remove comment + log changes

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2022-01-08 07:25:38 -08:00
Oliver Eyton-Williams
01a03f2961 fix: prevent timeout errors (#44714) 2022-01-08 11:42:16 +05:30
Renovate Bot
8d22f86ef6 chore(deps): update dependency autoprefixer to v10.4.2 2022-01-07 22:09:11 +00:00