[wp-trac] [WordPress Trac] #33507: Allow widget controls to be JS-driven

WordPress Trac noreply at wordpress.org
Wed Jan 11 22:21:51 UTC 2017


#33507: Allow widget controls to be JS-driven
-------------------------+--------------------------------------
 Reporter:  westonruter  |       Owner:  westonruter
     Type:  enhancement  |      Status:  accepted
 Priority:  normal       |   Milestone:  Future Release
Component:  Widgets      |     Version:  3.9
 Severity:  normal       |  Resolution:
 Keywords:               |     Focuses:  javascript, performance
-------------------------+--------------------------------------

Comment (by westonruter):

 JS Widgets v0.3.0 has been released: https://github.com/xwp/wp-js-
 widgets/tree/0.3.0#changelog

 This release includes the important feature of ensuring that the JS `Form`
 components for the widgets can be used on the widgets admin screen in
 addition to the customizer. The `Form` JS component can now be used on any
 context, including the frontend or on the edit post screen. A next step is
 to prototype integrating JS Widgets with Shortcake to use the JS Widget
 `Form` interface as the shortcode UI, to allow any registered widgets to
 be used as Post Elements: https://github.com/xwp/wp-js-widgets/issues/11

 This release also improves the UX of a widget's Save button on the widgets
 admin screen by turning it to “Saved” and disabled, similar to what is
 done in the customizer. See #23120.

 Other changes include improvements to generating the JS templates for
 input fields based on the fields defined in the REST API schema.

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


More information about the wp-trac mailing list