[wp-trac] [WordPress Trac] #27355: Customizer: Add framework for selective refresh (partial preview refreshes)
WordPress Trac
noreply at wordpress.org
Mon Jan 18 08:38:51 UTC 2016
#27355: Customizer: Add framework for selective refresh (partial preview refreshes)
----------------------------+--------------------------
Reporter: westonruter | Owner: westonruter
Type: task (blessed) | Status: assigned
Priority: normal | Milestone: 4.5
Component: Customize | Version: 3.4
Severity: normal | Resolution:
Keywords: needs-patch | Focuses: javascript
----------------------------+--------------------------
Comment (by westonruter):
Replying to [comment:53 rabmalin]:
> Which would be good option?
I suggest option 1: augmenting `postMessage` transport with selective
refresh. From the [https://youtu.be/ikW8dfaOPng demo video], you can see
this has the added benefit of allowing a JS implementation to do an
approximate instant preview of a setting change while waiting for the Ajax
response to return with the actual rendered contents. The JS preview logic
is not required here.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/27355#comment:54>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list