WordPress / gutenberg

The Block Editor project for WordPress and beyond. Plugin is available from the official repository.
https://wordpress.org/gutenberg/
Other
10.57k stars 4.22k forks source link

Preview should not always require two clicks #24584

Open ACEkin opened 4 years ago

ACEkin commented 4 years ago

Until 5.5, we could click on the Preview button and see the result in a new window. The latest version added the option to preview in different screen types, that is nice. But, most of the time the preview is for one screen and that should not always require two clicks. The UI can be designed so that a second click becomes necessary only when we want to change the screen type or size. At other times, under most conditions, one click on Preview should launch the preview in a new tab.

Soean commented 4 years ago

Related issue: Improving Gutenberg Preview option to match user expectations #24593

ACEkin commented 4 years ago

The model for the preview could be the "Publish" button with a gear next to it in the customize screen.

ACEkin commented 4 years ago

I am going to repeat the request, I am not sure if it is good manners here. But it is getting really difficult to use the interface. Earlier, I suggested the publish button in the customizer but, a better model may be the flyout submenus in the dashboard while the anchor link is still clickable. It is used in pretty much all the dashboard menus that have submenu selections.

Please!

baba43 commented 4 years ago

I'm sorry to say this, but I have no idea how this feature could ever be implemented like this. It feels wrong at first sight.

For many years, the preview button had one useful function: to open the preview of the page. This function is not only useful, but also necessary, since Gutenberg is unfortunately only a backend editor.

Now this common function has been hidden behind a dropdown, which makes it difficult to use. What's worse is that choosing between mobile and desktop has absolutely no effect on the original function of opening the real page in a new window. Then why were these two features combined?

The most sensible solution would be to restore the preview function as it was before and to move the new function elsewhere. If in doubt, simply use a switch or icons.

In general, I do not understand the meaning behind the new function, because the Gutenberg Editor does not show the real page either way. The supposed preview in the mobile version does not save the work of looking at the actual page in the mobile version. Every browser has a function for this.

noisysocks commented 4 years ago

This was reported here as well: https://core.trac.wordpress.org/ticket/51026

johnbillion commented 4 years ago

Related: #23126

johnbillion commented 3 years ago

Reported again on Trac https://core.trac.wordpress.org/ticket/53496

scottdavidcraig commented 3 years ago

I came here to ask for this. The two click setup makes previewing an absolute pain. Especially when working with lots of posts in batches.

ACEkin commented 3 years ago

scottdavidcraig, don't hold your breath. WordPress seems to be determined to ignore user feedback. This, I posted about a year and a half ago, a similarly long in waiting request to fix the tiled galleries is still waiting. Not only that, the new updates broke the gallery in other ways.

McBart commented 1 year ago

I concur, Preview is a core function of the interface. It should just take one click. Why on earth is it buried in an dropdown menu. I use preview many time a day. There are already buttons for desktop, tablet and desktop In the menu bar, so why are they also in the preview dropdown. Doesn't make any sense to me.....