Opened 6 years ago

Closed 5 years ago

#7624 closed feature (fixed)

Progressbar: Support value: false for indeterminate progressbar

Reported by: Scott González Owned by:
Priority: blocker Milestone: 1.10.0
Component: ui.progressbar Version: 1.8.15
Keywords: Cc:
Blocked by: Blocking:

Description

We had previously said that indeterminate progress bars should be a separate widget. However, there is a common enough use case where you may want to start providing feedback about that a task has started before you know the actual progress. In this case you may want to start with an indeterminate progress bar and switch to a determinate progress bar as soon as you have enough information to provide details. In order to support this, we will allow the value option to be set to false to indicate that the progress bar should be indeterminate.

Change History (9)

comment:1 Changed 6 years ago by Scott González

Priority: minorblocker
Status: newopen

comment:2 Changed 5 years ago by richwag

Looking at picking this up. Is there any spec as to what an "indeterminate" toolbar should do or look like? Some simply move from 0-100% continuously.

comment:3 Changed 5 years ago by rdworth

In fact, no, indeterminate progress bars should not move from 0-100%, only determinate progress bars should do that. See http://wiki.jqueryui.com/ProgressIndicator Section 1 for more info.

comment:4 Changed 5 years ago by richwag

Got it. Thanks for the links.

comment:5 in reply to:  1 ; Changed 5 years ago by richwag

Replying to scott.gonzalez:

A bit of clarification:

  • Can you switch between false and a numeric value and back again?
  • How do you see the graphic being specified for the indeterminate state? (Would this be passed in as an option? Would we simply apply a user defined class name maybe specified in the options. Or apply a predetermined class name or style?)
Last edited 5 years ago by richwag (previous) (diff)

comment:6 in reply to:  5 Changed 5 years ago by Scott González

Replying to richwag:

  • Can you switch between false and a numeric value and back again?

Yes, all widgets allow changing any option at any time.

  • How do you see the graphic being specified for the indeterminate state? (Would this be passed in as an option? Would we simply apply a user defined class name maybe specified in the options. Or apply a predetermined class name or style?)

Unknown. Perhaps just adding a class that defaults to a slanted stripe background. We need to discuss this with the design team.

comment:7 Changed 5 years ago by Scott González

Milestone: 1.91.next

comment:8 Changed 5 years ago by Scott González

Milestone: 1.next1.10.0

comment:9 Changed 5 years ago by kborchers

Resolution: fixed
Status: openclosed

Progressbar: Add ability to set value: false for an indeterminate progressbar. Fixes #7624 - Progressbar: Support value: false for indeterminate progressbar

Changeset: d3bc471688047d3c2dda3335dd642b724794070b

Note: See TracTickets for help on using tickets.