Draft
Conversation
Replaces the flat connected sites list with a vertical stack of server racks showing Local → Staging → Production hierarchy with push arrows between tiers and pull/push buttons per remote site. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Replace the dynamic connected-sites list with a fixed Local → Staging → Production rack model. Each remote slot holds at most one site, making the deployment pipeline explicit. Empty slots show a dashed-border "Connect" button; filled slots include Pull/Push and a menu with Replace and Disconnect actions. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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.
An experimental redesign of the Sync tab that presents a more prescribed system of Local -> Staging -> Production. The design is meant to abstractly represent server racks, with your local Studio site at the top, staging in the middle, and production at the bottom. Users can connect one site to each rack, and then push/pull between.
Proposed Changes
sync-server-rack.tsxto render three explicit slots (Local, Staging, Production) instead of dynamically mapping connected sitesEmptySlotcomponent (dashed border + "Connect" button) andFilledSlotcomponent (Pull/Push buttons + Replace/Disconnect menu)connectingSlotto Redux state so the site selector modal knows which slot is being filledenvironmentFilterprop toSyncSitesModalSelectorto prioritize matching-environment sites and update the modal titlegetSlotForSite()helper that mapsdevelopmentenvironment to the staging slotTesting Instructions