Skip to content

Pagination of the blogs #14

@alloftech

Description

@alloftech

Prerequisites

Summary

As the blog page grows, it will be troublesome to scroll across a single webpage to go through all the blogs. Breaking it down to a 10 blog per page sequence will make it easier and more readable. So pagination is to be done such that with suppose 38 blogs in total, there with be 3 pages with 10 blogs each and last page with 8 blogs.

Motivation

It has always been a good practice to divide a huge chunk of data being displayed into smaller sections to make it load easier and faster without giving an overwhelming huge single webpage for everything.

Describe alternatives you've considered

Alternatives to pagination cab be displaying a Show More button which when clicked will load next x number of blogs. This would again just increase the scroll bar making it difficult to move back to any previously scrolled blogs if needed. Wherein, in case of pagination, one can remember the page number on which the previous blog resides and hop back with a click.

Additional context

While implementing pagination, one must make sure that it is not just for the dashboard page but for all other sections including category page, search results, etc.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions