Giter Club home page Giter Club logo

draww's People

Watchers

 avatar  avatar

draww's Issues

Timestamp temporary jpg files

...and don't throw an error if they fail to be cleaned. At the moment we're getting upload errors like:

I, [2013-11-12T18:04:10.672247 #24382] INFO -- : Completed 500 Internal Server Error in 1938ms
F, [2013-11-12T18:04:10.675798 #24382] FATAL -- :
Errno::ENOENT (No such file or directory - tmp/.jpg):
app/models/post.rb:70:in delete' app/models/post.rb:70:inremove_temporary_image_file'
app/controllers/posts_controller.rb:29:in `create'

Fix voting NoMethodError

Try this:

  1. Login
  2. Create a post
  3. Vote up or down

You'll get this 500:
NoMethodError (undefined method 'save' for nil:NilClass): app/controllers/posts_controller.rb:70:in 'vote_down'

Click vote up or down again, and it works fine.
What witchcraft is at work here?

Animated spinner browser compatibility fix

  • makes firefox go a little crazy. Needs to be tight bounding box I think
  • investigate artifacts when on post/show in firefox (is it because spinner curve is right on edge of artboard?)

Finish styling posts/show meta

Needs:

  • Full screen button
  • Nicer vote links
  • To actually show "0" when there's no votes
  • Close button

...i.e what it has on the flat version

Style individual posts/show view

It only looks ok inside a modal at the moment, and we see the full view when new posts are saved (and probably incoming links in the future)

How do I get pagination working?

Post.hot is custom SQL, not active record, so I can't do my normal crayons-based approach of using the Kaminari gem....

I know the answer is set limit & offset, but the rest confuses me greatly....

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.