[wp-trac] [WordPress Trac] #27404: Widget Customizer: Allow adding inactive widgets to widget areas

WordPress Trac noreply at wordpress.org
Mon Jan 18 21:49:38 UTC 2016


#27404: Widget Customizer: Allow adding inactive widgets to widget areas
-------------------------------------+-----------------------------
 Reporter:  westonruter              |       Owner:
     Type:  feature request          |      Status:  new
 Priority:  normal                   |   Milestone:  4.5
Component:  Widgets                  |     Version:  3.9
 Severity:  normal                   |  Resolution:
 Keywords:  needs-patch ux-feedback  |     Focuses:  ui, javascript
-------------------------------------+-----------------------------

Comment (by todd-inmotion):

 Replying to [comment:12 westonruter]:
 > Replying to [comment:11 todd-inmotion]:
 > > If the user has filled in the Title of the Inactive Widget, we will
 replace the normal description with the title they have used.  If they do
 not have a title (very common), we will have a default of some sort.
 >
 > Not totally sure I understand. Are you referring to how inactive widgets
 are listed on the widgets admin page?

 I am referring to how the Inactive Widget will look in the Add a Widget
 slide out menu when nested under the New Menu.  For example, the
 Categories Widget has the text underneath "A list or dropdown of
 categories".  For Inactive but configured, we will need a way to identify
 it - so maybe replace "A list or dropdown of categories" with "Title:
 Filled in previously by user".  But this can wait till we do the
 wireframe, not really sure how that will look yet.

 >
 > > *How to truly delete the Inactive Widget - our other method allows
 access to the Widget Config to delete it.  We would need to add Delete of
 some sort to the Inactive Widget in the Add Widget list.
 >
 > I suggest eliminating the “Close” link that appears next to “Remove”
 since it is redundant (if useful or accessibility, it can be marked with
 the appropriate class to make it invisible?). So instead of “__Remove__ |
 __Close__” the links for a previously saved widget could be “__Remove__ |
 __Delete__”, where “Remove” moves it to the inactive widgets (or this
 could be “Deactivate” instead). If a widget was just added and is not
 saved, it would just have the “Delete” link.

 Summary of "How to Truly Delete a Widget" based from thread.
 To provide an easy way to delete from both an Active Widget and from the
 new Inactive Widget placement inside of the "Add a Widget" slide out menu.

 For all Active Widgets the action links could become one of the following
 options:
 Remove | Move | Delete
 Deactivate | Move | Delete
 Move | Delete
 Remove | Move

 Note that Close does not exist anymore for all options.  It is redundant.

 Remove/Deactivate places the configured widget into the Add a Widget slide
 out menu
 Move give navigation to move the widget to a new widget area.  If menu
 doesn't have "Remove/Deactivate", then an option will exist to "Save and
 Remove" with a message it is going to Add a Widget.  If menu doesn't have
 "Delete" then put that under "Move".
 Delete actually removes the configuration.

 I like "Move | Delete" - your thoughts?

 Once the user has placed the Inactive Widget in the Add a Widget slide out
 menu, we need a way for them to delete this.  We will add a Delete link
 specific to the Inactive Widget, TBD how it looks though.

 > Maybe there could be an arrow button that appears next to each available
 widget that has inactive widgets available. When clicking this arrow, a
 list of inactive widgets could appear below. Clicking the arrow again
 could collapse the list of inactive widgets

 Sounds good, we can do that.

 At this point, I will have some mockup/wireframes made, that will make it
 easier to decide.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/27404#comment:14>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list