Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show a slider to select service weights #1053

Merged
merged 1 commit into from
Dec 19, 2016

Conversation

spadgett
Copy link
Member

When editing a route with two services, let users change the service weights as percentages using a slider. For 3 or more services, fall back to entering the weight values as integers.

openshift_web_console

Fixes #241

@spadgett spadgett requested a review from jwforres December 19, 2016 20:09
@spadgett spadgett changed the title Show a slider to selecting service weights Show a slider to select service weights Dec 19, 2016
@spadgett spadgett force-pushed the weight-slider branch 3 times, most recently from 2c3152c to f5d9baa Compare December 19, 2016 20:42
ng-model="controls.rangeSlider"
aria-describedby="weight-slider-help"
class="mar-top-md">
<!-- Use class="hidden" to make sure the options don't render for browsers that don't support datalist. -->
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

how does it look on the ones that do support, it looked like it was just Safari and iOS that didnt

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can probably take it out. It doesn't show up in Safari and iOS.

When editing a route with two services, let users change the service
weights using a slider. For 3 or more services, fall back to entering
the weight values as integers.
@spadgett
Copy link
Member Author

Removed class="hidden" from datalist

@jwforres
Copy link
Member

LGTM, you can merge if you are done making changes

@spadgett
Copy link
Member Author

[merge]

@openshift-bot
Copy link

Evaluated for origin web console merge up to f89c374

@openshift-bot
Copy link

openshift-bot commented Dec 19, 2016

Origin Web Console Merge Results: SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pull_requests_origin_web_console/873/) (Base Commit: 6010439)

@openshift-bot openshift-bot merged commit 664a247 into openshift:master Dec 19, 2016
@spadgett spadgett deleted the weight-slider branch December 20, 2016 16:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants