WordPress.org

Make WordPress Core

Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#31458 closed feature request (fixed)

Press This: Add Preview functionality

Reported by: Michael Arestad Owned by: azaozz
Milestone: 4.2 Priority: normal
Severity: normal Version: 4.2
Component: Press This Keywords:
Focuses: ui Cc:

Description

This was brought up earlier today and I think could make a good addition to the Action bar at the bottom.

Super quick mockup:
https://cldup.com/Lkoi8KoWtC.png

We need to discuss what happens when clicked. I think there are two options. One is more pleasant (and probably trickier) than the other.

  1. The preview opens in a new window. This is pretty standard behavior, but is super rough when you have multiple tabs open or are on mobile.
  1. The preview opens in a full screen iframe modal. The modal would have a "Close" or "Hide preview" button over it on the top right. This would enable quick edits and toggling of visibility without ever leaving the Press This window. Quick (ultra rough) mockup:

https://cldup.com/pS_JrR8OFv.png

Thoughts?

Change History (4)

#1 @SergeyBiryukov
6 years ago

  • Milestone changed from Awaiting Review to 4.2

This ticket was mentioned in Slack in #core by michaelarestad. View the logs.


6 years ago

#3 @azaozz
6 years ago

  • Owner set to azaozz
  • Resolution set to fixed
  • Status changed from new to closed

In 31654:

PressThis: add preview functionality. Opens the preview in a new window or a tab next to the source tab.
Fixes #31458.

#4 @azaozz
6 years ago

In 31655:

PressThis: make the Preview button "subtle".
See #31458.

Note: See TracTickets for help on using tickets.