Skip to content

Inline editor - #31

Merged
john-doherty merged 2 commits into
masterfrom
inline-editor
Aug 9, 2026
Merged

Inline editor#31
john-doherty merged 2 commits into
masterfrom
inline-editor

Conversation

@john-doherty

@john-doherty john-doherty commented Aug 9, 2026

Copy link
Copy Markdown
Contributor

We replaced the standalone /studio app (separate HTML + CSS + JS) with a lightweight inline editor (punter-editor.js) that lives inside the engine itself. Why: Instead of navigating to a separate page to edit game code, users now get an editor panel directly on the game page, less context switching, simpler architecture.

Key details:

  • Deleted studio/ folder (HTML, CSS, JS - ~1,760 lines removed)
  • Added punter-editor.js (~880 lines) - the inline editor, loaded alongside the engine
  • Added punter.editor() method in punter.js to bootstrap the editor
  • Updated all game/learn HTML files to reference the new inline editor instead of linking to /studio
  • Removed studio-spec.js tests, added editor-spec.js and container-resize-spec.js tests
  • Removed /studio from sitemap.xml

@john-doherty john-doherty self-assigned this Aug 9, 2026
@john-doherty
john-doherty merged commit 78225d1 into master Aug 9, 2026
1 check passed
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.

1 participant