Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Pager added, improves p/demo/ui improvements #2675

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

AliSinaDevelo
Copy link

@AliSinaDevelo AliSinaDevelo commented Aug 10, 2024

corresponds to #903 p/demo/ui improvements, pager added with unit tests

pager type struct defined to hold the page user is corrently on, total number of pages, and the prefix for the url used go generate pages.
the methods append the page number to the PathPredix to get complete URL for each page link.

several unit tests added to ui_test.gno:
TestPagerSinglePage
TestPagerMultiplePages
TestPagerFirstPage
TestPagerLastPage

@github-actions github-actions bot added the 🧾 package/realm Tag used for new Realms or Packages. label Aug 10, 2024
@AliSinaDevelo AliSinaDevelo changed the title Pager added, improves p/demo/ui improvements #903 Pager added, improves p/demo/ui improvements Aug 10, 2024
@AliSinaDevelo AliSinaDevelo changed the title Pager added, improves p/demo/ui improvements fix: Pager added, improves p/demo/ui improvements Aug 11, 2024
@jefft0 jefft0 added the review/triage-pending PRs opened by external contributors that are waiting for the 1st review label Oct 8, 2024
@jefft0
Copy link
Contributor

jefft0 commented Oct 11, 2024

Hello @AliSinaDevelo . This PR defines Pager functionality. How does this relate to the Pager defined in PR #2584 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🧾 package/realm Tag used for new Realms or Packages. review/triage-pending PRs opened by external contributors that are waiting for the 1st review
Projects
Status: No status
Status: In Review
Development

Successfully merging this pull request may close these issues.

2 participants