What is the main point, when you visit Unread section, to open topic from the first message?
One possible solution: Add button (btn-default) near title, with clear message (go to unread message)
Have much more possible solutions? - add settings to the ACP. Every community will select most UX friendly for them.
Sorting topics by newest to oldest doesn't change data-index
So, I'm testing having new posts first, which doesn't work as expected. It assigns the posts in order as if they were the other way around, so the newest post is
data-index:1every time. This makes it impossible to link to a topic, as each new post would be
tid/2. It also means that, when you click from a category "last replied 7 hours ago" for example, it takes you to the highest data-indexed post, which is the first post in the topic, at the bottom, when what you actually wanted was the most recent (so in most cases you go to completely the wrong post).
I think that the data-index should work the same way as it does with oldest to newest, newest posts getting the higher ID, but they just display backwards. So first post in that topic is 1, but is displayed at the bottom.
Or is it supposed to do that and it doesn't work?
Did plenty of work on this on the 0.5.1 branch here, here and here.
Ended up refactoring and fixing notifications as well, since they were pointing to wrong posts if sorting was changed. One last thing to fix is the index in the url since changing the data-index causes it to go from highest to lowest
@baris Is that last point what's causing this?
Edit: And this: Which stops new posts displaying.
Both issues have turned up after a git pull.