aokolish / recipes Goto Github PK
View Code? Open in Web Editor NEWfor saving/sharing recipes
Home Page: http://recipes1.herokuapp.com/
for saving/sharing recipes
Home Page: http://recipes1.herokuapp.com/
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.
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.
The search results are supposed to be sortable by date, review(review + relevance), and by relevance as indicated in the wireframes.
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.
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.
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?
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.
Currently, this is how you remove a favorite:
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 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.
I should have them for 400's/500's. Maybe, I could use the same one for both.
In the search form in the header, click the magnifying glass with entering search terms. You get a tooltip that is partially visible.
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:
Be sure to add specs for this
This seems like a neat concept. I'm going to check it out on a branch and see if I like it.
I think the importing code should be in a begin ... rescue
block so that if it doesn't work the site fails more gracefully.
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.
Should be pretty painless
I should add Travis CI and add the build status to my README. There's an episode of railscasts that covers this: http://railscasts.com/episodes/303-publishing-a-gem[](http://railscasts.com/episodes/303-publishing-a-gem)
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.
I need to remove the placeholder images on the homepage. It would be cool to do a full on coverflow like this: http://tympanus.net/Development/3DGallery/index.html[](http://tympanus.net/Development/3DGallery/index.html)
Need to add google analytics
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?
Jquery UI Sortable doesn't work on touch devices. I should investigate a fix for this. Maybe, something like this: http://miguelrodelas.com/web/2011/11/09/make-jquery-ui-sortable-dragdrop-work-on-ipad-safari/
or this: http://touchpunch.furf.com/
Adding reviews to the recipes. I think I want to work on this next.
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.
I think I want to stick with rspec/capybara for testing. Therefore I should do the following:
Would be nice if it were possible to attach images to recipes from mobile safari. Maybe, you could send an email to the application to attach it?
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.
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.
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?
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.
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).
Currently, there is no way to login or create an account on mobile. I need to write that.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.