This course will be retired on April 30, 2018. We recommend "Rails Routes and Resources" for up-to-date content.
Bummer! This is just a preview. You need to be signed in with a Pro account to view the entire video.
Implementing an Interface1:16 with Jason Seifer
As we were going along and designing the application, we removed the links to some functionality we already had in place. After taking out the option to edit and delete todo lists, we’ve gotten to a point where we need to add that functionality back in to the application.
As we were going along and designing the application we removed the links to
some functionality we already had in place.
After taking out the option to edit and delete to do list we've gotten to
a point where we need to add that functionality back into the application.
The challenge we face in something like this is that the interface works pretty
well as it is and you don't really want to complicated.
Editing and deleting to-do lists are not actions that people will do very often so
it doesn't necessarily make sense to have them front and center in our application.
At the same time we want the functionality to be accessible and
easy to figure out when someone wants to do it.
What we're going to do is create a drop down that contains three buttons.
Edit, email, and delete.
The drop down will be visible when you click the title of a to do list
when you're in the list items view and it can be hidden in the same way.
This way, the user still has access to it when they want it and
it can safely stay hidden away at other times.
Now, let's go ahead and get coding.
You need to sign up for Treehouse in order to download course files.Sign up