Skip to content

Conversation

@westonruter
Copy link
Contributor

When beginning to edit a widget or when hitting Update, the preview window should scroll the widget into view, or make sure it is in view. Likewise, when hovering over a widget control, the widget in the preview window should highlight with a red outline, and likewise when clicking on a widget in the preview, the corresponding widget control should expand in the customizer panel.

This issue resolves a major usability problem illustrated by the user test video via @shaunandrews. Clicking a widget in the preview will now will open up the widget form control in the customizer panel.

  1. Hovering over widget for collapsed customizer section
  2. Hovering over widget highlights control
  3. Tooltip appears when hovering over widget in preview; click and section and form expand, with first element focused
  4. Hovering over control highlights widget in preview
@rfvcorreia
Copy link
Contributor

I'm working on solving this issue.

Adds effects to editing widgets, border effect on control hover, and scrolls to widget on input click.
rfvcorreia and others added 10 commits September 17, 2013 13:35
Conflicts:	widget-customizer.css	widget-customizer.js
…omizer Conflicts:	widget-customizer-preview.js	widget-customizer.js
Eliminate overloaded and abused wp_localized_script so we can export non-string data (registered sidebar objects)
Use new getControlInstanceForWidget API to find control instance for given widget rendered in sidebar
@westonruter
Copy link
Contributor Author

@rfvcorreia added a bunch of commits, worked out an API (getControlInstanceForWidget) to help a widget in the preview obtain its corresponding widget form control in the customizer panel.

westonruter added a commit that referenced this pull request Sep 23, 2013
Highlight and scroll widget into view in preview window
@westonruter westonruter merged commit d4a0d93 into develop Sep 23, 2013
@westonruter
Copy link
Contributor Author

Note that this issue resolves a major usability problem illustrated by the user test video via @shaunandrews. Clicking a widget in the preview will now will open up the widget form control in the customizer panel.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

2 participants