Page MenuHomeWrite.as

Gallery pagination on Snap.as
Open, NormalPublic

Description

Overview

Improve user and gallery load times by returning a smaller number of photos by default, and allowing the viewer to load more photos.

Background

Reported / requested on the forum.

Implementation

API

  • Return up to 25 posts from user and gallery endpoints
  • Accept a page parameter that loads the given page
  • Accept a parameter to specify how many photos to load per page (e.g. a number divisible by 4 on the web, and a smaller number divisible by 3 on mobile)

Web

Automatically load more photos when the user scrolls down and gets near the end of the page.

Revisions and Commits

Event Timeline

matt moved this task from Future to Q3 2020 - Jul-Sep on the Roadmap board.
matt added a commit: Restricted Diffusion Commit.Sep 29 2020, 2:55 PM
matt removed a project: Roadmap.
matt added a project: Restricted Project.Oct 17 2021, 4:44 AM

With over 5,000 photos migrated, this feature will be necessary.

matt moved this task from Restricted Project Column to Restricted Project Column on the Restricted Project board.Oct 17 2021, 4:44 AM
matt added a commit: Restricted Diffusion Commit.Sep 29 2023, 9:29 PM
matt added a commit: Restricted Diffusion Commit.
matt added a commit: Restricted Diffusion Commit.