Skip to content

Fix skulpt support for output panels attribute #1158

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

Merged
merged 6 commits into from
Jan 6, 2025

Conversation

loiswells97
Copy link
Contributor

No description provided.

@loiswells97 loiswells97 temporarily deployed to previews/1158/merge January 2, 2025 17:15 — with GitHub Actions Inactive
@loiswells97 loiswells97 temporarily deployed to previews/1158/merge January 2, 2025 17:19 — with GitHub Actions Inactive
@loiswells97 loiswells97 temporarily deployed to previews/1158/merge January 2, 2025 17:28 — with GitHub Actions Inactive
@loiswells97 loiswells97 changed the title Fix skulpt support for output tabs attribute Fix skulpt support for output panels attribute Jan 2, 2025
@loiswells97 loiswells97 temporarily deployed to previews/1158/merge January 2, 2025 17:41 — with GitHub Actions Inactive
@@ -93,7 +93,10 @@ const PythonRunner = () => {
return (
<>
<PyodideRunner active={activeRunner === "pyodide"} />
<SkulptRunner active={activeRunner === "skulpt"} />
<SkulptRunner
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wonder if it's worth adding a simple test to check the outputPanels prop is getting added? just for a bit of regression coverage (and to help avoid it getting missed in the future)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks Dan, I've added a couple of tests to check this (although in a bit of a roundabout way, as I think React Testing Library doesn't let you test which props are on components, just what's in the DOM annoyingly)

@loiswells97 loiswells97 temporarily deployed to previews/1158/merge January 6, 2025 12:30 — with GitHub Actions Inactive
Copy link
Contributor

@danhalson danhalson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@loiswells97 loiswells97 merged commit bbdfad8 into main Jan 6, 2025
8 checks passed
@loiswells97 loiswells97 deleted the fix-skulpt-output-tabs-support branch January 6, 2025 14:58
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