[GNC-dev] Ideas for account type-ahead modification

jean laroche ripngo at gmail.com
Wed Mar 11 00:18:53 EDT 2020

I have the beginning of a solution for type-ahead. It's functional but 
it does not implement the whole idea.
Here's what I did:
- Made it possible to type and see the pop up select the *first* account 
that match the typed string (in real-time, as you type).
- From then on, if you're happy with the account selected, you do 
arrow-up the arrow-down and the account name appears where you typed.

This works quite well for such a simple modification, but it's not great 
because the pop up still shows *all* the accounts, not just those that 
match the string you inserted. Ideally, the popup should only show the 
accounts that match.
Also, it's currently incompatible with the previous type-ahead model so, 
you'd have to pick between the old and the new, possibly in the 
preferences (not implemented).

But it's a start.

On 3/10/2020 9:54 AM, David Carlson wrote:
> I would like to see account selection by account number capability 
> expanded to be able to have some visibility when typing.  Currently we 
> need to have a good memory or a cheat sheet by the keyboard.
> David Carlson
> On Tue, Mar 10, 2020 at 11:48 AM Jean Laroche <ripngo at gmail.com 
> <mailto:ripngo at gmail.com>> wrote:
>     On 3/10/20 9:23 AM, Adrien Monteleone wrote:
>     > Can account number entry be part of the solution? (or is that a
>     separate ball of wax?) I know I’ve seen that asked for as well.
>     (and would use it myself if it existed) The current work around is
>     to include the account number in the account name (though it has
>     its own field) and even then it requires too many key presses to
>     use properly.
>     Yes possibly...
>     _______________________________________________
>     gnucash-devel mailing list
>     gnucash-devel at gnucash.org <mailto:gnucash-devel at gnucash.org>
>     https://lists.gnucash.org/mailman/listinfo/gnucash-devel
> -- 
> David Carlson

More information about the gnucash-devel mailing list