-
Notifications
You must be signed in to change notification settings - Fork 1
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
Feature: Additional thread page links and last comment link #6
Comments
FYI - the "scroll to the bottom of the page" link is the same as the "Make a Comment" link. They both jump to the same spot. So you could just rename the link or let people know in the description. I'm not sure what use case is for the "Jump to Last" link. Users that hit the "new" anchor from the Main Sections will go to their "last unread post" which is where most will want to go. If you forget and click to the section, you can hit "Make a Comment/Go to Bottom" then click "Last" from there. |
For the "last comment" link I was thinking it would do basically what the "new" anchor would, just have it available on the thread(next to your links) instead of only being on the list of threads. Right now the "make a comment" link takes the user to the bottom of whatever page their on, thought it would be helpful to have an easy way to get to the last comment on the last page. I often end up having to go back a page or two on some threads to see what someone is responding to(or arguing about), would be nice to be able to easily jump to the end from there if needed. |
The "New" link is dynamically generated on the other page, so you won't have access to it. You could try things like page=999 to see if it will do what you want. There is a target for #new on the correct page, but you would not know where that is on the client side. |
I did try page=999 and it does take you to the last page, should be able to grab the href from the "Last" button at the bottom of the page and just append #comment-form to the end though. |
I have done some testing and believe that we can enhance the thread/comment navigation further.
Planned features:
It looks like the official Tesla Forum breaks the pages up into 50 comments each, so it will be pretty easy to calculate the number of pages on a thread and generate links to them
The text was updated successfully, but these errors were encountered: