killer-queen-stats / kqstats

Get real time statistics from your Killer Queen cabinets!
Other
25 stars 10 forks source link

Full Killboard: flash the background of a stat when it changes #8

Open KevinSnyderCodes opened 6 years ago

KevinSnyderCodes commented 6 years ago

On the full killboard, stats reside in individual cells. We should give the option to flash these cells when the stat changes. This helps quickly bring attention to a stat that has changed, which can be useful when debugging or for commentators.

Example from Tony's overlay, flashes on the side of the screen: https://www.youtube.com/watch?v=kZ_a3k8G7fo&t=51m58s

KevinSnyderCodes commented 6 years ago

react-transition-group seems like the way to go for this. Your traditional "select element and add/remove class to animate" method won't work with React. This package handles transitions and animations for React components in a sophisticated and appropriately structured manner.