[wp-trac] [WordPress Trac] #32757: Press This: use a split button for Save | Publish | Preview

WordPress Trac noreply at wordpress.org
Sun Jun 28 05:16:19 UTC 2015


#32757: Press This: use a split button for  Save | Publish | Preview
-------------------------+----------------------------
 Reporter:  azaozz       |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  4.3
Component:  Press This   |     Version:
 Severity:  normal       |  Resolution:
 Keywords:               |     Focuses:  accessibility
-------------------------+----------------------------

Comment (by azaozz):

 Replying to [comment:19 kraftbj]:

 Yeah, was testing different ways to open the Edit Post page in the main
 window.

 Not particularly happy with [32983]. It takes 3x the network latency time
 to work: send ajax request, receive answer, load the Edit Post page in the
 main window.

 The other way this can work is to simply submit the post form, same as
 when doing preview. This is faster as the form submit open a new tab in
 the main browser window (one network trip less). However if there is an
 error when saving, we can't get the data back as the PT popup is already
 closed. We probably can leave it open, but... Not sure how that's going to
 look in the 99.99% of the cases when there are no errors.

 Also moved the "Saving..." message to show in the "Publish" button (the
 main part of the split button). Before it was on the Save Draft button.

 Still needs doing:
 - Maybe better styles for "selected" state of the split button.
 - Need "disabled" state styling for all buttons.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/32757#comment:21>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list