Skip to content

Studio: Add zip files support for blueprints - #3089

Merged
katinthehatsite merged 11 commits into
trunkfrom
add/support-bundled-blueprints-as-zip-files
Apr 21, 2026
Merged

Studio: Add zip files support for blueprints#3089
katinthehatsite merged 11 commits into
trunkfrom
add/support-bundled-blueprints-as-zip-files

Conversation

@katinthehatsite

Copy link
Copy Markdown
Contributor

Related issues

Fixes STU-1495

How AI was used in this PR

It was used to identify the fix but I questioned its fix and then it improved the fix.

Proposed Changes

This PR ensures that you can create a site when using not only .json format for blueprints but also .zip files that contain blueprints.

Testing Instructions

  • Pull the changes from this branch
  • Start Studio
  • Download a sample blueprint such as WordPress blueprints trunk blueprints-news-spiel.zip
  • Add a new site by using this blueprint
  • Confirm that the site creation succeeds
  • Confirm that the blueprint was applied successfully

Pre-merge Checklist

  • Have you checked for TypeScript, React or other console errors?
@katinthehatsite katinthehatsite self-assigned this Apr 14, 2026
@wpmobilebot

wpmobilebot commented Apr 14, 2026

Copy link
Copy Markdown
Collaborator

📊 Performance Test Results

Comparing 111b02e vs trunk

app-size

Metric trunk 111b02e Diff Change
App Size (Mac) 1490.94 MB 1490.96 MB +0.01 MB ⚪ 0.0%

site-editor

Metric trunk 111b02e Diff Change
load 1892 ms 1896 ms +4 ms ⚪ 0.0%

site-startup

Metric trunk 111b02e Diff Change
siteCreation 10129 ms 8122 ms 2007 ms 🟢 -19.8%
siteStartup 5946 ms 4949 ms 997 ms 🟢 -16.8%

Results are median values from multiple test runs.

Legend: 🟢 Improvement (faster) | 🔴 Regression (slower) | ⚪ No change (<50ms diff)

@katinthehatsite
katinthehatsite requested a review from a team April 15, 2026 07:40
Comment thread apps/studio/src/modules/add-site/components/blueprints.tsx Outdated
Comment thread apps/studio/src/ipc-handlers.ts Outdated

@nightnei nightnei left a comment

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.

Works well, as expected 👍
Screenshot 2026-04-20 at 19 54 08

Comment thread apps/studio/src/modules/add-site/components/blueprints.tsx Outdated

@nightnei nightnei left a comment

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.

Thanks Kat, LGTM and I tested one more time - works as expected 👍

@katinthehatsite
katinthehatsite merged commit 267f900 into trunk Apr 21, 2026
10 checks passed
@katinthehatsite
katinthehatsite deleted the add/support-bundled-blueprints-as-zip-files branch April 21, 2026 15:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants