[Patternfly] Slider element

Leslie Hinson lhinson at redhat.com
Mon Mar 14 13:00:05 UTC 2016


Hey Andreas,

Definitely interested in pulling into PF. I've created an epic so we have
this in our backlog. See:
https://patternfly.atlassian.net/browse/PTNFLY-1281

Thanks!
Leslie

On Fri, Mar 4, 2016 at 2:02 PM, Matt Carrano <mcarrano at redhat.com> wrote:

> Agree that this is something to add to the PatternFly backlog.  I'm
> working on the USM Storage project and we specified a similar interaction
> for sizing pools.  I suspect there are other use cases where this type of
> interaction is needed.
>
> Regards,
>
> Matt
>
> On Fri, Mar 4, 2016 at 1:29 PM, Andreas Nilsson <anilsson at redhat.com>
> wrote:
>
>> Hi!
>> Long story short, setting up a storage pool in Cockpit wasn't optimal in
>> the past. It's far from perfect now, but we've managed to improve one micro
>> interaction of it:
>> In the past we had a input field where you just wrote numbers, so about
>> as nice to use as fdisk from the cli, and then you might as well use fdisk
>> from the cli :)
>> This is the original bug report
>> https://github.com/cockpit-project/cockpit/issues/1116
>>
>> With a upcoming fix, you'll be able to use slider, but there was no
>> existing slider in Patternfly, so we made a custom one.
>> It's mostly just ~80 lines of CSS and a little bit of javascript for the
>> logic.
>>
>> This is the pull request that implements this:
>> https://github.com/cockpit-project/cockpit/pull/3876/
>>
>> This is how it looks in action:
>>
>> https://cloud.githubusercontent.com/assets/209895/13535654/a410e560-e23b-11e5-9fa3-fad54d959aff.png
>>
>> Is this something that would be interesting to have for others? Is there
>> anything you would change?
>> I've filed an issue about in Patternfly here
>> https://github.com/patternfly/patternfly/issues/210
>> - Andreas
>>
>> _______________________________________________
>> Patternfly mailing list
>> Patternfly at redhat.com
>> https://www.redhat.com/mailman/listinfo/patternfly
>>
>
>
>
> --
> Matt Carrano
> Sr. Interaction Designer
> Red Hat, Inc.
> mcarrano at redhat.com
>
> _______________________________________________
> Patternfly mailing list
> Patternfly at redhat.com
> https://www.redhat.com/mailman/listinfo/patternfly
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/patternfly/attachments/20160314/28d96619/attachment.htm>


More information about the PatternFly mailing list