Skip to content
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

Preview button behavior #818

Closed
jasmussen opened this issue May 17, 2017 · 4 comments · Fixed by #845
Closed

Preview button behavior #818

jasmussen opened this issue May 17, 2017 · 4 comments · Fixed by #845
Assignees
Labels
General Interface Parts of the UI which don't fall neatly under other labels.

Comments

@jasmussen
Copy link
Contributor

Inspired by #659, let's discuss what the preview button should do.

Very very early and casual feedback suggested to me that a split screen preview feature was something people desired. So here's a mockup.

preview

preview splitscreen

In this draft flow, we treat the preview button as part of a "toggle group", which means toggling it untoggles Post Settings. The two buttons were designed like this from the start, which is why they have labels, and are separated from the others.

There's a "Open in external window" button on the preview toolbar.

Resizing the preview window is essentially a way to test the responsive look of the post also.

This is one flow we can explore. Another option is to simply open the preview in a new tab when you click the editor bar button, which is the current behavior. Though in that case we'd probably want to move the button out of of the "toggle group" separator.

@jasmussen jasmussen added General Interface Parts of the UI which don't fall neatly under other labels. Design labels May 17, 2017
@mtias
Copy link
Member

mtias commented May 17, 2017

Split screen is not great because we won't have the ability to sync them on edits—the "preview" will have a delay to reload. I think we should keep the current behaviour of wp-admin for v1.

@westonruter
Copy link
Member

As noted on #659, anything related to preview I think is an area for collaboration with Customizer, namely in applying post data and post meta to the frontend for previewing.

@jasmussen
Copy link
Contributor Author

As a quick minimal followup, in an interface where the Preview button isn't a toggle, but rather opens in a separate window, we could rearrange the top buttons ever so slightly:

screen shot 2017-05-17 at 18 26 27

Oh, and added a label there, which I think Mel will appreciate ;)

@karmatosed
Copy link
Member

I really like the last mockup @jasmussen.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
General Interface Parts of the UI which don't fall neatly under other labels.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants