The "new or updated topics" alert



  • Could there possibly be any worse way to present it than as an extra line in the topic list that magically pops into existence at random? There should be a badge based on how many times someone has tried to click on a topic but then been :trolleybus:'d by Discourse shifting everything down as you're about to click somewhere.


    Filed under: A javascript alert() would be less disruptive



  • Join us in:


  • SockDev

    @hungrier said:

    Filed under: A javascript alert() would be less disruptive

    I know, right?



  • window.open(...);



  • @hungrier said:

    Filed under: A javascript alert() would be less disruptive

    No kidding. Just like you get the alert when the site has been updated - click to refresh - something similar should come up when a new topic is created. Just not an alert that interrupts everything else - say, upper right corner window somewhere?



  • Probably less annoying then this though:
    [code]
    setInterval(function() {
    $.each($(".topic-list-item"),
    function(i, v) { var letters = '0123456789ABCDEF'.split('');
    var color = '#';
    for (var i = 0; i < 6; i++ ) {
    color += letters[Math.floor(Math.random() * 16)];
    }
    v.style.backgroundColor = color;
    }
    )}
    , 500);
    [/code]


  • SockDev

    i like that. nice effect!


Log in to reply
 

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