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

Change pagination from inifinite loading to paged pagination #500

Open
wants to merge 10 commits into
base: main
Choose a base branch
from

Conversation

Venefilyn
Copy link
Collaborator

@Venefilyn Venefilyn commented Dec 4, 2024

This now has a context that each component under the provider can use.
With this we reduce the code we need to write to handle state handling
between components.

Infinite pagination has been replaced with per-page pagination which
should suit people better than infinitely loading.

Before
image

After
image

TODO:

  • Decide if we want this pagination
  • Migrate other components
  • Remove the end of pagination handling due to bug (insert issue link here)

RELEASE NOTES BEGIN
Change pagination from infinite loading to paged pagination.
RELEASE NOTES END

@Venefilyn Venefilyn marked this pull request as draft December 4, 2024 17:17
@usercont-release-bot
Copy link

usercont-release-bot commented Dec 4, 2024

Preview: https://packit-dashboard-pr-500.surge.sh (deployed at Thu 30 Jan 2025, 13:25 UTC)

Copy link
Contributor

@lbarcziova
Copy link
Member

packit/packit-service#2505 might affect this.

@lbarcziova
Copy link
Member

Once packit/packit-service#2645 is implemented, this should be changed adjusting to that, right?

@Venefilyn Venefilyn force-pushed the feat/proper-pagination branch from 870a935 to 731cf28 Compare January 30, 2025 12:32
Copy link
Contributor

@Venefilyn Venefilyn force-pushed the feat/proper-pagination branch from 731cf28 to 6e17154 Compare January 30, 2025 12:36
Copy link
Contributor

Copy link
Contributor

Copy link
Contributor

Copy link
Contributor

Copy link
Contributor

Copy link
Contributor

Copy link
Contributor

Copy link
Contributor

@Venefilyn Venefilyn force-pushed the feat/proper-pagination branch from b56bd55 to ff21bc1 Compare January 30, 2025 13:24
@Venefilyn Venefilyn marked this pull request as ready for review January 30, 2025 13:25
Copy link
Contributor

@Venefilyn
Copy link
Collaborator Author

Once packit/packit-service#2645 is implemented, this should be changed adjusting to that, right?

@lbarcziova Might've missed this if I didn't answer in a meeting. But pagination in general would change so this PR doesn't introduce much extra code that would need to be changed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants