Skip to content

Lose the infinite scroll and show me number of items #818

Closed

Description

@angrybrad

Created by: Ryan Masuga (ryan@gomasuga.com) on 2016/09/16 16:15:29 +0000
Votes at time of UserVoice import: 83


I'm not a fan of infinite scrolling. I don't think it adds anything to the Craft CP other than more JS. I would at least like the option to select "standard" pagination in the control panel. When I'm looking at members, Assets sources, or channel entries, there are no counts anywhere. I have no idea if our current site has 500 or 5000 members, I have no idea if there are 50 or 500 blog posts, and I have no idea how many images are in Assets source X - and neither does the client. Without pagination, we can't even guess at these numbers. I'm just scrolling, scrolling, and eventually give up.

This would apply to (at least): Asset Sources, Users, and channel entries - anything I would normally have to scroll through infinitely.

Activity

  1. angrybrad commented on Jan 31, 2017

    @angrybrad
    MemberAuthor

    Posted by Ryan Masuga (ryan@gomasuga.com) on 2016/09/16 16:15:29 +0000


    We ended up installing Zenbu. In addition to giving us many more column options for the client, it shows pagination and counts. As a (temp?) solution, this might work for you as well.

    Here's a pic in action: http://cloud.gomasuga.com/0X2r2z0o2F3c Paginated results, and now we're certain that we have 72 entries in this channel.

  2. angrybrad commented on Jan 31, 2017

    @angrybrad
    MemberAuthor

    Posted by Matt Wilcox (mattw@viewcreative.co.uk) on 2015/11/12 11:03:22 +0000


    The infinite scroll breaks the search ability in all those cases too. If the items aren't already loaded, the search filter doesn't work to find them.

  3. angrybrad commented on Jan 31, 2017

    @angrybrad
    MemberAuthor

    Posted by Ryan Masuga (ryan@gomasuga.com) on 2016/09/16 16:15:29 +0000


    Mats - Thanks for the comment. There are actually two issues here:

    1. There are no element indexes. This is a content management system, and yet you can't get a feel for how much content you have, particularly on a build with lots of entries. Imagine having a membership-heavy site, with 50-100 signups a day. As it stands, unless you write a custom widget or something, you would have a hard time knowing how many members you have.

    2. The infinite scroll doesn't help with counts. At least with traditional pagination, if I knew it was showing 100 per page, and there were 3 pages, we could guess that there are 201-300 entries/members/etc, and I could easily page through them, rather than scrolling for who knows how long.

    One other issue with infinite scroll. You do a search and whittle the list down to 10 entries (out of how many? Who knows!) and you need to look at each. If you click one and go back, you have to search all over again to get the same 10 to come up again. Otherwise you have to open each of the results in tabs.

  4. angrybrad commented on Jan 31, 2017

    @angrybrad
    MemberAuthor

    Posted by Mats Mikkel Rummelhoff (mail@mmikkel.no) on 2015/03/09 00:12:31 +0000


    The crucial part of this FR is adding more info/stats to element indexes (i.e. displaying the total number of entries). More filtering options (e.g. entry type, author) would also be very welcome (and there should probably be a defineAdditionalFilteringOptions hook for plugins...)

    As for navigation, a more traditional, paginated view would definitely be way more usable for indexes with a lot of content. If pagination could be achieved as an additional view (i.e. keeping the infinite scroll around), I'd be all for it. If not, I'd opt for pagination across the board (naturally with a "Number of items per page" option).

  5. angrybrad commented on Jan 31, 2017

    @angrybrad
    MemberAuthor

    Posted by Visiluna (pjones@visiluna.com) on 2015/06/16 22:04:13 +0000


    I, too, would like this, but as a selectable option.

  6. angrybrad commented on Jan 31, 2017

    @angrybrad
    MemberAuthor

    Posted by Anonymous (henk@noregt.com) on 2015/04/13 10:56:21 +0000


    If there would be pagination I would prefer to be able to set the number of items per page.

  7. angrybrad commented on Jan 31, 2017

    @angrybrad
    MemberAuthor

    Posted by Ben Parizek (ben@barrelstrengthdesign.com) on 2015/03/12 23:19:32 +0000


    The infinite scrolling also feels a bit funny for larger amounts of hierarchical content like Structures.

  8. bcartier commented on Feb 1, 2017

    @bcartier

    Yes! Please drop infinite scroll! It's out of place in an otherwise thoughtfully designed admin panel.

  9. JasonEtco commented on Feb 1, 2017

    @JasonEtco

    What would happen when you click the checkbox to select all? Currently it selects all items that are loaded in, then when you "infinite scroll" downwards the newly loaded in items will not be selected.

  10. benjaminkohl commented on Feb 19, 2018

    @benjaminkohl

    This feature request had far more upvotes when it was on that other User Voice platform. I feel that it has gotten lost among github repo issues. Is the github "Issues" area the best place to collect this kind of feedback?

  11. brandonkelly commented on Feb 19, 2018

    @brandonkelly
    Member

    @benjaminkohl We haven’t forgotten the issue. We just don’t care much for it, and have other ideas that will improve these pages when managing large sets of content, that don’t completely do away with infinite scrolling.

  12. benjaminkohl commented on Feb 27, 2018

    @benjaminkohl

    Okay, thanks.

  13. ryanmasuga commented on Feb 28, 2018

    @ryanmasuga

    https://medium.com/simple-human/7-reasons-why-infinite-scrolling-is-probably-a-bad-idea-a0139e13c96b

    Some points (and good questions in #7) to ponder in that post. We have clients with 10's of thousands of assets and entries, and using Craft becomes tougher (for them AND us...we have to use the CP too), which makes considering it for a site that we know will have zillions of elements a less viable option.

  14. 30 remaining items

  15. guyinpv commented on Dec 13, 2018

    @guyinpv

    Is there any progress on this issue?
    My site has 600+ entries, certainly not huge by any measure, but I have to make edits to all of them and now infinite scrolling to page 4,5,6 is getting old. So after reading this thread it seems like these are the points being recommended:

    1. Ability to paginate listings for purposes of direct linking to specific pages, use of back-button when entering/exiting edit page, viewing number of items per-page can be set by user.

    2. Ability to have a grand total of listings. I would further add some way to count by status as well. Total published and total unpublished, total with future publish dates, expiration dates, etc. A "at a glace" type thing.

    3. Switch between paginated view or infinite scroll on a per-section and per-user basis.

    4. For structures, some way to handle drag/drop operations while dealing with pages.

    My thoughts:

    On my little blog the biggest pain point is simply not having a way to get back to the infinite scroll position I was at when I finish editing a page. If I click on a page, edit it, click save, it should go back to where I was, essentially, right where I left off, if possible.
    But even if that's not possible, being able to link deep into the listing would be very helpful. For now though, I just have to leave my listing open in its own tab, and then open the edit pages in a new tab to not lose my place.

    As for number 2, doesn't MySQL keep row counts as a normal piece of updated meta data? It should have very little cost to grab those counts and show them somewhere, I would think.

    As for number 4, I kind of think that it's a bit unreasonable to need a way to drag and drop for miles down a list. Dragging is for short operations. Instead if you need to move an item "far away" there should be an easy "move" menu where you can select the new location in some kind of popup selector.

    But if we must drag for miles, you could easily have a hot spot at the bottom of the listing, like a draggable area which triggers the next page to load into view. Whether using infinite scroll or paginated pages, this hot spot could change the page out from under them. This is no different than dragging an app icon on your phone, when you reach the edge it just slides to the next screen. Whether doing infinite scroll or paginated results, dragging across pages should be easy as long as there is a draggable hot spot that triggers the next loading.

    Hopefully there is some movement on these issues soon! It's nearly 2 year old conversation!

  16. jkorff commented on Dec 13, 2018

    @jkorff

    @guyinpv Good points you make, I support your view.
    I am using the separate tab workaround all the time.
    Being able to link to sub pages (your point 1) is also good if more than one person works on entries.

  17. j-greig commented on Dec 14, 2018

    @j-greig
    Contributor

    CMS's were invented before infinite scroll. I don't understand why we are having to fight for this.

  18. CreateSean commented on Dec 18, 2018

    @CreateSean

    I have 1000+ entries I need to open individually, how am I going to open all of them without pagination. For the love of god get rid of the infinite scroll.

    This has been a feature request for almost 2 years now.

  19. added
    enhancement
    and removed on Mar 5, 2019
  20. added this to the milestone on Apr 1, 2019
  21. brandonkelly commented on Apr 1, 2019

    @brandonkelly
    Member

    Non-structure views are now paginated for Craft 3.2.

    If you want to help test, change your craftcms/cms requirement in composer.json to:

    "require": {
      "craftcms/cms": "3.2.x-dev as 3.2.0-alpha.1",
      "...": "..."
    }

    Then run composer update.

  22. jalendport commented on Apr 1, 2019

    @jalendport
    Contributor

    Happy April Fools everybody! :trollface: 😂

  23. benjaminkohl commented on Apr 2, 2019

    @benjaminkohl

    I created a Craft 3.2 local environment fully expecting this to be an April Fools joke but it turned out to be real and I love it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    authoring ✍️enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions