Git Product home page Git Product logo

you-need-a-splitter's Introduction

you-need-a-splitter's People

Contributors

dchaley avatar

Watchers

 avatar  avatar

you-need-a-splitter's Issues

Parameterize budget transaction fetch filter

Currently, we fetch all unapproved transactions.

The web UI doesn't let us generate unapproved transactions ๐Ÿ˜” (Those are for imported txns from banks, etc, that haven't been approved by the user)

The get-transactions API supports filtering on nothing, unapproved, or uncategorized.

For now, let's just make a checkbox which controls whether or not we only fetch approved transactions. Perhaps then, we can build an "unapprove" button that undoes an approval (and lets us create test data more easily ๐Ÿ˜Ž).

Wire up approve/disapprove buttons

Currently the approve button just tacks on "(approved)" to the transaction name.

Add an unapprove button, and, wire them up to the API.

Expected result: can approve / unapprove transactions.

Only pass observable list to transactions list

The transactions list shouldn't need to worry about whether or not it's loaded. Let the container worry about that. The list should just react to changes in a passed in observable list.

ClassCastException when YNAB_ACCESS_TOKEN missing

If the process env doesn't have the YNAB_ACCESS_TOKEN entry then a class cast exception occurs when casting it to string.

Fail more gracefully, for example assert its existence before trying to use it.

(What about auth errors? ๐Ÿค” At least those should come back in the network console)

Implement category edit

Pop up a modal, or whatever KVision allows(??), to edit the category on a transaction. It should be something simple like a drop-down of category names. (cat-group > cat-name)

Also: hide this button for split categories (see #16 for the unsplit work there)

Add loading state for modifying a transaction

After #12 , we update the app's data store from the YNAB API response, which triggers a re-render.

In the meantime (in between issuing the call and getting the result) we should lock up the transaction with a loading state.

Split percentages don't sum to 100%

We compute the split percentages ourselves. I guess we aren't rounding right (maybe truncating? dunno). Because the sum isn't 100% even if 123+333=456.

Image

Fetch & display available categories

To enable editing the category, we need to first fetch available categories so we have the name/id pairs. Then we can populate a categories data store, and display it below the transactions for debugging purposes. Eventually we'll wire it into the app properly, and remove it.

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.