CivicDataLab / CivicDataLab/ParakhAI-frontend

[Bug] Pagination shows 'Page 01 of 01' during data fetch before actual count is known

Open
#360 1 comment 0 reactions 1 assignee View on GitHub

@UdayRajSahai2 is already working on this.

Since Jun 22, 2026.

bug frontend
Dominant language
TypeScript
Stars
0
Forks
2
Avg merge
9h 18m
Merged PRs (30d)
4

Description

Summary

The pagination component renders with placeholder values ("Page 01 of 01") while data is still loading, then jumps to the correct value. This causes a layout shift and is misleading to users.

Fix

Show a loading skeleton or hide the pagination entirely until the total count is returned from the API.

Report ref: UX-008 · Severity: MEDIUM

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.