Tallyphant

Issue 28: increment/decrement by more than 1

Reported by chrysn, Feb 6, 2012

tallyphant gets hard to use when large increments have to be used; 
the add button has to be pressed repeatedly, and doing larger 
increments requires doing the maths manually.

i suggest the following addition:

there should a preference for the "button mode". a button 
mode describes which buttons are available, by how much they 
increment and how they are labeled and aligned. by default, there 
could be:

- single step: -1 ("-") on the left, +1 ("+") on 
the right (the currently only mode)
- decimal: -10, -1, labels, +1, +10
- quick: -1, labels, "any", +1

(the "any" button should open a dialog where an increment 
can be entered using a digit input, optionally prefixed with a minus 
to decrement. that dialog should also take simple mathematical 
expressions, like multiplications.)

a further extension might be to make the button modes configurable 
for particular games.

the use case that made me stumble upon it is scrabble, where i need 
to keep a score, but increments are typically like 16*3 + 5.

the back button should always provide undo, as the increments can 
not necessarily be easily reversed.

Comment 1 by Ciaran Gultnieks, Feb 6, 2012

These are great ideas, thanks - I will implement some things along 
these lines.

Probably an undo menu item, rather than the back button, since it's 
reasonable to expect the back button to take you back to the 
previous Activity.

And I'm thinking the buttons will be configurable on a per-item 
basis, rather than a global preference, as that fits in better with 
other plans I have. There could still be a preference for the 
default on a new item, or it could just remember the last one you 
used.
Labels: Type:Enhancement Type:Defect

Comment 2 by Ciaran Gultnieks, Feb 7, 2012

Status: Accepted

Comment 3 by Ciaran Gultnieks, Feb 7, 2012

Try version 0.2.

There are now various ways of configuring the buttons. Regardless of 
the configuration, long pressing a button lets you enter a number 
(not an expression yet!).

You can also change the way labels are displayed - one of the 
options should be more appropriate for scoring a game.

I'll leave this issue open for now, as there are still some 
unimplemented ideas in it.

Comment 4 by Ciaran Gultnieks, Feb 7, 2012

Complete (I think) list of changes: 
http://projects.ciarang.com/p/tallyphant/page/ChangeLog/

Created: 1 year 3 months ago by chrysn

Updated: 1 year 3 months ago

Status: Accepted

Followed by: 1 person

Labels:
Priority:Medium
Type:Enhancement