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

Pagination parameter in front end #220

Open
Tracked by #225
oolumorin opened this issue Dec 11, 2023 · 0 comments
Open
Tracked by #225

Pagination parameter in front end #220

oolumorin opened this issue Dec 11, 2023 · 0 comments
Assignees

Comments

@oolumorin
Copy link

Pagination parameters should be query parameters on the leaderboard frontend - https://moonstream.to/leaderboards/?leaderboard_id=add85f16-8bf9-4394-b2e5-d48962ae50df

but they are
const leaders = useQuery( ["fetch_leaders", leaderboardId, limit, offset],

When the number of rows per page is changed or you scroll to different pages, the URL does not change. The URL should change so that it can be shared with others as a view of the leaderboard when debugging.

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

No branches or pull requests

2 participants