[wp-trac] [WordPress Trac] #51884: Events Widget: There isn't a UI for clearing the selected city

WordPress Trac noreply at wordpress.org
Sun Jul 7 00:35:35 UTC 2024


#51884: Events Widget: There isn't a UI for clearing the selected city
-------------------------------------------------+-------------------------
 Reporter:  iandunn                              |       Owner:  (none)
     Type:  enhancement                          |      Status:  new
 Priority:  normal                               |   Milestone:  Awaiting
                                                 |  Review
Component:  Administration                       |     Version:  6.2
 Severity:  normal                               |  Resolution:
 Keywords:  good-first-bug needs-design has-     |     Focuses:  ui
  patch                                          |
-------------------------------------------------+-------------------------

Comment (by alh0319):

 I would like to propose a different design for clearing the location. I
 don't believe that an X on its own is sufficiently clear and may result in
 confusion for some users.

 I think two changes should be made:
 1. Reword the "Select Location" button to "Change Location" - this more
 clearly explains that the collapsed section can be used to change the
 location either by submitting a city or removing it. (I always find it odd
 that it says "select" when a select/dropdown is not present and it's not
 actually a select UI.)

 2. Add a "Clear Location" button next to the cancel button to the right of
 the form (with a dashicon).

 Here is a design:
 [[Image(https://equalizedigital.com/wp-
 content/uploads/2024/07/Screenshot-2024-07-06-at-7.28.28 PM.png)]]

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


More information about the wp-trac mailing list