Honestly just hide it and be done. Unless you're going to keep a stateful cursor or something, there's no real consistent "next" item when next is a function of time. (Then there's other complexity, right? like showdead, /news using `p` vs. /newest using `n`, etc.) All the offsets stay the same.
There's no expectation that page 2 now is page 2 when I refresh. Just don't auto-refresh because I probably want to visit other links from the current page load.
Get the next available. Match it against the client's current list on thr screen. If it is not there, in-place replace with that one. If it's a dupe, try the next one. Everything client side like it's 2020 again.
There's no expectation that page 2 now is page 2 when I refresh. Just don't auto-refresh because I probably want to visit other links from the current page load.
Replies (1)
Replies (4)
There are loads of quality of life things that HN should have before maintaining a hack to ensure 30 stories per page even if you hide a story
If you just dim them, that also provides an unhide link opportunity for fumble-fingers like myself :D