ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-11877) Min/Max value for Sliders should be proportional to the step_increment
Date Fri, 12 Jun 2015 15:28:00 GMT

    [ https://issues.apache.org/jira/browse/AMBARI-11877?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14583569#comment-14583569
] 

Hudson commented on AMBARI-11877:
---------------------------------

SUCCESS: Integrated in Ambari-trunk-Commit #2898 (See [https://builds.apache.org/job/Ambari-trunk-Commit/2898/])
AMBARI-11877. Min/Max value for Sliders should be proportional to the step_increment (onechiporenko)
(onechiporenko: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=25322e999eb2709901ea618e5db88027bc24e469)
* ambari-web/app/views/common/configs/widgets/slider_config_widget_view.js
* ambari-web/test/views/common/configs/widgets/slider_config_widget_view_test.js


> 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)

Mime
View raw message