flagsmith icon indicating copy to clipboard operation
flagsmith copied to clipboard

Feature pagination previous/next buttons are broken

Open rolodato opened this issue 8 months ago • 2 comments

How are you running Flagsmith

  • [x] Self Hosted with Docker
  • [x] Self Hosted with Kubernetes
  • [x] SaaS at flagsmith.com
  • [ ] Some other way (add details in description below)

Describe the bug

See reproduction steps.

Steps To Reproduce

  1. Create over 50 flags in a project so that pagination is shown
  2. Click the previous/next button to move between pages

The current page does not update, and the current state is not preserved correctly when changing between clicking a page number and then using the previous/next buttons.

Expected behavior

Implement correct pagination for features.

Screenshots

No response

rolodato avatar May 07 '25 14:05 rolodato

@rolodato can you confirm the page is changing and what is not changing state is the page parameter in the url? https://www.loom.com/share/8a3d53e0c20f4022bdd249845bc65309?sid=1a7fd4b2-95f7-40f4-bbbb-ba4c169ab651

tiagoapolo avatar May 20 '25 13:05 tiagoapolo

This is what it behaves like for me when running the local Docker Compose setup:

https://github.com/user-attachments/assets/38b2d3f0-cf87-4e5e-9dc3-c5a3d35adc39

In SaaS, it's difficult to tell when these clicks are actually being registered. Sometimes the pagination freezes and doesn't respond:

https://github.com/user-attachments/assets/c395df04-49b1-43b8-975e-97455f10d4fe

rolodato avatar May 23 '25 01:05 rolodato