* fix: make breadcrumb nav more accessible
* refactor: cypress test and jest snapshot
* slight adjustment to left breadcrumb focus outline
* feat: translate aria for nav
* chore(tools): update snapshot
Co-authored-by: ahmad abdolsaheb <ahmad.abdolsaheb@gmail.com>
Co-authored-by: Naomi Carrigan <nhcarrigan@gmail.com>
* feat: make all sources available in tests
The original contents of all files (index.html, script.js etc.) will be
accessible in tests. For example __sources['index.html'] gets the
original html file and nothing else.
* feat: use __file to get user code
* fix: fcc logo link
* fix: fcc svg label
* feat: use translated aria for logo
* clean up
Co-authored-by: ahmad abdolsaheb <ahmad.abdolsaheb@gmail.com>
* feat(learn, i18n): enable japanese certifications
* feat(learn, i18n): update links for japanese pages
* Revert "feat(learn, i18n): update links for japanese pages"
This reverts commit 8e16f4dd22.
* feat(learn, i18n): update links for japanese pages
* feat(learn, i18n): update algoliaIndices for japanese
* feat(learn, i18n): update meta tags for japanese
* 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.
* 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>
* 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.
* fix: only render profile urls
* feat: warn user when submitting data url
* fix: prevent dataurls being saved to db
* fix: tests and imports
Not sure why jest didn't like the es imports, but they aren't necessary
so I dropped them.
* fix: check for url protocol