Givewp: fix(admin-form): Make Range-slider more practical when setting the minimum amount

Created on 1 May 2018  路  4Comments  路  Source: impress-org/givewp

User Story


As a Give Admin, I want to be able to use the new min-max range slider in Give 2.1 so I can set my range effectively.

Current Behavior

I currently cannot set a reasonable minimum amount. As soon as I slide from the left, the amount jumps by thousands. It's very impractical. See GIF below.

Secondly, it's not clear what happens with the max side of the range. Is it possible to NOT have a max amount at all?

Expected Behavior

I expect the user experience of this new feature to be intuitive and easy to use and understand.

Visuals

givewp_min_max_donation

Related

https://github.com/WordImpress/Give/issues/1920

Tasks

  • [x] Format the amount like the other amount fields
  • [x] Add right padding to both labels and make sure both fields line up.
  • [x] The field Minimum Amount and Maximum Amount should not be a larger size than the Donation Limits font size.
  • [x] Update description to Set the minimum and maximum amount for all gateways.

Most helpful comment

I've tested this as well and came to the same conclusion as @mathetos. I don't believe the slider improves the experience.

  • It is much faster to type the minimum and maximum amounts into the fields.
  • Most users will have specific amounts in mind, and trying to slide to that specific amount is frustrating/impossible.
  • Realistically, the minimum amount will be something like $10 or $100, but even if you enter $1000 into the text box, the slider barely moves. For amounts that low, you have to type it because you can't possibly slide to it.

Recommended Solution

Remove the slider and make Minimum Amount and Maximum Amount two different number fields with their own labels for better accessibility.

I see part of the motivation for the slider in #1920 was to indicate the max allowed per gateway. I think this can be handled with either dynamic descriptions or front-end validation of number fields.

All 4 comments

I've tested this as well and came to the same conclusion as @mathetos. I don't believe the slider improves the experience.

  • It is much faster to type the minimum and maximum amounts into the fields.
  • Most users will have specific amounts in mind, and trying to slide to that specific amount is frustrating/impossible.
  • Realistically, the minimum amount will be something like $10 or $100, but even if you enter $1000 into the text box, the slider barely moves. For amounts that low, you have to type it because you can't possibly slide to it.

Recommended Solution

Remove the slider and make Minimum Amount and Maximum Amount two different number fields with their own labels for better accessibility.

I see part of the motivation for the slider in #1920 was to indicate the max allowed per gateway. I think this can be handled with either dynamic descriptions or front-end validation of number fields.

Direction Decision

I agree the slider is frustrating and not a good user experience. Let's remove it and go with @kevinwhoffman's suggestion above.

@DevinWalker Let me know your view on new UI.

image

@ravinderk a few things

  1. Format the amount like the other amount fields
  2. Add right padding to both labels and make sure both fields line up.
  3. The field Minimum Amount and Maximum Amount should not be a larger size than the Donation Limits font size.
  4. Update description:

Set the minimum and maximum amount for all gateways.

Was this page helpful?
0 / 5 - 0 ratings