You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Oleg Nechiporenko (JIRA)" <ji...@apache.org> on 2015/06/12 14:33:00 UTC

[jira] [Updated] (AMBARI-11877) Min/Max value for Sliders should be proportional to the step_increment

     [ https://issues.apache.org/jira/browse/AMBARI-11877?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Oleg Nechiporenko updated AMBARI-11877:
---------------------------------------
    Attachment: AMBARI-11877.patch

> Min/Max value for Sliders should be proportional to the step_increment
> ----------------------------------------------------------------------
>
>                 Key: AMBARI-11877
>                 URL: https://issues.apache.org/jira/browse/AMBARI-11877
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-web
>    Affects Versions: 2.1.0
>            Reporter: Oleg Nechiporenko
>            Assignee: Oleg Nechiporenko
>            Priority: Critical
>             Fix For: 2.1.0
>
>         Attachments: AMBARI-11877.patch
>
>
> Problem:
> Slider-widget has min/max values received from server.
> This values may be not "human-friendly". Ticks between them on the slider are also not "readable" (because calculated as float-number).
> Also, some sliders have {{step_increment}}. And ticks shown on the slider should be proportional to it. In this case slider may look weird. Example:
> Now:
> {noformat}
> |--------|------|-----|-----|
> |----|-------|------|-------|
> {noformat}
> Should be:
> {noformat}
> |------|------|------|------|
> |------|------|------|------|
> {noformat}
> When page contains several sliders and one looks not equal to others it's not user-friendly too.
> Also rounding values on the UI cause some issues when switching from widget-mode to the raw-mode.
> Possible solution:
> Min/Max/Recommended values, received from server should be proportional to the step_increment (if it's available).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)