Skip to content

Add other frontend pages #7761

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 65 commits into
base: main
Choose a base branch
from
Draft

Add other frontend pages #7761

wants to merge 65 commits into from

Conversation

dem4ron
Copy link
Member

@dem4ron dem4ron commented Apr 25, 2025

No description provided.

dem4ron and others added 23 commits April 17, 2025 02:35
* Add util fns

* Add check runner util

* Add CSS Exercises

* Add margin exercise

* Add more

* Add default code

* Add new exercises

* Css tweaks 1 (#7751)

* Hide reference element if it's not needed

* Add all rules, each set to false

* Add option to hide css and html editors, apply defaults to all views, centralize iframe updating

* Add level 11 files

* Fix compare fn (#7752)

* Fix curtain not adjusting to different sizes (#7753)

* Indent with tab

* Fix wrong curtain clippath, change initial curtain width

* Sort out xml highlighting (#7754)

* Replace pixel capturer fn (#7755)

* Fix typos

* WIP

* Use new projects

* Add fancy borders exercise

* Add coffee exercises

* Fix wrong editor updates

* Move filter a level up

* Add more

* Curtain tweaks (#7756)

* Reverse the curtain

* Update expectedReferenceIFrame only once, adjust curtain visually

* Reduce number of divs for curtain

* Either use curtain or diff

* Add custom toast

* Don't spread string[] argument

* Adjust toast message logic

* Improve diff

* Update controll button logic

* Tiny adjustments

* Add back removed check for `frame-her`

* Byepass linter warning

* Remove low-opacity actual output from curtain mode

* Exclude non-jikiscript-exercises

* Add Part 2 (#7757)

* Tweaks

* Add migration

* Add part 2

* Add further copy tweaks

* Add some more exercise tweaks

* Remove bc segments

* Add migration guard

---------

Co-authored-by: Jeremy Walker <[email protected]>
* WIP

* WIP

* Don't render Custom Functions and Scrubber if it's a javascript exercise

* WIP

* Comb the two lang fns together

* WIP

* WIP

* Remove console.log

* Read language from the config

* Add JS to config

* Simplify undefined check

* Fix missing type in execJS and clean it up

* Handle error-status result as `actual` value

* Show JS error in a way, adjust more things

* Use state-setters instead of dispatchments

* Merge two showError functions

* Add comments

* Replace showJsError -> showError

---------

Co-authored-by: Jeremy Walker <[email protected]>
* Update stored at

* Make editors resetable

* Add type and other scaffolding for readonly ranges

* Make readonly ranges work

* Refactor useSetupEditors

* Update iframe instantly
@dem4ron dem4ron force-pushed the other-front-end-pages branch 2 times, most recently from 1b29667 to fd0435d Compare April 25, 2025 13:42
@dem4ron dem4ron force-pushed the other-front-end-pages branch from fd0435d to bae620d Compare April 25, 2025 13:45
Base automatically changed from add-frontend-training-page to main April 25, 2025 15:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants