Skip to content
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

define a max for estimated points in a list #15

Open
ghost opened this issue Mar 18, 2016 · 0 comments
Open

define a max for estimated points in a list #15

ghost opened this issue Mar 18, 2016 · 0 comments

Comments

@ghost
Copy link

ghost commented Mar 18, 2016

Change the background color to a "danger" color (eg: "red"), if the total estimated points is higher than the max value of set for the list. Use a "warning" color (eg: "yellow"), if the estimated total is equal with the max (or between 0.9-1.0 x max?).

Use "()", "[]" or "{}" to set the max number of points for a list.

For example:

(5) list foo
(1/2) item 1
(2) item 2
==> "default" color, estimated < max (2+2 < 5)

(5) list foo
(1/2) item 1
(3) item 2
==> "warning" color, estimated == max (2+3 == 5)

(5) list foo
(1/2) item 1
(4) item 2
==> "danger" color, estimated > max (2+4 > 6)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant