The confluence of UX and DX for API Design
Do you know what happens when a group of people connect to a Chromecast device through Spotify? Nobody knows. The outcome is evenly distributed between wiping your queue, playing something random from your device, connecting only a subset of the group to the device, moving a random group member’s queue onto your device, or establishing a group connection as expected. It’s a big User Experience (UX) problem because it breaks the Principle Of Least Astonishment (POLA), among other things. In fact, I’ve taken the liberty to mock up a revamped Spotify user interface for Chromecast group sessions, free of charge: The new UI does nothing to fix the broken functionality but improves the UX by making it clear to the user that anything could happen if any UI element is interacted with once the session begins. It also makes it clear that the connection may or may not be established at all. You’ll sometimes even hear the familiar “ding” on the target device, and the app will tell you it’s ...