[wp-trac] [WordPress Trac] #35210: Add notification area to Customizer

WordPress Trac noreply at wordpress.org
Mon Jan 11 19:51:13 UTC 2016


#35210: Add notification area to Customizer
-------------------------------------------------+-------------------------
 Reporter:  westonruter                          |       Owner:
     Type:  enhancement                          |      Status:  new
 Priority:  normal                               |   Milestone:  4.5
Component:  Customize                            |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  needs-patch ux-feedback ui-feedback  |     Focuses:  ui,
                                                 |  javascript
-------------------------------------------------+-------------------------
Description changed by westonruter:

Old description:

> There is currently no standard location for showing notifications in the
> Customizer, whether success messages or failures. Currently in the
> Customizer, if there is a failure to save due to a server error or
> connectivity problem, there is no visual indicator that a failure
> happened other than that the Save & Publish button doesn't get disabled.
> When an error does happen, there should be an error message displayed
> there.
>
> In #34893, validation constraints are added to settings in the
> customizer. When validation constraints fail, the error messages should
> be shown in the notification bar. Likewise, in #34923 there is a proposal
> to be able to create new pages in the Customizer: the first iteration is
> just to add new blank pages with only the title supplied, and upon saving
> we need to be able to provide edit post links for those new pages so that
> the body content can be fleshed out. These links can be displayed in a
> notification bar. (These links can also be included in the nav menu item
> controls.)
>
> The notification bar should facilitate plugins to inject their own
> messages and indicate failures vs successes.

New description:

 There is currently no standard location for showing notifications in the
 Customizer, whether success messages or failures. Currently in the
 Customizer, if there is a failure to save due to a server error or
 connectivity problem, there is no visual indicator that a failure happened
 other than that the Save & Publish button doesn't get disabled. When an
 error does happen, there should be an error message displayed there.

 In #34893, validation constraints are added to settings in the customizer.
 When validation constraints fail, the error messages should be shown in
 the notification bar. Likewise, in #34923 there is a proposal to be able
 to create new pages in the Customizer: the first iteration is just to add
 new blank pages with only the title supplied, and upon saving we need to
 be able to provide edit post links for those new pages so that the body
 content can be fleshed out. These links can be displayed in a notification
 bar. (These links can also be included in the nav menu item controls.)

 The notification bar should facilitate plugins to inject their own
 messages and indicate failures vs successes.

 Tickets dependent on the notification area:

 * #29932: There is no error reporting in the Customizer
 * #31582: Catching PHP Fatal Errors on WordPress Theme Customizer
 * #34893: Improve Customizer setting validation model
 * #34923: Introduce basic content authorship in the Customizer

--

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


More information about the wp-trac mailing list