Commit Graph

12 Commits

Author SHA1 Message Date
Sem Bauke
e66bf09dce
refactor(tools,client): remove head and tail logic (#66524) 2026-03-17 17:59:16 +01:00
Oliver Eyton-Williams
9356588e80
feat(client): add tsconfig support to editor and use it in ts compiler (#66259) 2026-03-16 19:42:24 +02:00
Oliver Eyton-Williams
51eba06a7d
refactor: remove jest and lint vitest (#62330) 2025-09-24 09:27:03 +02:00
Anna
ee05b0d5da
feat(tools): allow tsx tabs (#61936)
Co-authored-by: Huyen Nguyen <[email protected]>
2025-09-12 11:16:37 -07:00
Oliver Eyton-Williams
28411a2cec
refactor: migrate challenge parser tests to vitest (#62186) 2025-09-12 09:50:02 -07:00
Oliver Eyton-Williams
435cbc0024
refactor: clean up parser test code (#56271) 2024-09-25 13:04:27 +05:30
Mrugesh Mohapatra
b5c86d4b9c
feat(e2e): adding playwright and migrate landing page e2e tests (#51216)
Co-authored-by: Ahmad <[email protected]>
Co-authored-by: Hassaan Pasha <[email protected]>
2023-08-11 14:10:10 +05:30
Oliver Eyton-Williams
f613a1e5fd
fix: index.css/js to styles/script (#44356)
* fix: replace index with script/styles as needed

* fix: remove redundant fileKey

It's overwritten by createPoly, so the parser does not need to create it

* fix: curriculum test suite

* Update client/src/templates/Challenges/classic/MultifileEditor.js

Co-authored-by: Shaun Hamilton <[email protected]>

Co-authored-by: Shaun Hamilton <[email protected]>
2021-12-03 12:32:29 -08:00
Shaun Hamilton
59f17f237b
refactor: files{} -> challengeFiles[], and key -> fileKey (#43023)
* fix(client): fix client

* fix propType and add comment

* revert user.json prettification

* slight type refactor and payload correction

Co-authored-by: Oliver Eyton-Williams <[email protected]>

* update ChallengeFile type imports

* add cypress test for code-storage

* update test and storage epic

* fix Shaun's tired brain's logic

* refactor with suggestions

Co-authored-by: Oliver Eyton-Williams <[email protected]>

* update codeReset

* increate cypress timeout because firefox is slow

* remove unused import to make linter happy

* use focus on editor

Co-authored-by: Oliver Eyton-Williams <[email protected]>

* use more specific seletor for cypress editor test

* account for silly null challengeFiles

Co-authored-by: Oliver Eyton-Williams <[email protected]>

Co-authored-by: Oliver Eyton-Williams <[email protected]>
2021-08-12 20:48:28 +02:00
Oliver Eyton-Williams
e118dda13a
fix: order imports and remove circular dependencies (#41824)
* fix: remove circular dependency

redux depended on templates/Challenges/redux and vice versa.  This
meant that import order mattered and confusing bugs could arise.

(cherry picked from commit 7d67a4e70922bbb3051f2f9982dcc69e240d43dc)

* feat: require imports to be in alphabetical order

Import order generally does not matter, but there are edge cases
(circular  imports and css imports, for example) where changing order
changes behaviour

(cherry picked from commit b8d1393a91ec6e068caf8e8498a5c95df68c2b2c)

* chore: order imports

* fix: lift up challenge description + title comps

This brings the classic Show closer to the others as they
now all create the description and title components

* fix: remove donation-saga/index circular import

(cherry picked from commit 51a44ca668a700786d2744feffeae4fdba5fd207)

* refactor: extract action-types from settings

(cherry picked from commit 25e26124d691c84a0d0827d41dafb761c686fadd)

* fix: lint errors

* feat: prevent useless renames
2021-08-02 08:39:40 -05:00
Huyen Nguyen
2c16234853
chore: add jest global variables (#42573) 2021-06-20 09:14:42 +02:00
Oliver Eyton-Williams
a3a678b7af chore: remove old parser 2021-02-02 09:51:02 +05:30