Repository navigation
feat(studio): links to the live site and honest publish feedback - #75
Merged
Merged
Conversation
- "View site" in the top bar (disabled without a domain or before the first publish, with the reason in a tooltip), the site switcher and ⌘K. - Publish toasts get "View site" and "Copy link"; rollback and approval toasts get "View site". `useToast().success` takes up to two actions. - Marking an item published says it goes live with the next site publish, with a "Publish site" action (publish rights only), instead of "Page published". - Editors show the full address with a copy button: "Live at" when the live snapshot serves that item at that address, "Will be at" otherwise. - Overview: "Live at" and "Last published". - Pages and Articles rows: "View live" and "Copy link". Checked in the browser at 1440 and 390 px (design:shots, local test account): no sideways scroll, no console errors. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Madraka <[email protected]>
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.
Studio had no visible link to the live site: the only "Visit" was a row menu in Settings › Domains. Publish feedback also didn't link to what went live, and "Page published" was misleading, because marking an item published only flags it until the next site publish.
What people see
useToast().successtakes up to two actions (DESIGN.md §2n). Without a domain the toast stays plain.ClipboardText):Checks
live-site.test.tsx. Typecheck, design lint and the size ratchet pass (baseline tightened).design:shotsat 1440 and 390 px, with a local test account on a local Studio, for the overview, Pages and Articles. No sideways scroll, no console errors; "View site" and the Status card render as intended.Follow-ups
createdAt, so a rollback shows when that snapshot was taken.🤖 Generated with Claude Code