Giter Club home page Giter Club logo

Comments (5)

jamis avatar jamis commented on August 15, 2024

Neat idea! I don't have any immediate plans to implement this, but I wouldn't mind seeing it done, if anyone has a hankering to submit a patch.

from bucketwise.

KieranP avatar KieranP commented on August 15, 2024

Found some time to do this today. Changes at

http://github.com/KieranP/bucketwise/commit/a440728ec86c4e8673c21d6c694f29d841632b3a

Current tests are all passing. Because there was very little changes to the model, and no changes in the controller, I didn't think tests would be needed in this case (mostly css, javascript, and view changes), but please feel free to point out if you know how something can be tested.

Had fun doing this. First time using Haml. Very strict template language. I like it!

from bucketwise.

jamis avatar jamis commented on August 15, 2024

Great job with this, thanks! A few minor issues I'd like to raise, but if you can take care of those I'd be happy to merge this in.

First, when I ran the mgiration and loaded up the dashboard, I got an error: "The error occurred while evaluating nil.abs". It came from line 18 of subscriptions_helper.rb. By manually adding a limit to my credit card account I got it to work, but it looks like the styles on the account balances on the dashboard have changed -- they're now gray, instead of black. (Also, the bucket balances are gray, which makes them really light when combined with the partial opacity that they were styled with before).

Could you please take a look at those issues? I think your change is very well implemented, otherwise, and I look forward to merging this in.

from bucketwise.

KieranP avatar KieranP commented on August 15, 2024

If you pull in the original commit, then cherry pick this one, it should fix the issues you mentioned.

http://github.com/KieranP/bucketwise/commit/2762bead1bb9369d1c4a5601acf9ae6a6edbf335

from bucketwise.

jamis avatar jamis commented on August 15, 2024

Awesome. Sorry to take so long getting back to you, but my wife and I welcomed a new baby to our family last week, so things have been crazy (both before and after).

I've merged your changes in. Thanks for this! In using this a bit myself, I'm starting to think, though, that simply changing the text color is perhaps not informative enough regarding the how much of one's available credit one has consumed. I think it might be better to show the actual percentage consumed, along with how much credit is available.

I've added an item to the TODO file, to this effect. I think what you've done is fine for now, though, so feel free to let someone else come along and do the rest of the work if you want. :)

from bucketwise.

Related Issues (20)

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.