Giter Site home page Giter Site logo

recipes's People

Contributors

aokolish avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

renatocarvalho

recipes's Issues

Should be able to edit recipes on the mobile site

I'd like to make it possible to delete parts of a recipe on mobile - I was thinking that you could swipe a row, and press delete (similar to how you can delete things on an iPhone). I'm finding that imported recipes sometimes contain stuff that is not needed.

If I can't figure that out, I could just make a full fledged edit form for mobile.

Chronic Duration Screws Up Time Ranges

If you try to add a recipe with a total_time set to something like '4 to 6 hours', the chronic duration gem turns that into 4 seconds - not good. Should I keep using this gem? It may be overkill. It is not designed to work with time ranges and those are fairly common in recipes. I should probably take it out.

Make Search Results Sortable

The search results are supposed to be sortable by date, review(review + relevance), and by relevance as indicated in the wireframes.

use vcr for scraper specs

scraper_spec.rb hits external sites. This is slow and unnecessary. I think using vcr would be a good idea to speed the unit tests up a bit.

Upgrade to rails 3.1

I'd like to get around to upgrading to rails 3.1 and moving the app to the cedar stack on Heroku. Initial reading on this made me think this could be a bit of work.

Implementing Wireframes

How do I want to go about this? I should do it incrementally and possibly on a few different branches. What do I want to start with and how can I break it up?

Favorites Tab Should Always Show Up

The favorites tab should probably be visible no matter what so that people can see that the feature exists. If you land on the page without being logged in, you should get a flash message telling you to login/create an account and you should see that message that explains what the page is all about.

Cannot remove favorites on mobile

Currently, this is how you remove a favorite:

  • go to favorites page
  • hover on a recipe
  • click an icon button that shows up

This doesn't work on mobile since you cannot hover.

TODO: fix this

Maybe, just make it a simple link so that you don't have to hover.

Twitter Bootstrap

Twitter Bootstrap look pretty interesting. I want to check it out on a branch and see if it could save me some time styling my site and allow me to focus on the rails side of things while maintaining the responsive design and some elements of my current design.

http://railscasts.com/episodes/329-more-on-twitter-bootstrap[](http://railscasts.com/episodes/329-more-on-twitter-bootstrap)

https://github.com/thomas-mcdonald/bootstrap-sass[](https://github.com/thomas-mcdonald/bootstrap-sass)

Custom Error Pages

I should have them for 400's/500's. Maybe, I could use the same one for both.

Tooltip in the search bar

In the search form in the header, click the magnifying glass with entering search terms. You get a tooltip that is partially visible.

Login redirects are annoying

When you log in you get redirected to the home page. The home page is probably the last place that someone wants to go to after logging in. There should be two behaviors:

  1. If you were trying to access something that you cannot do without logging in, you should get redirected to that page
  2. If you are just logging in, you should get redirected to recipes#index

Be sure to add specs for this

decent_exposure

This seems like a neat concept. I'm going to check it out on a branch and see if I like it.

Rescue from importing failures

I think the importing code should be in a begin ... rescue block so that if it doesn't work the site fails more gracefully.

User Model - New Features

I think I should capture more info from people when they sign up for an account such as either there full name, or a username. That way, when they add a recipe I can automatically use their username in the recipe's author field. I probably, need to think about that some more though.

Also, there should be a page where people can update their account. It can be simple for now, but it should allow them to delete their account (and all of their recipes) and update info such as their email/password. While I'm at it, I may want to come up with forgot password functionality.

Associate recipes to users

Need to setup the association between users and recipes so that I can keep track of who added each of the recipes. Along with that, only the user that added the recipe should be able to edit or delete it.

Authentication

Take a look at authentication as a whole. Should I update my authentication to like Ryan did on railscasts? Or should I swap it out for something like devise that would allow me to easily get a bit more sophisticated?

Required Inputs

I do not indicate which inputs on forms are required; I think that results in a bit of a confusing UI and some frustration. I should add asterisks or something - I think simple_form supports this.

Cleanup tests

I think I want to stick with rspec/capybara for testing. Therefore I should do the following:

  • remove fixtures
  • remove test unit tests (ensure that I'm not losing test coverage)
  • remove the entire test directory (I think I can safely do that)

Get full text search working again

I lost full text search when switching stacks on Heroku because index tank is no longer an option. I need to figure out what I'm going to do about this. I should probably implement some basic search as soon as possible.

Write Homepage

I need to create a static controller and write a homepage that explains what this site is about. Currently, home and /recipes/ render the same view.

Importing while not logged in

If you import a recipe without being logged in, there is no way to edit/correct the recipe. Should you be taken to the edit/new form before it is submitted?

logging in bug - changes page

If you are on recipe#show and decide to log in, you get redirected to another page - seems really odd. I'd rather go back to the page I was on before.

I should see if this is possible; not sure what the current logic is.

Add Ability to Attach Images

Need to set things up such that users can add photos to the recipes. I will probably use the paperclip gem. I need to figure some things out around this such as: can users attach more than one image per recipe? (might be something to add later).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.