Commit 4bf3358
Studio: Add search to current library (#3384)
## 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.
-->
Related to 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 ensures that we add the search feature to the current blueprints
library that is pulled from the public Blueprints Library through the
API.
<img width="894" height="736" alt="Screenshot 2026-05-07 at 4 42 45 PM"
src="https://github.com/user-attachments/assets/cb30061c-91ca-47cd-a041-b2c0df609bca"
/>
## 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>1 parent eeeb922 commit 4bf3358
2 files changed
Lines changed: 43 additions & 12 deletions
File tree
- apps/studio/src
- modules/add-site/components
- stores
Lines changed: 42 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
8 | | - | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
| 17 | + | |
| 18 | + | |
16 | 19 | | |
17 | 20 | | |
18 | 21 | | |
| |||
279 | 282 | | |
280 | 283 | | |
281 | 284 | | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
282 | 301 | | |
283 | 302 | | |
284 | 303 | | |
| |||
335 | 354 | | |
336 | 355 | | |
337 | 356 | | |
338 | | - | |
339 | | - | |
340 | | - | |
341 | | - | |
342 | | - | |
343 | | - | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
344 | 371 | | |
345 | 372 | | |
346 | 373 | | |
| |||
356 | 383 | | |
357 | 384 | | |
358 | 385 | | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
359 | 390 | | |
360 | 391 | | |
361 | | - | |
| 392 | + | |
362 | 393 | | |
363 | | - | |
364 | | - | |
365 | | - | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
366 | 397 | | |
367 | 398 | | |
368 | 399 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| |||
0 commit comments