Skip to content

ericmschow/a-better-setlist

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build a Better Setlist

Built with React, using JavaScript, HTML, and CSS.

This project is intended to solve a real-world problem my band faces: having to make and re-make setlists for every show. It is very time consuming to have to, for every show, write out each song, keep track of how long they are, and add up the total setlist length to ensure we'll be within our allotted time.

We could use a Google/Excel spreadsheet to track the information, but that does not allow for quick and painless setlist creation. Besides, everyone knows spreadsheets are boring. A cursory search showed no free tools to do this, which makes this an excellent problem to tackle for my DigitalCrafts individual project.

MVP features:

  • Input their songs, including its name and duration (with the possibility of other fields for a data-presentation-related stretch goal)
  • Save their songs to localStorage for an improved user experience
  • View a list of all their songs, sorted alphabetically
  • Select songs from their list to put in their setlist
  • Easily re-order their setlist via drag-and-drop

Stretch goals:

  • Graphs to easily answer questions about your setlist, e.g. "Will there be breaks in intensity to let the audience relax?" or "How will the audience respond to this track order based on how I've rated the crowd response level for each song?"
  • Seamless vs seamed transition option for setlist, granting the option to add dead time between songs to make charts more realistic
  • Song sorting options for main list beyond alphabetically
  • Save PDF version of setlist for printing
  • Google Drive export feature to easily share with bandmates (vs screenshots from phone)
  • Automatic setlist re-ordering, including randomly or in accordance with a given intensity or response curve
  • Allow the user to have multiple bands
  • Allow saving/loading different setlists
  • Refactor into React Native or some other means of putting this on app stores

Some challenges faced while building this project included:

  • Overcoming react-swipeable-views' behavior of re-rendering every component on every frame of animation, when computationally heavy logic needed to be done prior to re-rendering. Solved via debounce module on the heavy logic, preventing it from running that frequently.

  • Finding a way to take touch input on individual divs while react-swipeable-views wanted to take touch input on the entire screen. Solved via finding a different touch module, Tappable, that worked at a higher priority than react-swipeable-views.

  • Getting the setlist information from the drag and drop interface to the graph output. Solved via refactoring the out-of-the-box react-dnd module hookup, and bringing the setlist state up from the setlist page to the main container page. The drag and drop interface now mutates a reference to the setlist state back in the main app, which passes the setlist information back to the drag and drop interface as well as the graph page.

  • Getting the layout to look good on desktop as well as mobile. What seemed fine in the Chrome Device toolbar turned out to be nothing like how it appeared on a real device. This issue took some time to ultimately resolve, and had I not deployed early in the project week I would not have been able to fix it. Solved via using Chrome's developer tools with a cable running to my phone, CSS media queries, and good old trial and error for the layout design choices.

About

Progressive web app using React to simplify setlist creation for my band, as an assignment for the DigitalCrafts bootcamp

Resources

Stars

Watchers

Forks

Packages

No packages published