[Patternfly] Patternfly SASS and ReactJS support

Vojtech Szocs vszocs at redhat.com
Wed Jun 1 17:40:59 UTC 2016


Hi everyone,

the react-patternfly project on GitHub [1] was initiated by Jirka Tomasek
as a way to share common PatternFly components for use with React library.

[1] https://github.com/jtomasek/react-patternfly

For now, it only contains data table component originally taken from the
rdo-director-ui [2], which seems to be now replaced by tripleo-ui [3].

[2] https://github.com/rdo-management/rdo-director-ui/tree/master/src/js/components/ui/tables
[3] https://github.com/openstack/tripleo-ui/tree/master/src/js/components/ui/tables

We're using React in oVirt (Dashboard). We basically implemented Angular
directives from angular-patternfly [4], which were needed for our project,
as React components.

[4] https://github.com/patternfly/angular-patternfly/

As soon as we have more time, we'd like to contribute React components
we've developed in oVirt into react-patternfly. I believe that diversity
is good for community, React is very popular these days, allowing people
to share/contribute React/PF components will have positive impact on the
overall PatternFly adoption.

>From technical standpoint, React is a library and Angular is a framework.
This means it should be possible to mix both if needed, e.g. an existing
project using Angular might adopt React for its widgets. There are some
nice projects to bridge gaps between the two, for example ngReact [5].

[5] https://github.com/ngReact/ngReact

Regards,
Vojtech


----- Original Message -----
> From: "Andres Galante" <agalante at redhat.com>
> To: "Jeffrey Phillips" <jephilli at redhat.com>
> Cc: "Greg Sheremeta" <gshereme at redhat.com>, "patternfly" <patternfly at redhat.com>, "Vojtech Szocs"
> <vszocs at redhat.com>, "Alexander Wels" <awels at redhat.com>, "Kathryn Gough" <kgough at redhat.com>, "Oved Ourfali"
> <oourfali at redhat.com>
> Sent: Wednesday, May 25, 2016 1:52:34 AM
> Subject: Re: [Patternfly] Patternfly SASS and ReactJS support
> 
> Hi kathryn, here is the supported sass version of patternfly:
> 
> https://github.com/patternfly/patternfly-sass
> 
> I agree with Brian, we should think of a way to support different
> frameworks. How can we do it?
> 
> Thanks
> 
> Andres
> 
> On Tuesday, 24 May 2016, Jeffrey Phillips <jephilli at redhat.com> wrote:
> 
> > There is also  https://github.com/jtomasek/react-patternfly .
> >
> > Jeff
> >
> >
> > On May 24, 2016, at 7:15 PM, Greg Sheremeta <gshereme at redhat.com
> > <javascript:_e(%7B%7D,'cvml','gshereme at redhat.com');>> wrote:
> >
> > Also, we have some preliminary work here: [1] [2]
> >
> > These are components for a dashboard we've built. Seems like we have a
> > good starting point for a react-patternfly project.
> >
> > Greg
> >
> > [1]
> > https://gerrit.ovirt.org/gitweb?p=ovirt-engine-dashboard.git;a=tree;f=src/components/patternfly
> > [2]
> > https://gerrit.ovirt.org/gitweb?p=ovirt-engine-dashboard.git;a=tree;f=src/components/bootstrap
> >
> >
> > On Tue, May 24, 2016 at 7:00 PM, Greg Sheremeta <gshereme at redhat.com
> > <javascript:_e(%7B%7D,'cvml','gshereme at redhat.com');>> wrote:
> >
> >> Re: React, it's early to say, but we're using both React and PatternFly
> >> in oVirt, and I could see us making a react-patternfly library soon. Let's
> >> keep in touch on that :)
> >>
> >> Best wishes,
> >> Greg
> >>
> >> On Tue, May 24, 2016 at 6:25 PM, Kathryn Gough <kgough at redhat.com
> >> <javascript:_e(%7B%7D,'cvml','kgough at redhat.com');>> wrote:
> >>
> >>> Hello
> >>>
> >>> I'm a member of the Zanata translation project with Red Hat and am
> >>> interested in using the Patternfly framework, particularly the SASS port.
> >>>
> >>>
> >>> Do you officially support SASS? Also, are there any future plans to
> >>> integrate with ReactJS?
> >>>
> >>> Kindest regards,
> >>>
> >>> Kathryn
> >>>
> >>> --
> >>> [image: photo]
> >>> Kathryn Gough
> >>> Web Developer
> >>> G11n (Globalisation)
> >>> Red Hat, Inc
> >>>
> >>> 61 7 3514  7119 // au.redhat.com  <http://redhat.com/>//
> >>> kgough at redhat.com  <http://jdavila@redhat.com/>// Brisbane, AU
> >>>
> >>>
> >>>
> >>> _______________________________________________
> >>> Patternfly mailing list
> >>> Patternfly at redhat.com
> >>> <javascript:_e(%7B%7D,'cvml','Patternfly at redhat.com');>
> >>> https://www.redhat.com/mailman/listinfo/patternfly
> >>>
> >>>
> >>
> >>
> >> --
> >> Greg Sheremeta, MBA
> >> Red Hat, Inc.
> >> Sr. Software Engineer
> >> gshereme at redhat.com <javascript:_e(%7B%7D,'cvml','gshereme at redhat.com');>
> >> 919-741-4016
> >>
> >
> >
> >
> > --
> > Greg Sheremeta, MBA
> > Red Hat, Inc.
> > Sr. Software Engineer
> > gshereme at redhat.com <javascript:_e(%7B%7D,'cvml','gshereme at redhat.com');>
> > 919-741-4016
> > _______________________________________________
> > Patternfly mailing list
> > Patternfly at redhat.com
> > <javascript:_e(%7B%7D,'cvml','Patternfly at redhat.com');>
> > https://www.redhat.com/mailman/listinfo/patternfly
> >
> >
> >
> 




More information about the PatternFly mailing list