Skip to content

Refine Blueprint selection and creation details - #4748

Merged
gavande1 merged 2 commits into
fix/bring-back-blueprints-libraryfrom
refine-blueprints-library-ui
Sep 1, 2026
Merged

Refine Blueprint selection and creation details#4748
gavande1 merged 2 commits into
fix/bring-back-blueprints-libraryfrom
refine-blueprints-library-ui

Conversation

@shaunandrews

@shaunandrews shaunandrews commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

Related issues

How AI was used in this PR

AI was used to implement and iteratively refine the user-directed Blueprint gallery and creation flow changes. The resulting diff and automated tests were reviewed locally before pushing.

Proposed Changes

  • Present all curated Blueprints in one ordered grid, with development, WordPress.com, and WooCommerce first, and only show search when the collection is large enough to need it.
  • Improve gallery readability with opaque card surfaces, three-line descriptions, and subtle thumbnail motion.
  • Move Blueprint upload into a secondary header action and align the gallery with the primary site-creation actions.
  • Show the selected Blueprint inside the site details panel so people can review its description, plugins, and themes before creating the site.
  • Resolve canonical plugin and theme names from WordPress.org, decode directory metadata correctly, and link directory packages to their public pages.

⚠️ Visual change: needs human review in light + dark mode.

Testing Instructions

  1. Check out this branch and launch Studio with the agentic UI enabled.
  2. Open Add a site and confirm the primary actions and Blueprint grid share the same width and spacing.
  3. Confirm the first three Blueprints are Theme & plugin development, WordPress.com, and WooCommerce.
  4. Select several Blueprints and confirm the site details panel lists their plugins and themes using readable names without HTML entities.
  5. Hover linked WordPress.org packages and confirm the tooltip appears; click one and confirm its directory page opens externally.
  6. Check gallery cards, the selected Blueprint panel, and responsive wrapping in both light and dark modes.

Automated checks:

  • npm test -- apps/ui/src/components/blueprint-gallery/index.test.tsx apps/ui/src/components/create-site-form/index.test.tsx apps/ui/src/components/blueprint-upload/index.test.tsx apps/ui/src/ui-classic/router/route-onboarding-create/index.test.tsx apps/ui/src/data/queries/use-wordpress-org-package-name.test.ts (39 tests passed)
  • npm run typecheck
  • ESLint and Prettier on all modified files

Pre-merge Checklist

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

@gavande1

gavande1 commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

Thanks @shaunandrews, this looks good to me. I am merging it into #4701 so that everything lands together.

@gavande1
gavande1 merged commit fadd974 into fix/bring-back-blueprints-library Sep 1, 2026
9 checks passed
@gavande1
gavande1 deleted the refine-blueprints-library-ui branch September 1, 2026 07:39
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