[wp-trac] [WordPress Trac] #39087: Customizer: Add indicator when additional widget areas are hidden
WordPress Trac
noreply at wordpress.org
Thu Jan 26 22:16:02 UTC 2017
#39087: Customizer: Add indicator when additional widget areas are hidden
-------------------------------------------------+-------------------------
Reporter: shireling | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Future
Component: Customize | Release
Severity: normal | Version:
Keywords: needs-patch has-ux-feedback good- | Resolution:
first-bug | Focuses:
-------------------------------------------------+-------------------------
Comment (by gma992):
Replying to [comment:9 westonruter]:
> This is a good first bug to get feet wet with customizer JS API. There
is already a notification that displays when there are no widget areas in
the preview, so the needed patch would extend that to show another
notification when there are some widget areas sections that are not
active.
I'm trying to get that notification to show up using a custom page without
widget areas but I'm unable to see it (shows up for a second when the
customizer loads but disappears immediately), examples:
- Custom page with zero widget areas: https://cloudup.com/caQZhxkb4jf
- If I get rid of one of them only (the sidebar widget area) it shows
correctly the remaining two: https://cloudup.com/cSdT5Zxz4cp
Maybe I'm misunderstanding the expected behavior?
If I'm on the right path we're looking at `src/wp-admin/js/customize-
widgets.js`, and the notification that should trigger when there are no
widget areas in the preview is:
{{{
'noAreasRendered' => __( 'There are no widget areas currently rendered in
the preview. Navigate in the preview to a template that makes use of a
widget area in order to access its widgets here.' ),
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/39087#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list