Whoever is attempting to implement "jump to first unread post"


  • Discourse touched me in a no-no place

    ...thank you for the effort. However, given the weird way posts batch in, especially in an image-heavy topic like SotD or Cute Foxes, it's likely the first unread post will render a screen or two off the bottom page. This means the blue underline should not disappear until after it comes into view, instead of a couple of seconds after it loads, because the way it is now, it disappears before you can see it.

    Also, there really needs to be more of an indicator--perhaps box the entire post or something, like the composer window has a full outline? And--my heart's not set on this--consider just leaving the indicator there, period, and not fading it out at all. It's not actually hurting anything.



  • @FrostCat said:

    there really needs to be more of an indicator

    It's a bit difficult given the multitude of themes available. I gave some custom CSS that tried something that should've been fairly neutral, but it wasn't put in on the site level.

    I can try to tweak it and see what may be able to be done to make the stock effect last longer, but it'll be a bit before I can.


    Here should be something that will only affect how long the bookmark icon and the bottom border on the post appear. Times can be tweaked, but 15 minutes should be more than long enough (considering the fade out will be gradual during that whole time).

    .topic .posts>li .bookmarked { transition: opacity 900s; }
    .topic .posts>li.highlight .bookmarked { transition: opacity 0s; }
    
    .topic .posts>li>hr { transition: 900s ease-in-out border-color, 900s ease-in-out box-shadow; }
    


  • This post is deleted!

  • Discourse touched me in a no-no place

    @ChaosTheEternal said:

    Times can be tweaked, but 15 minutes should be more than long enough (considering the fade out will be gradual during that whole time).

    I am not yet convinced that fading it out at all is necessary. What does it hurt to leave it there?


  • Discourse touched me in a no-no place

    @ChaosTheEternal said:

    It's a bit difficult given the multitude of themes available.

    Yeah, I thought of that, too. Perhaps, rather than a thin bar at the bottom of the post, thicker bars on the sides?

    I've reached the point where I've (for example) installed Windows, Visual Studio, etc (that is to say, themable software in general) that I don't bother doing much of it any more, so that doesn't bother me much. I understand why it would be annoying to people who still do, though.

    BTW, this not-black font sucks.



  • @FrostCat You can't set "infinite" for the duration. I chose 900s because that's a good amount of time. If it isn't good enough, it can be increased by a factor of 10 (to fade out very, very gradually over 2 ½ hours).

    As for why even have it as a fade out option, that's because of how NodeBB currently works. After a very short window, the class that highlights the post (with the bookmark icon and the underline) is removed. Unless/until a change for that can be put in and is available here (either in the NodeBB core or a plugin), the workaround I offered should be viable, and doesn't apply any color changes that could clash with themes.

    @FrostCat said:

    thicker bars on the sides

    That jumps into attempting colors that may not play well with the themes (considering the bottom border isn't actually a border, it's a horizontal rule). Though I don't know if the hr or the bookmark icon are different colors in different themes, so what is there may already be "neutral" and could be tried.


  • Impossible Mission Players - A

    @FrostCat said:

    I am not yet convinced that fading it out at all is necessary. What does it hurt to leave it there?

    Better yet, when the page posts back the bookmark position, update the marker so you can see where you'll land when coming back!


Log in to reply
 

Looks like your connection to What the Daily WTF? was lost, please wait while we try to reconnect.