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