[wp-trac] [WordPress Trac] #37661: A New Experience for Discovering, Installing, and Previewing Themes in the Customizer
WordPress Trac
noreply at wordpress.org
Mon Oct 2 03:36:23 UTC 2017
#37661: A New Experience for Discovering, Installing, and Previewing Themes in the
Customizer
-------------------------------------+-------------------------------------
Reporter: celloexpressions | Owner: westonruter
Type: feature request | Status: closed
Priority: high | Milestone: 4.9
Component: Customize | Version: 4.2
Severity: normal | Resolution: fixed
Keywords: has-screenshots has- | Focuses: ui, accessibility,
user-testing has-patch needs- | javascript
testing ux-feedback commit |
-------------------------------------+-------------------------------------
Comment (by westonruter):
In [changeset:"41667"]:
{{{
#!CommitTicketReference repository="" revision="41667"
Customize: Add infrastructure for trashing/reverting of unpublished
changes; introduce full-screen `OverlayNotification` for trashing and
theme install/preview.
* Introduce a new `wp.customize.previewer.trash()` JS API to trash the
current changeset, along with logic to `WP_Customize_Manager` to handle
deleting changeset drafts.
* Add `trashing` to `wp.customize.state` which is then used to update the
UI.
* UI for trashing is pending design feedback. One possibility is to add a
new trash button to Publish Settings section that invokes
`wp.customize.previewer.trash()`.
* Improve logic for managing the visibility and disabled states for
publish buttons.
* Prevent attempting `requestChangesetUpdate` while processing and bump
processing while doing `save`.
* Update `changeset_date` state only if sent in save response.
* Merge `ThemesSection#loadThemePreview()` into
`ThemesPanel#loadThemePreview()`.
* Remove unused `autosaved` state.
* Start autosaving and prompting at beforeunload after a change first
happens. This is key for theme previews since even if a user did not make
any changes, there were still dirty settings which would get stored in an
auto-draft unexpectedly.
* Allow `Notification` to accept additional `classes` to be added to
`container`.
* Introduce `OverlayNotification` and use for theme installing,
previewing, and trashing. Such overlay notifications take over the entire
window.
Props westonruter, celloexpressions.
See #37661, #39896, #21666, #35210.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/37661#comment:219>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list