#4257 Activitystream timeline limit and pagination

v1.1.0
closed
General
2015-08-20
2012-05-21
No

Right now we display the latest 100 activities in the timeline. This is probably an acceptable default for now, but we should at least have a way to page back through older activities.

Discussion

  • Dave Brondsema

    Dave Brondsema - 2012-06-15
    • labels: activitystreams --> activitystreams, v2
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1 +1,3 @@
     For better memory usage and performance, the activity stream create_timeline() method should accept a timedelta parameter (default to 1 week or 1 month) and pass that through to its queries.
    +
    +Maybe start/end timestamps instead of a timedelta.
    
    • size: --> 2
     
  • Dave Brondsema

    Dave Brondsema - 2014-01-10
    • Milestone: forge-backlog --> forge-jan-24
     
    • summary: Activity stream time span parameter --> Activitystream timeline limit and pagination
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1,3 +1,2 @@
    -For better memory usage and performance, the activity stream create_timeline() method should accept a timedelta parameter (default to 1 week or 1 month) and pass that through to its queries.
    +Right now we display the latest 100 activities in the timeline. This is probably an acceptable default for now, but we should at least have a way to page back through older activities.
    
    -Maybe start/end timestamps instead of a timedelta.
    
     
  • Cory Johns - 2014-01-16
    • status: open --> in-progress
    • assigned_to: Cory Johns
     
  • Cory Johns - 2014-01-19

    allura:cj/4257

    Memory-managed infinite scroll enabled by default. Show More paging and standard paging also supported. Falls back to standard paging if PJAX / HTML5 history API not supported or if javascript is not enabled.

     
  • Cory Johns - 2014-01-19
    • status: in-progress --> code-review
     
    • QA: Tim Van Steenburgh
     
    • status: code-review --> in-progress
     
  • Overall this looks great, nice work. I did find a few minor issues:

    • Standard paging - last page is always empty, with no paging controls to go back
    • IE8 - page jitter
    • IE11 - infy scroll and Show More paging don't work
     
  • Cory Johns - 2014-01-22
    • status: in-progress --> code-review
     
  • Cory Johns - 2014-01-22

    allura:cj/4257

    I'm not happy with the work-around for IE11 but it works until we can look into the possibility of upgrading jQuery.

     
    • status: code-review --> closed
     

Log in to post a comment.