Skip to content

Studio Blueprints Library: Visually pull blueprints into Studio#3261

Draft
katinthehatsite wants to merge 48 commits intotrunkfrom
fix/add-blueprints-ui
Draft

Studio Blueprints Library: Visually pull blueprints into Studio#3261
katinthehatsite wants to merge 48 commits intotrunkfrom
fix/add-blueprints-ui

Conversation

@katinthehatsite
Copy link
Copy Markdown
Contributor

Related issues

Fixes STU-1618

How AI was used in this PR

TBD

Proposed Changes

Testing Instructions

Pre-merge Checklist

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

shaunandrews and others added 30 commits April 20, 2026 12:24
Reconcile only flagged sites deleted when they appeared in the fetched
page, so any connected site beyond page 1 of /me/sites was getting
marked deleted. Now we verify each missing connected site with an
individual GET and only mark it deleted on a confirmed 404.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Replaces the three-step stepper with a single entry screen offering
Build/Connect/Import paths, a dedicated blueprint picker, and a Connect
screen that reuses the Sync site list. The modal chrome is now an X
button and a floating action row — no full-width header/footer bars —
so the Screen's height is constant across steps and content centers
without shifting when navigating between paths.

Backup imports preflight the dropped file before advancing, so invalid
archives are caught on the entry screen. SitesListContent and related
helpers from the Sync modal are extracted so both surfaces render the
same grouped site list.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Trunk removed the BlueprintValidationWarning type and related hook
state as unused. Strip matching references from the redesigned
add-site flow (upload-blueprint-button, index.tsx) so file uploads
no longer try to forward warnings.

Also tighten the pagination-reconciliation code: the /me/sites
response schema now returns each site as `unknown`, so parse each
entry with the site schema before extracting IDs.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@katinthehatsite katinthehatsite self-assigned this Apr 27, 2026
@katinthehatsite katinthehatsite marked this pull request as draft April 27, 2026 21:20
Base automatically changed from enrich-site-list-data to trunk April 29, 2026 16:20
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