Why are topic dates sometimes blue?



  • Does anyone know what the blue dates mean in the topic list?

    I can't figure out what distinguishes the posts they're applied to.


  • Discourse touched me in a no-no place

    Tooltip on them indicates it's the date of the first post...



  • But why are some blue and others gr[ae]y?

    EDIT:
    It seems that all of the topics started on or before 21st May are blue (maybe this is what you were getting at). Is it to show long running topics?


  • Discourse touched me in a no-no place

    @Keith said:

    But why are some blue and others gr[ae]y?

    Ah - sorry, didn't catch what you were getting at.

    @Keith said:

    It seems that all of the topics started on or before 21st May are blue (maybe this is what you were getting at). Is it to show long running topics?

    Older than a fortnight ago? CSS may be giving a clue here; the href's of the blue links have an extra class: class="age coldmap-low"


  • Discourse touched me in a no-no place

    I'm guessing it's a 14-day threshold. The following taken at 1.20pm, Jun 5th, with the tooltips referring to the respective last-post dates:

    13 days:

    14 days:



  • That seems to make sense. The purpose of the highlighting could definitely be made clearer though. If anything, I'd expect newer posts to be highlighted.


  • Discourse touched me in a no-no place

    @PJH said:

    coldmap-low

    $ pwd
    ~/src/discourse/app/assets/javascripts/discourse/helpers
    $ grep -B5 -A5 coldmap-low *
    application_helpers.js-  // Show heat on age
    application_helpers.js-  var nowDays = daysSinceEpoch(new Date()),
    application_helpers.js-      epochDays = daysSinceEpoch(new Date(dt));
    application_helpers.js-  if (nowDays - epochDays > 60) return 'age coldmap-high';
    application_helpers.js-  if (nowDays - epochDays > 30) return 'age coldmap-med';
    application_helpers.js:  if (nowDays - epochDays > 14) return 'age coldmap-low';
    application_helpers.js-
    application_helpers.js-  return 'age';
    application_helpers.js-});
    
    


  • The thing is that while blue is the color of "cooled-down" it's also highlighted compared to the grey of the rest, which is an effect that takes great precedence over any sort of ice association.

    PROPOSAL:
    Times are black, and fade to grey as they age. Hotter topics can go to yellow and then to red. Don't use more colours; that just turns it into a rainbow.

    Maybe these color posts should be a new thread?



  • I think something like that would work better.

    I also don't really understand how the topics have "cooled down" when they're being actively posted in. Surely the date of the first post is mostly irrelevant.


  • Discourse touched me in a no-no place

    Hmm. While looking to see what the CSS was doing, I find more magic numbers rather than configurable periods or constants

    By the way, the difference between 2 weeks, ~month and ~two months appears to be subtle shades of blue.

    [pjh@sofa discourse]$ grep coldmap- -R -A2
    app/assets/javascripts/discourse/helpers/application_helpers.js:  if (nowDays - epochDays > 60) return 'age coldmap-high';
    app/assets/javascripts/discourse/helpers/application_helpers.js:  if (nowDays - epochDays > 30) return 'age coldmap-med';
    app/assets/javascripts/discourse/helpers/application_helpers.js:  if (nowDays - epochDays > 14) return 'age coldmap-low';
    app/assets/javascripts/discourse/helpers/application_helpers.js-
    app/assets/javascripts/discourse/helpers/application_helpers.js-  return 'age';
    --
    app/assets/stylesheets/common/base/discourse.scss:  .coldmap-high {
    app/assets/stylesheets/common/base/discourse.scss-    color: scale-color($tertiary, $lightness: 40%) !important;
    app/assets/stylesheets/common/base/discourse.scss-  }
    app/assets/stylesheets/common/base/discourse.scss:  .coldmap-med {
    app/assets/stylesheets/common/base/discourse.scss-    color: $tertiary !important;
    app/assets/stylesheets/common/base/discourse.scss-  }
    app/assets/stylesheets/common/base/discourse.scss:  .coldmap-low {
    app/assets/stylesheets/common/base/discourse.scss-    color: scale-color($tertiary, $lightness: -10%) !important;
    app/assets/stylesheets/common/base/discourse.scss-  }
    --
    jsapp/helpers/application_helpers.js:  if (nowDays - epochDays > 60) return 'age coldmap-high';
    jsapp/helpers/application_helpers.js:  if (nowDays - epochDays > 30) return 'age coldmap-med';
    jsapp/helpers/application_helpers.js:  if (nowDays - epochDays > 14) return 'age coldmap-low';
    [pjh@sofa discourse]$ grep -r ^\$tertiary 
    app/assets/stylesheets/common/foundation/colors.scss:$tertiary:          #0088cc !default;
    


  • @Keith said:

    gr[ae]y
    græy
    @PJH said:
    grep -B5 -A5
    grep -C5



  • @Zecc said:

    græy

    Hwæt!



  • @PJH said:

    grep -B5 -A5

    @Zecc said:
    grep -C5

    Bishop takes knight; battleship hit.



  • @dhromed said:

    @Zecc said:
    grep -C5

    Bishop takes knight; battleship hit.

    Bingo!


  • mod

    @dhromed said:

    The thing is that while blue is the color of "cooled-down" it's also highlighted compared to the grey of the rest, which is an effect that takes great precedence over any sort of ice association.

    PROPOSAL:
    Times are black, and fade to grey as they age. Hotter topics can go to yellow and then to red. Don't use more colours; that just turns it into a rainbow.

    Maybe these color posts should be a new thread?

    :thumbsup:
    My eye keeps getting drawn to the blue items, instead of the more active grey ones.



  • Ditto. In a sea of grey text, the blue draws the eye VERY effectively.


  • Banned

    It supposed to -- it's letting you know that the conversation is old. Most conversations tend to be relatively new. Old is unusual; new is not.

    For example, a new post in a topic titled "How about that NSA, eh?" will be a very different experience when the topic was started in 2011 versus 2014.



  • @codinghorror said:

    For example, a new post in a topic titled "How about that NSA, eh?" will be a very different experience when the topic was started in 2011 versus 2014.

    Would it be that different? The most recent posts would still be current, and that's where you'd be reading and posting. There'd be an ever-increasingly farther away archive way up there, but that's not the part that should be highlighted in the topic list.

    The biggest difference would be that the counter would read 24850 of 19642.



  • @hungrier said:

    There'd be an ever-increasingly farther away archive way up there

    Not really though, because it would never be loaded into the browser and cannot be directly observed in our universe. Older posts exist in a state of uncertainty, and may be considered both read and unread.


    Filed under: Schrödinger's forum


  • @subscript_error said:

    Older posts exist in a state of uncertainty, and may be considered both read and unread.

    And, while infinite scrolling, you can't know both the position and momentum of any post with absolute certainty.



  • @codinghorror said:

    It supposed to -- it's letting you know that the conversation is old. Most conversations tend to be relatively new. Old is unusual; new is not.

    Sounds good on the surface, until you realize that it's shouting at you IGNORE ME IGNORE ME IGNOOOREEEE MEEEEE and then you know you've shot past your target.


  • Banned

    Well, we actually want people to pay attention when replying to old stuff, so that is as intended. Replying to new things, normal, replying to Ye Olde Topic From Anno Domini MMIX, not so normal.



  • @codinghorror said:

    Well, we actually want people to pay attention when replying to old stuff, so that is as intended. Replying to new things, normal, replying to Ye Olde Topic From Anno Domini MMIX, not so normal.

    But by default (if you don't screw with sorting), you only see such topic when it's already been replied to. And while it might be okay to warn an user before he replies (even with one of those goddamn toasters), why would you want to make him pay attention when he's reading such topic?



  • @codinghorror said:

    replying to Ye Olde Topic From Anno Domini MMIX, not so normal.

    You already have the code to show patronizing toasts on reply creation.
    Can't you use one in this case?


  • Discourse touched me in a no-no place

    @Zecc said:

    Can't you use one in this case?

    They do.

    **Revive this topic?**

    The last reply to this topic is now over 484 days old. Your reply will bump the topic to the top of its list and notify anyone previously involved in the conversation.

    Are you sure you want to continue this old conversation?



  • @codinghorror said:

    Well, we actually want people to pay attention when replying to old stuff,

    Don't you want to construct the UI in such a way that they will not pay attention to old threads in the first place?

    For example, they could fall off the page.



  • @Zecc said:

    patronizing toasts

    I have a great idea for a novelty toaster.



  • Discourse is great at suggesting topics

    Yes I sure would like to read an unpopular topic so old its last post is blue.


  • Winner of the 2016 Presidential Election

    @hungrier said:

    Discourse is great at suggesting topics
    <img src="/uploads/default/2161/e2434b198d7490fa.PNG" width="690" height="82">
    Yes I sure would like to read an unpopular topic so old its last post is blue.

    Yes, hate this feature. The algorithm makes no sense, the results seem entirely random.

    I do tend to "participate" in virtually every thread.



  • @codinghorror said:

    Well, we actually want people to pay attention when replying to old stuff, so that is as intended. Replying to new things, normal, replying to Ye Olde Topic From Anno Domini MMIX, not so normal.

    Isn't the blue styling entrapment, though?


  • Winner of the 2016 Presidential Election

    @codinghorror said:

    Well, we actually want people to pay attention when replying to old stuff, so that is as intended. Replying to new things, normal, replying to Ye Olde Topic From Anno Domini MMIX, not so normal.

    The blue attracts attention to it, so you're more likely to reply. You want to make that topic fade a little into the background, like you do with the like buttons (which you apparently are trying to discourage people from using).


  • Winner of the 2016 Presidential Election

    @dhromed said:

    @Zecc said:
    patronizing toasts

    I have a great idea for a novelty toaster.

    Does Anyone Want Any Toast? - Red Dwarf - BBC – 03:10
    — BBCWorldwide


    Filed under: Found the prototype


  • Banned

    Once Suggested Topics runs out of your new and unread stuff, it does show random topics (not closed) in the same category:

    We could do "recent top" but there is an aspect of rich-get-richer here aka endless argument and opinion that I don't think is a good idea.



  • [quote=codinghorror]
    Now that tiger-striping in the topic lists is gone, we can finally take coldmapping out back, dump it in the compost bin, and shoot it.
    [/quote]

    Okay maybe he didn't quite say that



  • Oh look, another topic Discourse has randomly set to "Regular" at some point.



  • FYI...this was changed for you on June 15, 2014.



  • So like a week after the last post in the topic (before today's necro) ... :wtf:

    Stupid Dischorse.


  • sockdevs

    @boomzilla said:

    FYI...this was changed for you on June 15, 2014.

    wait..... you can see when people change their watching levels of topics?



  • Via some SQL query, presumably.

    All it needs is a change/update time against that record, and a backup from this morning before I set it back, and there you go.



  • @accalia said:

    wait..... you can see when people change their watching levels of topics?


  • sockdevs

    woah there dude. if anyone needed some clear eyes it's you!




  • sockdevs

    dang. that's a movie i need to watch again.



  • [quote=codinghorror]Yeah the grey tiger striping is a serious detriment to the idea of fading grey as the cold/old-mapping. Every grey stripe massively reduces the range you can use.[/quote]

    :headdesk::headdesk::headdesk::headdesk:



  • And the principles of JDGI ensured that the wrong lesson was learned.


  • mod

    This post is deleted!

  • mod

    How long until the Principles of JDGI ensure that JAGI? Taking bets now.


Log in to reply
 

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