Giter Club home page Giter Club logo

budget's People

Contributors

zhanhui913 avatar

Watchers

 avatar  avatar

budget's Issues

Adding account

Adding new account should bring the user to another page with a list of circularview with colors only.
Similar to category but without the icon selection.
This makes the editing of transaction, category, and account to have similar UI.
Also remove the random color assigned to the account.

Future transactions

Make it so that any transactions in the future will be gray out, and that the user can approve it and it will be like any other transactions {PAST, FUTURE} enum maybe.

Schedule's transaction circular view bug

Mix of completed and scheduled transactions in list of transactions for a category for a month have the schedule's transaction's circular view's stroke a bit uneven.

Set item in category view position bug

    colorCategoryGridView.setOnItemClickListener(new AdapterView.OnItemClickListener() {
        @Override
        public void onItemClick(AdapterView<?> parent, View view, int position, long id) {
            for (int i = 0; i < parent.getChildCount(); i++) {
                View childView = parent.getChildAt(i);
                CircularView ccv = (CircularView) (childView.findViewById(R.id.categoryIcon));
                ccv.setStrokeColor(R.color.transparent);

                if (i == position) {
                    ccv.setStrokeColor(R.color.darkgray);
                }
            }

            mListener.onColorCategoryClick(colorList.get(position));
            mListener.onColorCategoryClickIndex(position);
        }
    });

Position value will change when scrolling and top row is hidden

Category long press

When swiping open, should disable long press mode to re-order. otherwise re-enable ordering.

Number pad leading 0s bug

Pressing 0 button many times, you wont see any changes, but the moment you press back button you see it.

Add ability to change currency

Theres an online api called fixer.io

Maybe use this.
Also when starting app for first time, we should ask what currency the user wants to use.

refactor account, category, location

PieChartFragment current have 3 different methods of handling its data (cost & amount).
Refactor it to have 3 classes use interface so that PieChartFragment only needs 1 function for all classes with that interface.

Decorators

  1. Decorators becomes invisible when your go to different Fragment and then come back.

  2. can't add more than 1 event per day, need to change.

Change location

Allow change of name for locations, that when change will change all transaction's location property with the same name.

Update Category bug

After updating a category, and you click save; it bugs out (where category color and icon is 0)


12 17:31:34.927 23218-23218/com.zhan.budget I/ZHAN: ----------- onActivityResult ----------
02-12 17:31:34.927 23218-23218/com.zhan.budget D/ZHAN: category name is Dinner
02-12 17:31:34.927 23218-23218/com.zhan.budget D/ZHAN: category color is 0
02-12 17:31:34.927 23218-23218/com.zhan.budget D/ZHAN: category icon is 0
02-12 17:31:34.927 23218-23218/com.zhan.budget D/ZHAN: category budget is -200.0
02-12 17:31:34.927 23218-23218/com.zhan.budget I/ZHAN: ----------- onActivityResult ----------
02-12 17:31:34.927 23218-23218/com.zhan.budget I/ZHAN: eddited index :2
02-12 17:31:35.057 23218-23218/com.zhan.budget W/ResourceType: No package identifier when getting value for resource number 0x00000000
02-12 17:31:35.077 23218-23218/com.zhan.budget E/AndroidRuntime: FATAL EXCEPTION: main
                                                                 Process: com.zhan.budget, PID: 23218
                                                                 android.content.res.Resources$NotFoundException: Resource ID #0x0
                                                                     at android.content.res.Resources.getValue(Resources.java:1245)
                                                                     at android.content.res.Resources.getColor(Resources.java:899)
                                                                     at android.support.v4.content.ContextCompat.getColor(ContextCompat.java:368)
                                                                     at com.zhan.circularview.CircularView.setCircleColor(CircularView.java:219)
                                                                     at com.zhan.budget.Adapter.CategoryListAdapter.getView(CategoryListAdapter.java:154)
                                                                     at android.widget.AbsListView.obtainView(AbsListView.java:2467)
                                                                     at android.widget.ListView.makeAndAddView(ListView.java:1864)

Calendar Fragment

Steps to replicate bug

Select a date to add transaction
When putting info for transaction, change date
Click save, the calendar should change the date to the updated date. not the original date

Month Overview wrong year

Switching to 2015 or 2017 and clicking on any month will always yield that month's and 2016's results.

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.