Skip to content

Studio: Process zip blueprints through api#3361

Merged
katinthehatsite merged 19 commits into
trunkfrom
add/process-blueprints-from-api
May 11, 2026
Merged

Studio: Process zip blueprints through api#3361
katinthehatsite merged 19 commits into
trunkfrom
add/process-blueprints-from-api

Conversation

@katinthehatsite
Copy link
Copy Markdown
Contributor

@katinthehatsite katinthehatsite commented May 6, 2026

Related issues

Related to STU-1668

How AI was used in this PR

Ii was used to help and implement the feature.

Proposed Changes

Now that the new blueprints gallery was migrated back to https://blueprintlibrary.wordpress.com/ , we can use it to pull our blueprints instead of the public library. This PR makes that change. It also removes the feature flag behind which the feature was hidden.

Testing Instructions

To be tested in combination with: 214152-ghe-Automattic/wpcom

Pre-merge Checklist

  • Have you checked for TypeScript, React or other console errors?

@katinthehatsite katinthehatsite self-assigned this May 6, 2026
@katinthehatsite katinthehatsite marked this pull request as draft May 6, 2026 13:28
Kateryna Kodonenko and others added 11 commits May 6, 2026 15:39
## Related issues

<!--
Link a related issue to this PR. If the PR does not immediately resolve
the issue,
for example, it requires a separate deployment to production, avoid
using the "Fixes" keyword and use "Related to" instead.
-->

Fixes STU-1634

## How AI was used in this PR

<!--
Help reviewers understand what to look for and verify that you've
reviewed the code yourself.
-->

It was used to implement the feature. 

## Proposed Changes

This PR adds a search box for the blueprints that allows search by
excerpt or title:

<img width="894" height="736" alt="Screenshot 2026-05-07 at 4 42 45 PM"
src="https://github.com/user-attachments/assets/c4a53f6c-32c9-4f2c-952d-ded2f6d564a7"
/>

## Testing Instructions

<!--
Add as many details as possible to help others reproduce the issue and
test the fix.
"Before / After" screenshots can also be very helpful when the change is
visual.
-->

* Pull the changes from this branch
* Start the app with `npm start`
* Enable the `Blueprints Gallery Library` feature flag
* Click on `Add site > Build new site`
* Scroll down to the blueprints library
* Confirm that you can use the search box and search by title or
category

## Pre-merge Checklist

<!--
Complete applicable items on this checklist **before** merging into
trunk. Inapplicable items can be left unchecked.

Both the PR author and reviewer are responsible for ensuring the
checklist is completed.
-->

- [ ] Have you checked for TypeScript, React or other console errors?

Co-authored-by: Kateryna Kodonenko <kateryna@automattic.com>
# Conflicts:
#	apps/studio/src/modules/add-site/components/new-site-options.tsx
#	apps/studio/src/modules/add-site/index.tsx
@katinthehatsite katinthehatsite marked this pull request as ready for review May 11, 2026 06:05
@katinthehatsite katinthehatsite requested a review from senff May 11, 2026 06:05
@wpmobilebot
Copy link
Copy Markdown
Collaborator

wpmobilebot commented May 11, 2026

📊 Performance Test Results

Comparing b023b21 vs trunk

app-size

Metric trunk b023b21 Diff Change
App Size (Mac) 1408.82 MB 1404.69 MB 4.13 MB 🟢 -0.3%

site-editor

Metric trunk b023b21 Diff Change
load 1504 ms 1504 ms 0 ms ⚪ 0.0%

site-startup

Metric trunk b023b21 Diff Change
siteCreation 8090 ms 8568 ms +478 ms 🔴 5.9%
siteStartup 4933 ms 4928 ms 5 ms ⚪ 0.0%

Results are median values from multiple test runs.

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

@katinthehatsite katinthehatsite merged commit 14e9fc1 into trunk May 11, 2026
10 checks passed
@katinthehatsite katinthehatsite deleted the add/process-blueprints-from-api branch May 11, 2026 10:29
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