-
Notifications
You must be signed in to change notification settings - Fork 540
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Auto-complete for accounts #110
Comments
There is no place in tha app where account names have to be entered. So I assume you mean a feature to search accounts right? |
Mainly I was referring to the account selector labelled "transfer account" but the same would apply to anywhere an account can be selected from a list -- a nearby search icon that would swap out the list for a text entry field with auto-complete could be useful. I expect it to be much faster to search for an account by typing the first few characters of its name rather than scrolling through all other accounts until I find the one I want. |
Ok I now understand what you mean |
Before this project, I worked on another gnucash android project (https://code.google.com/p/gnc4a/) that's now collecting dust. It had some nice things related to this. Namely you could start to type a description, it would auto-complete it from other transactions, and if you select one it would default the rest of the fields to the values from the last transaction with the same description (I was the implementer of that feature, but don't judge me on the code, that was one of the first Android projects I ever worked on, things have come along way since). I also imported all of my accounts, and it takes way too many clicks to for me to add a transaction. I envision a quick add widget (as in a widget on one of home screens), where I just type a first 3 letters of a description, say "who" it finds Whole Foods, and fills that in, and sees that last transaction with that description did a debit to my visa account, and a credit to expenses:groceries (or something that that effect). It fills all that it. I enter the amount, and add the transaction. Very few clicks. |
I see now that there's a widget that allows me to to display an account balance, and it has an add button that takes me to adding a transaction to that account. And that we can't do text input on the widget any way. So now I'm back to agreeing with the OP. But it appears to be auto-completing now. Should this be closed? |
There is autocomplete in the app which pre-fills all the fields except the amount, as you mentioned. However in a case where the user is entering a completely new transaction not based on a template, then the OPs issue becomes relevant. You have to pick the transfer account from a list. This was really difficult before (I think at the time of the posting) because account names were not hierarchically sorted. But now they are which makes it easier to find the one you want. So I will probably close this issue |
Sorting isn't enough. If there are dozens of accounts, auto-complete will be faster than scrolling through the list. |
That is true. But it is not a top priority for now, especially as it is not trivial to implement. |
Well, as the feature was not outright rejected and neither was it implemented, it is probably not right to close this issue. I agree that there is no space to do this on the current New Transaction screen but it would be fairly easy to implement using a separate activity, whose only purpose would be to filter and select an account. This would be reusable. |
@mistery you're right. This should probably stay open because it was not quite rejected, just low priority. About the speed of entering transactions, most people have similar costs throughout the week. It is possible to start typing the description and auto-fill the rest of the transaction. That means the autocomplete of accounts would be great to have, but not a priority with the limited resources we have. |
I actually started some work on this, however slow. Do you mind checking Money Manager Ex for Android and let me know if picking up the account/category is too distracting? I find that having a separate activity provides a lot of freedom in terms of functionality that can be encapsulated in it and allows for some nice search interface, filtering, creation of new accounts, editing of existing accounts, etc. This is my experience, at least.
Thanks for the tip. I did not realize that there is an autofill. This is indeed very useful for regular transactions. Perhaps it might be enough, as you suggested, to use AutoCompleteTextView and have the adapter display all the accounts that contain the search text. For example, if I'm typing in "music", I'd like to see all the accounts that contain Music at any level (i.e. Hobbies:Music, which is for instruments, and Entertainment:Music, which is for concerts or albums, for example). |
Unfortunately, the auto-fill does not very useful for my usage scenario. I tend to empty the database about once a month (and these days even more frequently as I'm testing various scenarios) and, every time I do that, the auto-fill needs to learn the transactions again. |
…() contains the text to search for
…ingTextFilter + Add isFoundInItem() that can be overridden
…ccount Full Name of the item instead of item.toString()
…and ArrayAdapter
…ally in Report Toolbar Spinner
… have no customized color, because black is too hard
…ception in Splits
…nt in transfer account list for Splits
…se() the computation of the accounts allowed for a transfer
I imported my account structure. I have way too many accounts in my desktop GNUcash file for selection from list to be practical. In desktop GNUcash I can usually type one or two characters and quickly find the account I am looking for.
The text was updated successfully, but these errors were encountered: