madhuripalle / SpotiFlow

Groove to the Flow
0 stars 1 forks source link

Select Options page HTML & JS #9

Open PhoenixJZT opened 8 years ago

PhoenixJZT commented 8 years ago

Set Duration and Select Flow Implement Flow Thumbnail Templates

PhoenixJZT commented 8 years ago

@clsd3294 Can you edit the JS to make the time dropdowns and the checklist disabled unless the Switch is turned "on"

PhoenixJZT commented 8 years ago

We also may need a button under Duration dropdowns to "Set Duration" Then, if getCurrentPlayliistDuration() > the duration they input in seconds, they get a modal or alert dialogue that asks if they want to prioritize the tracks. If they accept, enable the attribute checkbox underneath.

clsd3294 commented 8 years ago

Done. See details about id=durationsetbtn in selection-page.js. Since there is no current playlist duration, I just t a var durationPlaylist to representing the duration of the playlist. Also, I do not know the collection page(there seems not in the project now), thus, I add nothing within the process to redirect the users to add more tracks in his collection.

PhoenixJZT commented 8 years ago

Re: Collection page. (A.K.A output playlist) As I said in that issue's comments, I think we should just tell the user to open the playlist in spotify if they want to remove tracks or reorder tracks manually, since the widget will not allow it.