Skip to content

chore: Add the advanced playground link back to the playground - #10310

Open
lizschwab wants to merge 4 commits into
RaspberryPiFoundation:mainfrom
lizschwab:10288
Open

chore: Add the advanced playground link back to the playground#10310
lizschwab wants to merge 4 commits into
RaspberryPiFoundation:mainfrom
lizschwab:10288

Conversation

@lizschwab

Copy link
Copy Markdown
Contributor

The basics

The details

Resolves

Fixes #10288

Proposed Changes

  • Adds the ability to flag "no open" on the start script for headless mode
  • Removes the start:advanced script from blockly package.json
  • Updates the start command to do three things in parallel: watch dev-tools and its dependencies (including blockly) for changes, launch a headless server for dev-tools, and launch the blockly playground server and page
  • Adds links to Advanced Playground, Multi Playground, and Web Component to the playground page

Reason for Changes

Makes development easier

@lizschwab
lizschwab requested a review from a team as a code owner August 21, 2026 22:09
@lizschwab
lizschwab requested a review from gonfunko August 21, 2026 22:09
<input id="show" type="button" value="Show" /> -
<input id="hide" type="button" value="Hide" />
<input id="hide" type="button" value="Hide" /> -
<a href="http://localhost:8080/">Advanced</a> -

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

The 8080 here is assumed. We're setting blockly server to 8081 manually in the start command and the webpack dev server will default to finding the first available port starting with 8080. This shouldn't become a problem unless we start spinning up additional servers while developing, but we can look at this again at that point if it becomes a problem.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Might be worth selectively hiding this so the GitHub Pages hosted playground doesn't include it?

@lizschwab lizschwab changed the title 10288 chore: Add the advanced playground link back to the playground Aug 21, 2026
@github-actions github-actions Bot added the PR: chore General chores (dependencies, typos, etc) label Aug 21, 2026
<input id="show" type="button" value="Show" /> -
<input id="hide" type="button" value="Hide" />
<input id="hide" type="button" value="Hide" /> -
<a href="http://localhost:8080/">Advanced</a> -

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Might be worth selectively hiding this so the GitHub Pages hosted playground doesn't include it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

PR: chore General chores (dependencies, typos, etc)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Advanced Playground Link back to blockly playground

2 participants