Page MenuHomePhabricator

Improve UX in chapter dropdown menu for books with lots of chapters
Closed, DeclinedPublic


If a book has e. g. 100 chapters, the menu may be a little inconvenient for the user.

Open e.g.

and execute the following in the console:


  .append('<li>Extra chapter '+i+'</li>');

you'll have to scroll the page to get to the last chapter, and I don't know if this is the better approach.

One alternative I can think of is to add just a few (10?) chapters to the list and insert an input box after that,


.after('<input type="search" placeholder="Search chapter...">');

which the user could use to type the name of another chapter, and get suggestions as in Vector's search menu, which seems to use this module:

Version: unspecified
Severity: normal



Related Objects

Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 1:49 AM
bzimport set Reference to bz51257.

Note: it also needs a vertical-scrollbar when the menu reach a certain size limit

Another option, for Helder's idea, is the 'infinite scrolling'(I love that):

Generic exemples, here:

And mediawiki exemple in extension 'Page Curation', here:

Change 74658 had a related patch set uploaded by Mollywhite:
Bug 51257: Improve chapter dropdown for books with many chapters.

Change 74658 merged by Mollywhite:
Bug 51257: Improve chapter dropdown for books with many chapters.

Aklapper lowered the priority of this task from Low to Lowest.Feb 11 2016, 6:08 PM
MarcoAurelio subscribed.

Declining because BookManagerv2 is an archived extension now. Please see T178938: Archive the BookManagerv2 extension for details. All Gerrit patches were already abandoned long ago.