These changes allow for a user to click anywhere on a track's title to play or pause the song for any trackgroup (such as this).
On mobile, it was unclear for users how to play songs, as the play buttons would be numbers. On desktop, when you mouse over the number it becomes a play button, but mobile users do not have hover so it's unclear. These changes make it so pressing on a track's title plays the track, and pressing on a different track's title plays that track instead, just the same as clicking the play button on the left for that track. This makes it way easier to change tracks, since the play/pause button is small, this gives users a bigger area where they can click/press.
Recreating: https://github.com/resonatecoop/stream/pull/212
These changes allow for a user to click anywhere on a track's title to play or pause the song for any trackgroup (such as this).
On mobile, it was unclear for users how to play songs, as the play buttons would be numbers. On desktop, when you mouse over the number it becomes a play button, but mobile users do not have
hover
so it's unclear. These changes make it so pressing on a track's title plays the track, and pressing on a different track's title plays that track instead, just the same as clicking the play button on the left for that track. This makes it way easier to change tracks, since the play/pause button is small, this gives users a bigger area where they can click/press.