Giter Site home page Giter Site logo

wimm's People

Contributors

caiwan avatar slapec avatar

Watchers

 avatar  avatar  avatar

wimm's Issues

Stats

  • Line chart showing total sum over days, weeks, months and years in an arbitrary date range
  • Bar chart showing income/expenses over days, weeks, months and years in an arbitrar date range
    • Stack bars by tags
  • Pie chart showing tag sum over an arbitrary date range

Listing per date gets messed up after edit

Bug: After editing an item, the date listing gets at the end of the list when save. After refresh it listed correctly.
Expected behavior: When editing an item with date, the date gets parsed and listed correctly.
Steps to reproduce:

  • have items to edit
  • open edit mode
  • edit their date - add or miss trailing zeroes on purpose to break the format like 14-15-9 or 000-4-20
  • save them
  • the edited items are listed separately - at the bottom - after save

Cleanup tags, making consistent data

Since I was too lazy to record the data properly as it was supposed to, I ran into the problem of having inconsistent data. To solve this I was considering having a tool to fix them. First of all I was thinking in a maintenance CLI script, but that could be tied to the UI as well later on.

This would cover the following things:

  • remove the unused tags by default
  • rename tags
  • replace tags (then remove unused)
  • attach one tag to another (like parent-child relation w/o schema)
  • az ellen nem véd

Tests

We don't have a single test case anywhere

Editing an income becomes an expense after save

Bug: After editing and saving an item, which is an income (positive value) becomes an expense (negative value) because of negative default value on editing, and forgets the plus sign.
Expected behavior: After saving an item with positive value, it stays as an income, unless you remove the plus sign.
Steps to reproduce:

  • have an income item
  • edit it
  • save it
  • observe it

Allow editing existing items

This requires a few steps:

  • Add "Edit" mode to the app
    • Disable seeking months
    • Make items editable (tag list and price become inputs)
    • Add per-item saving
    • Deny saving empty items
    • Reset unsaved items when "edit" mode is left
    • Allow changing item date
      • This is tricky from the UI perspective. I guess I can make the compromises here as edit mode should be used rarely.
  • Handle editing existing item in the backend too.

Save all for bulk edit

When you bulk edit multiple entries, that would be neat if a save button could save every item you've edited rather than click on every single save button next to the item, like the undo works. In addition the delete button could be replaced, however it is disabled anyway when you are in edit mode.

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.