aaron-schroeder / distilling-flask

Strava app for display and analysis of personal running data, powered by Flask, Dash, and Pandas.
MIT License
3 stars 0 forks source link

Strava activity list: older/newer buttons don't work properly #49

Closed aaron-schroeder closed 1 year ago

aaron-schroeder commented 1 year ago

When the number of activities associated with my strava account is greater than the number of activities displayed per page, the older button should be active and link to page N+1. But it doesn't.

To replicate, make strava activities extend over more than one page by adding an artificially-small limit parameter to the activity list url, like this..

Related: it seems like the older/newer arrows don't change behavior when the limit param is used. So for example, if the limit is set to 5, and we're on page 30, clicking "newer" would take us to page 29...but with the default number of activities per page, that would be way deeper in the activity list than we previously were.