[wp-trac] [WordPress Trac] #28983: Admin bar length or Admin bar on two line

WordPress Trac noreply at wordpress.org
Wed Nov 9 15:25:05 UTC 2022


#28983: Admin bar length or Admin bar on two line
-------------------------------------------------+-------------------------
 Reporter:  korobochkin                          |       Owner:  KZeni
     Type:  defect (bug)                         |      Status:  assigned
 Priority:  normal                               |   Milestone:  Future
                                                 |  Release
Component:  Toolbar                              |     Version:  4.3
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch needs-testing needs-       |     Focuses:  ui, css
  design-feedback                                |
-------------------------------------------------+-------------------------

Comment (by KZeni):

 @seedsca Interesting approach, but I'm not sure people would like to see
 some items being shown right in the menu while others are hidden behind a
 "More" menu (which often means they might as well not be there) simply due
 to the order in which they're showing in the menu. It might be helpful if
 plugins could opt into using the "More" menu (but we can't guarantee this
 will be used instead of adding directly to the menu bar so the issue
 may/will still persist with this change) or WordPress itself makes it so
 that plugins & things that try adding to the admin menu get added to the
 "More" menu at all times while the only things shown directly in the menu
 bar are the official WP menu items (but then that isn't the most flexible
 way to go about it even though it makes it more likely that there'll be a
 UI issue due to too many things trying to add items to the menu... some
 items a plugin/etc. might add really could make more sense to be shown
 directly in the menu bar rather than being presented in a sub-menu.)

 As such, I do think the approach of truncating the text labels (even to
 the point of just showing their icon, if needed) is the best approach out
 of these (definitely mention if there's a different approach that I didn't
 consider that could work well). The icon should be sufficient in giving
 context for that menu item, it is similar to the mobile menu where they do
 just get reduced to being their icons, etc. while it then still tries to
 show as much of the text labels as possible so it's as helpful as it can
 be at a glance without ever having the items wrap to a new line.

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


More information about the wp-trac mailing list