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

feat: add text pagination #289

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from
Draft

feat: add text pagination #289

wants to merge 3 commits into from

Conversation

eamon0989
Copy link
Contributor

@eamon0989 eamon0989 commented Apr 14, 2023

Description

Adds pagination to texts.
Allows up to 10 texts per page.
Goes with alexandria-reader/backend#164

Related Issue

Fixes #288

Type of Changes

Type
πŸ› Bug fix
x ✨ New feature
πŸ”¨ Refactoring
πŸ’― Add tests
πŸ”— Update dependencies
πŸ“œ Docs

Updates

Before

After

image

image

Testing Steps / QA Criteria

Open the texts page, check Next and Previous buttons work. Previous should be disabled when on page 1, Next should be disabled when there are no more pages.

@eamon0989 eamon0989 added the enhancement New feature or request label Apr 14, 2023
@eamon0989 eamon0989 self-assigned this Apr 14, 2023
@netlify
Copy link

netlify bot commented Apr 14, 2023

βœ… Deploy Preview for alexandria-reader ready!

Name Link
πŸ”¨ Latest commit 5330fc3
πŸ” Latest deploy log https://app.netlify.com/sites/alexandria-reader/deploys/6439700e7c7e6e00088076ae
😎 Deploy Preview https://deploy-preview-289--alexandria-reader.netlify.app/
πŸ“± Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@eamon0989 eamon0989 marked this pull request as draft April 14, 2023 15:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add pagination to texts
1 participant