WordPress/wp-admin
Weston Ruter 728e44ab5a 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.

Built from https://develop.svn.wordpress.org/trunk@41667


git-svn-id: http://core.svn.wordpress.org/trunk@41501 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-10-02 03:37:46 +00:00
..
css Customize: Add infrastructure for trashing/reverting of unpublished changes; introduce full-screen `OverlayNotification` for trashing and theme install/preview. 2017-10-02 03:37:46 +00:00
images
includes Multisite: Use `get_current_blog_id()` instead of `$wpdb->blogid`. 2017-10-02 01:44:47 +00:00
js Customize: Add infrastructure for trashing/reverting of unpublished changes; introduce full-screen `OverlayNotification` for trashing and theme install/preview. 2017-10-02 03:37:46 +00:00
maint
network Multisite: Display correct roles in Network > Site Users screen for sites other than the main site. 2017-09-30 03:20:46 +00:00
user
about.php Media: Upgrade MediaElement.js from 2.22.0 to 4.2.3. 2017-08-01 04:43:51 +00:00
admin-ajax.php Retire Press This and extract it to a plugin. First run. 2017-09-24 14:22:54 +00:00
admin-footer.php
admin-functions.php
admin-header.php
admin-post.php
admin.php
async-upload.php Remove SWFUpload, 2017-09-21 16:35:48 +00:00
comment.php
credits.php About page: Add a privacy policy. 2017-07-19 21:42:42 +00:00
custom-background.php Docs: Remove `@access` notations from method DocBlocks in wp-admin/* classes. 2017-07-27 00:40:43 +00:00
custom-header.php Docs: Remove `@access` notations from method DocBlocks in wp-admin/* classes. 2017-07-27 00:40:43 +00:00
customize.php Customize: Introduce a new experience for discovering, installing, and previewing themes within the customizer. 2017-09-29 20:13:50 +00:00
edit-comments.php
edit-form-advanced.php
edit-form-comment.php
edit-link-form.php
edit-tag-form.php Taxonomy: Introduce a `back_to_items` taxonomy label. 2017-09-27 14:39:45 +00:00
edit-tags.php Taxonomy: Allow for adding custom list table views to taxonomy screens. 2017-09-13 15:20:44 +00:00
edit.php
export.php
freedoms.php About page: Add a privacy policy. 2017-07-19 21:42:42 +00:00
import.php
index.php
install-helper.php
install.php I18N: Allow numbers in locales during installation. 2017-09-04 19:30:43 +00:00
link-add.php
link-manager.php
link-parse-opml.php
link.php
load-scripts.php
load-styles.php
media-new.php
media-upload.php
media.php
menu-header.php Administration: Admin menu: Use `aria-current` for the current active page. 2017-09-09 14:50:43 +00:00
menu.php Role/Capability: Introduce capabilities dedicated to installing and updating language files. 2017-08-18 18:31:44 +00:00
moderation.php
ms-admin.php
ms-delete-site.php Multisite: Use `get_current_blog_id()` instead of `$wpdb->blogid`. 2017-10-02 01:44:47 +00:00
ms-edit.php
ms-options.php
ms-sites.php
ms-themes.php
ms-upgrade-network.php
ms-users.php
my-sites.php Docs: Reduce confusion in `@since MU` notationss by indicating the WP version (3.0.0) the code was merged into core while retaining the original context. 2017-08-01 20:44:43 +00:00
nav-menus.php
network.php General: Improve terminology used when referring to installations of WordPress and its extensions. 2017-08-22 11:52:48 +00:00
options-discussion.php
options-general.php General: Improve terminology used when referring to installations of WordPress and its extensions. 2017-08-22 11:52:48 +00:00
options-head.php
options-media.php
options-permalink.php Permalinks: Change structure tag button state more reliably. 2017-09-26 08:24:46 +00:00
options-reading.php Customize: Rename "Static front page" to just "Homepage". 2017-09-10 16:20:44 +00:00
options-writing.php General: Improve terminology used when referring to installations of WordPress and its extensions. 2017-08-22 11:52:48 +00:00
options.php General: Improve terminology used when referring to installations of WordPress and its extensions. 2017-08-22 11:52:48 +00:00
plugin-editor.php Code Editors: Update the current file highlight to use notice styling. 2017-09-25 21:46:47 +00:00
plugin-install.php General: Improve terminology used when referring to installations of WordPress and its extensions. 2017-08-22 11:52:48 +00:00
plugins.php Retire Press This and extract it to a plugin. First run. 2017-09-24 14:22:54 +00:00
post-new.php
post.php
press-this.php Retire Press This and extract it to a plugin. First run. 2017-09-24 14:22:54 +00:00
privacy.php About page: Add a privacy policy. 2017-07-19 21:42:42 +00:00
profile.php
revision.php
setup-config.php Setup: Hide database errors while testing the table prefix. 2017-09-28 07:58:46 +00:00
term.php
theme-editor.php I18N: Use a consistent pattern for translator comments for placeholders in Customizer and widget strings. 2017-09-29 11:42:48 +00:00
theme-install.php Plugins: Improve error messages on plugins screen. 2017-09-27 08:46:45 +00:00
themes.php Accessibility: Improve the Theme Details modal accessibility. 2017-10-01 13:48:46 +00:00
tools.php Retire Press This and extract it to a plugin. First run. 2017-09-24 14:22:54 +00:00
update-core.php Role/Capability: Introduce capabilities dedicated to installing and updating language files. 2017-08-18 18:31:44 +00:00
update.php General: Improve terminology used when referring to installations of WordPress and its extensions. 2017-08-22 11:52:48 +00:00
upgrade-functions.php
upgrade.php
upload.php
user-edit.php Taxonomy/Users: Use correct escaping function for URLs. 2017-09-19 21:14:47 +00:00
user-new.php Multisite: Use `get_current_blog_id()` instead of `$wpdb->blogid`. 2017-10-02 01:44:47 +00:00
users.php Help/About: Tweak Help tabs on Users screen for consistency with Posts screen. 2017-09-22 18:31:48 +00:00
widgets.php Accessibility: Improve the sidebar toggles in the Widgets screen. 2017-09-27 16:29:44 +00:00