-
Notifications
You must be signed in to change notification settings - Fork 51
Add Publish banner on Overview tab for non-connected sites #2025
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: trunk
Are you sure you want to change the base?
Add Publish banner on Overview tab for non-connected sites #2025
Conversation
📊 Performance Test ResultsComparing 00679e5 vs trunk site-editor
site-startup
Results are median values from multiple test runs. Legend: 🟢 Improvement (faster) | 🔴 Regression (slower) | ⚪ No change |
0c388a1 to
706b4f7
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for implementing the Option A! ✨
It's great we can test the banner in the app.
I found a small issue. When I run npm start (or click cmd+R) and directly click on Publish site the tab doesn't change and therefore the modal is not present. Once I change to the Sync tab the modal appears successfully and then the Publish button starts working as expected.
publish-site-in-overview.mp4
I saw this as well in my testing. I also noticed a different variation of this issue:
I noticed that it happens when you switch to any tab e.g. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work!!
I noticed one alignment issue. I see that in Figma, we have the banner for option B stretched along over the thumbnail like so:
If we decide to go with Option A which the currently implementation seems to be closes to, we can then make sure to drop the banner lower to be consistent with the top of the preview:
vs.the current implementation:
If we decided to do that, we can then ignore my comment regarding the border being more rounded.
|
I think I prefer option F, but being the |
Would it make sense to add an icon to the button, too? E.g. |
…dio-add-launch-your-site-in-the-main-navigation
|
Claude finished @epeicher's task —— View job Code Review Complete ✅I've completed a comprehensive code review of PR #2025. Here are my findings: 🔴 Critical Issues1. Modal Not Appearing on First Click (Bug)Location: Root Cause: The tab remounting logic in Impact: Users must switch tabs twice before seeing the modal - poor UX. Solution: I've provided detailed suggestions in the inline comments, including using 2. Incorrect TypeScript ImportLocation: Importing from
|
|
Claude finished @epeicher's task —— View job Comprehensive Code Review - PR #2025I've completed a thorough code review of the "Publish site" button implementation. Here are my findings: 🔴 Critical Issues1. Modal Bug - Root Cause Identified
|
|
I'll analyze this and get back to you. |
|
Thanks @katinthehatsite, @sejas, and @wojtekn for your reviews and suggestions! I have implemented option F as suggested. Could you please give another review if possible? 🙏 |


Related issues
Designs here with multiple options RToz6tIuQ7nlZrikBte4GU-fi-10114_136499 The implemented option is F in the designs with the button on the left as suggested here
These changes are based on the changes from PR #2002
Video with demo of changes
CleanShot.2025-11-07.at.18.37.39.mp4
Proposed Changes
Testing Instructions
Publish siteappears on the headerRegression testing
Pre-merge Checklist