Ticket #6006 (closed enhancement: fixed)

Opened 2 years ago

Last modified 21 months ago

Range slider widget (dojox.widget.RangeSlider)

Reported by: guest Owned by: nathan
Priority: normal Milestone: 1.2
Component: DojoX Form Version: 1.0
Severity: normal Keywords: dojox range slider
Cc: tobias@…, doughays, wolfram, davidb, clown, becky, mccain

Description (last modified by wolfram) (diff)

This is a slider widget using two slider handles for selecting a range. It's subclassing dijit.form.Slider. Attached is an early version of this widget. It was tested in ie6, ff and safari.

You can test the widget here: http://tobias.klpstn.com/dojo/dojox/widget/tests/test_RangeSlider.html

Attachments

RangeSlider.tar.gz (5.9 kB) - added by guest 2 years ago.
RangeSlider? using dojox.form as namespace
RangeSlider1.1.tar.gz (5.3 kB) - added by guest 22 months ago.
Range Slider enhanced and working with 1.1
RangeSlider1.1-tabbing.tar.gz (6.3 kB) - added by guest 22 months ago.
now with better tab-support
RangeSlider1.1-tabbing.zip (7.8 kB) - added by guest 21 months ago.
Hopefully this archive works now

Change History

Changed 2 years ago by bill

  • owner changed from peller to dante
  • component changed from Dojox to DojoX Form

Changed 2 years ago by peller

  • cc doughays added

Changed 2 years ago by dante

can I suggest we renamespace this for dojox.form? also I experienced strange behavior in FF2/Mac with selection.

Changed 2 years ago by guest

i also tested it with ff2/mac. just tell me, what strange thing happened. as i said above, it is an early version, so there could be some minor bugs. in my opinion, there is a problem concerning, how i set the value within the widget. have to rethink, how i gonna implement it.

concerning the namespace: i'll rename it to dojox.form and attach it then.

Changed 2 years ago by guest

RangeSlider? using dojox.form as namespace

Changed 2 years ago by dylan

  • milestone set to 1.2

Changed 22 months ago by guest

Range Slider enhanced and working with 1.1

Changed 22 months ago by guest

it would be great, if someone could review this widget.

Changed 22 months ago by wolfram

  • cc wolfram added
  • description modified (diff)

Changed 22 months ago by doughays

The left arrow key only moves the left handle and right arrow only moves the right handle. We need a way to move both handles both ways.

Changed 22 months ago by davidb

  • cc davidb added

Changed 22 months ago by clown

  • cc clown, becky added

Neat widget.

A comment about keyboard support: It should include pgup/pgdn/home/end in some fashion and be consistent with single range slider. See the "Keyboard" section of http://dojotoolkit.org/book/dojo-book-0-9/part-2-dijit/form-validation-specialized-input/slider.

The range slider currently supports home/end, but only for the "left" thumb (probably related to what gets focus).

Also, it moves the left thumb to the beginning and end of the entire range. It should be restricted to the current value of the "right" thumb (you can't have a "negative" range between the thumbs).

Changed 22 months ago by guest

now with better tab-support

Changed 22 months ago by guest

thx for the input.

i've now changed the widget to support better keyboard handling. the widget now has 3 tab-steps:

1. Tab-Step: left/bottom-handler selected (change minimum value with left/right) 2. Tab-Step: bar selected (change minimum and maximum value with left/right) 3. Tab-Step: right/top-handler selected (changed maximum value with left/right)

I would appreciate new opinions.

AND: CLA is already signed :-)

Changed 21 months ago by guest

you can test the actual version of the rangeslider here: http://tobias.klpstn.com/dojo1.1/dojox/form/tests/test_RangeSlider.html

Changed 21 months ago by dante

  • cc mccain added
  • owner changed from dante to toonetown

this looks good and ready for dojox.form -- passing to project maintainer for committing. (or mccain, feel free to)

Changed 21 months ago by bill

  • owner changed from toonetown to nathan

Changed 21 months ago by nathan

  • status changed from new to assigned

Can you try and re-attach the patch file? It seems to be corrupted (it appears to be just a gzipped HTML file...not a tar file)

Changed 21 months ago by nathan

I was actually able to pull the files from http://tobias.klpstn.com...so no need to attach (as long as the files there are the correct ones)

Changed 21 months ago by guest

Hopefully this archive works now

Changed 21 months ago by toonetown

  • status changed from assigned to closed
  • resolution set to fixed

(In [13764]) fixes #6006. Commit to add range slider form widget. !strict

Note: See TracTickets for help on using tickets.