Infinite scroll - Bundled Plugin in 1.9: Revision

Last updated by sem

From the this current discussion we learnt two things:

  • It must be a plugin,
  • and the default behaivor must be 'load more' button, not 'automatic scroll'.

1. The plugin

We have the plugin to begin working here: https://github.com/lorea/Infinite-Scroll

Some defects have been detected:

  • Gallery lists are not ajax paginable yet (Enhancement). Fixed: 310a4ec419
  • List are shown inline in Opera (UI, Defect). Worksforme
  • It conflicts with some previous plugins (Defect). Wontfix

And here the feature requests:

  • Use more load button instead of infinite scrolling. Fixed:  71ebf92b99
  • Notice that there are new list items to download from the server.
  • Integrate javascript friendly time to have updated lists.

2. Core modifications

We can think in doing core modifications to make more natural the ajax get of entities. Look the first lines of /views/default/infinite_scroll/list.php and you'll understand what I wanna mean.

3. Steps to follow

Include plugin in 1.9 branch, under the name of ajax_pagination infinite_scroll.

Make a ticket for each defect and feature request, and fix all.

Work the second section and integrate better the plugin into the core, modifying the core if it is necessary.

I will need access to the repo, to make my live easyer coding this plugin. Don't worry, I won't do much craps.

Feedback and Planning

Feedback and Planning

Discussions about the past, present, and future of Elgg and this community site.

History