-
Notifications
You must be signed in to change notification settings - Fork 71
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
Fixed Joystream Pioneer Forum Back Link #3768 #4147
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tried to test with this thread: The page is empty and has no navigation. Please check.
Thats because the total amount of posts under this thread isn't enough to reach to a page 2 or 3. I could set it up to redirect to page 1 once the users try getting to anything greater than the pageCount. would that be okay? |
That's a good idea. Also pagination navigation can be hidden / disabled depending on number of posts and current page. |
okay.. i'll get right to it |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good job 👍 adding the page to the history is a good step forward.
There are still a bunch of issues with this back button but I think they can be taken care of in a follow up PR.
Just please add response to my comment 👇
Fixed forum back link issue on #3768 by modifying the Pagination component to add a page query string and using a custom hook to check for that query string and set the page based on the result
screen_tes.mp4