Last modified: 2013-07-23 21:01:57 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T52670, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 50670 - Load dropdown menu only after it is clicked
Load dropdown menu only after it is clicked
Status: RESOLVED WONTFIX
Product: MediaWiki extensions
Classification: Unclassified
BookManagerv2 (Other open bugs)
master
All All
: Unprioritized normal (vote)
: ---
Assigned To: Molly White
:
Depends on:
Blocks: 50386 51257
  Show dependency treegraph
 
Reported: 2013-07-03 15:05 UTC by Raylton P. Sousa
Modified: 2013-07-23 21:01 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Raylton P. Sousa 2013-07-03 15:05:08 UTC
in the prototype of navigation[1], today, there are two dropbox and these will be filled with a large set of content. It is undesirable that content to be loaded before it clicked, because it can increase the loading time of pages unnecessarily

[1]http://www.mollywhite.net/storage/gsoc/navbar.html
Comment 1 Helder 2013-07-12 19:11:46 UTC
Not necessarily, if the list is loaded only after the user clicks in the button, there may be a delay until it is displayed to the user (having it preloaded would mitigate that delay, I think). Another alternative would be to load (before the click) just a few chapters which are near the current one (e.g. 5 previous chapters and 5 subsequent chapters), and present the user the option to "load more..." or "see all..." (then load the whole list when this option is clicked)

Anyway, what about users without JavaScript?
Comment 2 Raylton P. Sousa 2013-07-12 20:44:14 UTC
I do not understand well about cache, so I do not know if your option is better, but we could also:
1.Load ("after" the click) just a few chapters which are near the current one
(e.g. 5 previous chapters and 5 subsequent chapters)
2.Present the option to "load more..." or "see all..." (then load the whole list when this option is clicked). 


Anyway, the points are:
1. Do not be slow to load the whole page in case of big books
2. Do not be slow to load the menu (when clicked).
Comment 3 Molly White 2013-07-23 20:53:22 UTC
We're going to improve load times by caching the JSON objects. This should improve performance without causing a delay in loading the dropdown or requiring additional requests to be sent.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links