Publish through the redesigned connect-site picker, shared with onboarding - #4449
Draft
shaunandrews wants to merge 14 commits into
Draft
Publish through the redesigned connect-site picker, shared with onboarding#4449shaunandrews wants to merge 14 commits into
shaunandrews wants to merge 14 commits into
Conversation
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
3 tasks
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
…rding Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
shaunandrews
force-pushed
the
stu-2162-publish-modal
branch
from
August 4, 2026 23:26
e08419d to
aef940c
Compare
3 tasks
Contributor
Author
The shared picker still uses onboarding/Pull copy: “Select a site to create its local copy.” In Publish, the user is selecting a remote Push destination. Also, Finally, the “Create a WordPress.com site” URL sets |
…aces-dropdown # Conflicts: # apps/cli/commands/pull.ts # apps/local/src/index.ts # apps/studio/src/modules/sync/lib/ipc-handlers.ts # apps/ui/src/components/site-dropdown/index.tsx # apps/ui/src/components/site-dropdown/main-view.test.tsx # apps/ui/src/components/site-dropdown/main-view.tsx # apps/ui/src/components/site-overview-view/index.tsx # apps/ui/src/data/core/types.ts # apps/ui/src/ui-classic/router/route-site-overview/index.tsx # packages/common/sites/sync.ts
…aces-dropdown # Conflicts: # apps/ui/src/components/site-dropdown/index.tsx # apps/ui/src/components/site-dropdown/main-view.module.css # apps/ui/src/components/site-dropdown/main-view.test.tsx # apps/ui/src/components/site-dropdown/main-view.tsx # apps/ui/src/components/site-dropdown/trigger-secondary.ts # apps/ui/src/components/site-list/index.tsx # apps/ui/src/components/site-overview-view/index.test.tsx # apps/ui/src/components/site-toolbar/index.test.tsx # apps/ui/src/components/site-toolbar/utils.test.ts # apps/ui/src/components/site-toolbar/utils.ts
…-sync-button # Conflicts: # apps/ui/src/components/site-toolbar/utils.ts
# Conflicts: # apps/ui/src/ui-classic/router/route-onboarding-connect/index.tsx
1 task
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Related issues
How AI was used in this PR
Claude Code built this on top of the header stack and verified it live (typecheck + unit tests, all passing).
Proposed Changes
The header's Publish action (shown when a site has no live connection yet) now opens the redesigned connect modal — the same rich picker onboarding uses, with search, grouped sites (available / needs transfer / needs upgrade), thumbnails, and per-site status — instead of the plain list it opened before.
To do that without duplicating logic, the picker's
site-presentationhelpers are promoted into the sharedconnect-site-pickercomponent that both the Publish modal and onboarding draw from. Onboarding's connect screen itself is unchanged in this PR; migrating its inline picker UI onto the shared component is a sensible follow-up.Testing Instructions
Pre-merge Checklist
RELEASE-NOTES.txtif necessary.