mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-24 07:43:47 +00:00
820c173644
If the wgVectorSearchClient supports it (the default implementation doesn’t), add a visible-item-limit to the cdx-typeahead-search, and wire up the resulting load-more event (new in Codex v0.3) to load additional search results on scroll. The hard-coded visibleItemLimit (7) is chosen to match the default limit of the wbsearchentities API, but ultimately arbitrary; we can look into how to make this number configurable later, if necessary. This increases the module size enough that we need to bump the bundle size a bit more. Bug: T322333 Change-Id: Iadade9cbf48457cfeabc78439624602ec3f98782 Co-Authored-By: Jon Robson <jdlrobson@gmail.com> Needed-By: I67fac3b209d6a1ab2661e1e1c0681edd8472ac6c |
||
---|---|---|
.. | ||
__mocks__ | ||
__snapshots__ | ||
skins.vector.es6 | ||
skins.vector.js | ||
AB.test.js | ||
App.test.js | ||
deferUntilFrame.test.js | ||
dropdownMenu.test.js | ||
fetch.test.js | ||
instrumentation.test.js | ||
pinnableElement.test.js | ||
restSearchClient.test.js | ||
stickyHeader.test.js | ||
tableOfContents.test.js | ||
userLinks.test.js | ||
userLinksData.js |