bwa-u4-feature-request's People
bwa-u4-feature-request's Issues
Caveats
When adding an audio playback feature, users should always have a clear indication of what is playing and a way to easily stop it. In the case of a very long list of search results, it may be difficult to find the currently playing track in order to stop playback after scrolling around. Perhaps there should be an always-visible status bar added to the application. This status bar will enable the user to quickly see whatβs playing and stop it.
Yes! π―
Absolutely. Don't make the user have to scroll for a song buried deep within a list in order to pause a song. Or have to play another song in order to pause that song when really they just need to quiet their browser altogether.
Granted, you've made a valid point that the current number of search results is not great enough to warrant the concern of the user not being able to find playing track... But is this number of search results optimal to the user?
Keep exploring this caveat. Consider the most simple UI that will clearly communicate to the user that they have control of the currently playing track while also giving them the most utility for their goals.
Technical design
The Spotify Web API includes this easy to use audio sample URL in the track schema described here: https://developer.spotify.com/web-api/object-model/#track-object-full
Excellent work researching the Spotify API to figure out how you might you implement this feature.
Playing one Track will need to automatically stop playback of any other Track. Since we will be only playing one track at a time, we can have the Play / Pause methods reside in App/App.js.
Great thinking. You definitely don't want multiple tracks playing over eachother. There should definitely be a single component keeping track of the currently playing track. The play button on the individual Track components can just set or reset the state of the App component π
Objective
Enable users to hear audio samples right from the search results list.
Excellent idea for a potential new feature π
Background
Users may feel uncertain about the content of a track when adding items to their playlist.
Enable users to make better musical selections.
Encourage users to give various unknown songs a try.
Keep users engaged in our application.
Prevent tabbing back and forth between our application and an optional player application.
These are all great motivations to implement this feature.
It's definitely a flaw in the current application that the user may need to commit to saving a song to a playlist before being certain that that's the song they're interested in. Likewise, keeping a second tab open to play some song is just not an attractive solution when wanting to quickly create a playlist.
Great working putting thought into this feature π
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.