[wp-trac] [WordPress Trac] #15317: My Sites limited to 23 sites on Admin Bar

WordPress Trac noreply at wordpress.org
Mon Sep 21 16:28:18 UTC 2015


#15317: My Sites limited to 23 sites on Admin Bar
---------------------------------------------+----------------------------
 Reporter:  ronbme                           |       Owner:  morganestes
     Type:  defect (bug)                     |      Status:  assigned
 Priority:  low                              |   Milestone:  4.4
Component:  Toolbar                          |     Version:  3.1
 Severity:  normal                           |  Resolution:
 Keywords:  ux-feedback has-patch make-flow  |     Focuses:  ui, multisite
---------------------------------------------+----------------------------

Comment (by morganestes):

 Based on discussion in #docs (see
 https://wordpress.slack.com/archives/design/p1440695616000216), here's the
 plan for this ticket:

 1. If a multisite install has over 10 sites, only show the "top" (however
 that's defined) 6-10 in the menu, with a search box at the top to find or
 filter the rest.
 2. Don't just load all the sites into the DOM and hide them, as that's a
 performance issue. That leaves us with AJAX for now, with the potential
 for REST in a future version.
 3. (maybe) add a filter for the "top sites" to allow the list to be
 defined via plugin.

 Things to consider:

 - Performance of loading and searching through hundreds or thousands of
 sites if they're all in the DOM.
 - Is infinite scroll an option?
 - No JS? Add a "more..." link that takes you to the sites list in Admin.
 - Can we use a site icon in the menu if one is set for the site?

 I'm looking at the recent patch by @austinginder and the plugin by
 @trepmal as starting points for this one, and would like to see efforts
 progress along these lines if possible.

 Ticket #33574 has been created for the general long-menu UI we find in
 other places in the toolbar.

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


More information about the wp-trac mailing list