processing / processing/p5.js-web-editor

Add Pagination to Collection List and Asset List View

Open
#3,880 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Enhancement
Dominant language
JavaScript
Stars
1.7k
Forks
1.7k
Avg merge
3d 4h
Merged PRs (30d)
8

Description

Notes

This issue should be handled in two pull requests and treated as two separate issues:

  • Add Pagination to Collection List
  • Add Pagination to Asset List

Pull requests that combine these two will not be accepted.

Before starting your work, please comment below indicating which page you would like to work on, and a maintainer will assign the issue to you. We're approaching this by separating the issue into two PRs to help make debugging easier, prevent merge conflicts, and keep the review scope approachable.

Details

Recently, pagination has been added to the 'My Sketches' page to help users with a larger amount of sketches navigate through their projects more easily and reduce loading times for this page.

Image

Adding pagination to the Collections and My Assets view would provide more consistency and help users with a large amount of collections or assets load these pages more easily and navigate through them as well, and potentially address issues such as https://github.com/processing/p5.js-web-editor/issues/3612, which explains:

Right now the editor shows “No sketches” while data is still loading. For large collections this can last several seconds or longer, making it look like all sketches are gone 😱

Suggestions to Start

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Choose either the My Collections or My Assets page and comment to request maintainer assignment. Start by studying pull request #3846 for SketchList and AddToCollectionSketchList pagination, then trace the selected page's list implementation. Done means the chosen view paginates its items, loads large lists incrementally, and no longer shows an empty state while data is loading.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend, web-dev
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.