* 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
* 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>
* 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>
* 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>
* 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>
* 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>
* 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>
* 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.