You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Add action to "View Site" from the Site Editor sidebar #50405
It is not possible to view your site within the Site View of the Site Editor. You can only do so after navigating into the Canvas and selecting the "View" selector in the editor toolbar.
Let's explore adding a "View Site" action from the Site Hub perhaps, to enable people to quickly view their site in a new tab.
I wonder if in the site view, the site title could work as a link? I'm mainly thinking ahead to other options sitting in the site hub. A "plus" to add content, for example, could potentially sit there. I would think in the near term we can probably do with a plus in the title area of a detail page, but I still have a feeling that eventually such a plus will be convenient there.
I would agree we need a harmonized external link icon. I think we can potentially update the main icon directly, I don't think we need two variants. The only thing to be careful of there, is searching the codebase for any instances where we are using it at half size, I think that is done in help-text in a few instances.
I wonder if in the site view, the site title could work as a link
Sounds like a good idea to me, we can add the 'Visit site' tooltip to it as an extra prompt - let me know if you want me to just switch that PR to do that for now instead of the extra icon.
I wonder if in the site view, the site title could work as a link?
Maybe so? Although it's unclear that clicking site icon in the hub will take you back to WP Admin, but clicking the site title will take you to the front-of-site.
Mainly I would urge caution in adding items to the site hub, keep it as contextual as possible as long as possible. I might see a "plus" button there to add new content, such as posts or pages, and we probably don't want to end up with too many buttons. It's a tricky balance.
Activity
richtabor commentedon May 5, 2023
I don't love the varying sizes between the
externalLinkandsearchicons here.Perhaps we could use a smaller variant of the
externalLinkicon (if not edit the current to be a bit smaller).A smaller icon would also work better in the context of the Title bar (#50378 (comment)), and the newer ViewLink component in the editor header:
glendaviesnz commentedon May 8, 2023
Woops, overlooked the
Needs design feedbacktab. Was a pretty quick task to put up a PR though, so nothing lost if we don't go ahead with this.jasmussen commentedon May 8, 2023
I wonder if in the site view, the site title could work as a link? I'm mainly thinking ahead to other options sitting in the site hub. A "plus" to add content, for example, could potentially sit there. I would think in the near term we can probably do with a plus in the title area of a detail page, but I still have a feeling that eventually such a plus will be convenient there.
I would agree we need a harmonized external link icon. I think we can potentially update the main icon directly, I don't think we need two variants. The only thing to be careful of there, is searching the codebase for any instances where we are using it at half size, I think that is done in help-text in a few instances.
glendaviesnz commentedon May 8, 2023
Sounds like a good idea to me, we can add the 'Visit site' tooltip to it as an extra prompt - let me know if you want me to just switch that PR to do that for now instead of the extra icon.
richtabor commentedon May 8, 2023
Maybe so? Although it's unclear that clicking site icon in the hub will take you back to WP Admin, but clicking the site title will take you to the front-of-site.
jasmussen commentedon May 9, 2023
Mainly I would urge caution in adding items to the site hub, keep it as contextual as possible as long as possible. I might see a "plus" button there to add new content, such as posts or pages, and we probably don't want to end up with too many buttons. It's a tricky balance.
glendaviesnz commentedon May 9, 2023
Should I just close my PR for now while this is discussed further?