Keyboard navigation shortcuts don't remember topic list position on return

Unless, I’m doing some wrong that is.

Let me describe: I open a topic to read it, go to end. Then return to “Latest” (sometimes by mouse, sometimes by keyboard). Then I see the topic I just read is highlighted, and the highlight fades away in a few seconds. That is how my position is remembered. Here’s how it is not (and thus half):

If I use j to move to the next topic down, it doesn’t start the line that was just highlighted (or the line below it). It starts at the top every time.

Can this be fixed? It’s a minor annoyance, and nothing that should hold up the upcoming release, but maybe in the next?

2 Likes

I’ve started to look into this. Though testing has shown it isn’t always the top, it depends on scroll position. But nonetheless, I think I see how this could be enhanced and will continue to investigate.

I also plan to add a shortcut for Watch First Post Only.

2 Likes

PR Submitted
https://github.com/discourse/discourse/pull/4370

I didn’t do the Watch First Post Only, as that is for Categories only and right now there are zero keyboard shortcuts for categories.

7 Likes

@elijah this is now merged into core. :slight_smile:

5 Likes

Works great, thanks!