Progress demo would "feel" better if the progress amount was rounded to the nearest Integer

Description

When observing the Progress demo:
(http://build.fluidproject.org:8095/finalreport/infusion/src/webapp/demos/progress/demo.html)

The progress percentage sometimes jumps between a whole number and a number with decimal fraction. This is a bit jarring and the whole experience would be easier to read and more pleasing to watch if the percentages were rounded up or down before being displayed.

(I'm trying to decide if this should be a function of the Progress component itself, but I don't think so. The component just wants a percentage and there may be cases when passing in factional percentages are just fine. So it really should be changed in the demo only. We already do this rounding in the Uploader.)

Environment

None

Attachments

1

Activity

Show:

Eli Cochran September 17, 2009 at 5:48 PM

Patch has been applied. Thanks Jacob!

Jacob Farber September 17, 2009 at 2:12 PM

Thanks for this. I applied the patch!

Eli Cochran September 14, 2009 at 10:13 PM

I offer up this humble patch .a.patch to fix this lack of round-i-ness.

Fixed

Details

Assignee

Reporter

Components

Affects versions

Priority

Created September 14, 2009 at 10:07 PM
Updated March 3, 2014 at 7:24 PM
Resolved September 17, 2009 at 5:48 PM