• Nick Stenning's avatar
    Pulse annotation cards when updated · dfaf4103
    Nick Stenning authored
    In order to help the user notice updates arriving over the websocket,
    this commit causes cards to pulse when they're updated.
    
    If an annotation is part of a collapsed thread, then the pulse will
    occur on the first visible parent thread.
    
    Cards owned by the logged-in user will not pulse. This is primarily an
    easy way of ensuring that cards don't pulse in the same view as they are
    being edited (although it doesn't ensure this in all cases), but it also
    makes sense more generally: users don't need to be notified of changes
    they have made.
    dfaf4103
thread.coffee 4.39 KB