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

WordPress Trac noreply at wordpress.org
Wed Mar 1 18:17:52 UTC 2017


#35210: Add notification area to Customizer
-------------------------+-----------------------------
 Reporter:  westonruter  |       Owner:
     Type:  enhancement  |      Status:  reviewing
 Priority:  normal       |   Milestone:  4.8
Component:  Customize    |     Version:
 Severity:  normal       |  Resolution:
 Keywords:  needs-patch  |     Focuses:  ui, javascript
-------------------------+-----------------------------
Changes (by westonruter):

 * keywords:  ui-feedback ux-feedback has-patch => needs-patch


Comment:

 Ready for dev.

 For the API, I suggest that we introduce `wp.customize.notifications`
 which is a of `wp.customize.Values` (collection) instance of
 `wp.customize.Notifications`. This would mirror what is added to controls
 and settings. When this collection changes, the notifications should be
 re-rendered just as they are done on controls.

 There should be an opportunity to factor out the current code from
 controls to some `utils` namespace to re-use between control notifications
 and root notifications, while also allowing the code to be re-used for
 implementing notifications on panels and sections (see #38794).

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


More information about the wp-trac mailing list