Commit Graph

3621 Commits (46ee32d0d3719a4a2423f2315567593ecf258622)

Author SHA1 Message Date
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
Renovate Bot c242c6495d fix(deps): update dependency algoliasearch to v4.12.0 2022-01-07 15:05:58 +00:00
Vinay e904d9c871
chore(client): typescript migrate _mocks_/challenge-nodes.js (#44439)
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
2022-01-07 16:33:44 +05:30
Oliver Eyton-Williams 87f5cff3cd
fix(client): get jquery from cdn (#44421)
* fix: ensures jquery exists for those challenges

For tests frame-runner.js imports jquery, but jquery challenges always
need it

* Revert "Revert "fix: only include frame-runner when running tests (#44337)" (#44419)"

This reverts commit c19bf504b8.
2022-01-07 10:42:27 +00:00
Renovate Bot 80e097e7a5 chore(deps): update codesee to v0.161.0 2022-01-07 02:47:32 +00:00
Renovate Bot e92b86c47b chore(deps): update dependency prismjs to v1.26.0 2022-01-07 00:37:45 +00:00
Tom b061a760c1
feat: add framework for rwd cert projects (#44505)
* feat: add rwd cert projects

feat: save projects with flag

revert: not needed things

revert: empty line

revert: empty line

fix: it

fix: remove log

* fix: snapshot tests

* fix: show bread crumbs by default

* revert: snapshot fix

* Update curriculum/challenges/_meta/responsive-web-design-projects/meta.json

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

* fix: manuallyApproved -> isManuallyApproved

* fix: add review suggestions

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2022-01-06 13:26:54 +00:00
Nicholas Carrigan (he/him) ff09b2ee43
fix: lint error (#44695) 2022-01-06 11:42:14 +05:30
Oliver Eyton-Williams 60258d40c9
fix: order import (again) (#44670)
* refactor: reenable import ordering

* refactor: require alphabetic ordered imports
2022-01-05 16:05:50 -06:00
Renovate Bot 1e74017dc3 fix(deps): update dependency react-instantsearch-dom to v6.19.0 2022-01-05 13:37:54 +00:00