This repository has been archived by the owner on Dec 16, 2022. It is now read-only.
Add sidebar (widget area) shortcuts control #225
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Introduction of new control when a post section which lists out all of the widget areas currently displayed in the preview. Each widget area is listed in the form of a button. When clicking this button, the widget area section is opened so that the widgets can be managed. Upon collapsing the section, the previous section is re-expanded and the widget area button originally clicked is re-focused, bringing the user back to where they were before. When the page template changes to add/remove widget areas, the widget area buttons also will show/hide. These shortcut buttons cut down a lot of clicks in the customizer UI to access the widgets and they help conceptualize widgets as content blocks.
Fixes #139.
Video demo (YouTube):