danielgtaylor / danielgtaylor/malt.io

Add Pagination

Open
#13 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Python
Stars
26
Forks
11
PR merge metrics
No merged PRs in 30d

Description

Add pagination to the users list, all recipes list, and per-user recipe list pages and limit the number of items per page to a reasonable amount, e.g. 20 or something along those lines.

Bootstrap has pagination markup here:
http://twitter.github.com/bootstrap/components.html#pagination

There are two ways to do this in app engine - either a stored query cursor (hard) or by fetching many items and ignoring the first X items (easy). Either implementation will work for a first version.

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

Start by locating the users list, all recipes list, and per-user recipe list pages and reading their App Engine query paths. Add page limits of roughly 20 items and Bootstrap pagination controls; done means all three lists paginate correctly.

Written by the indexing model from the issue text.

Assessment

Tech stack
bootstrap, python
Domain
full-stack, web-dev
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.