[Patternfly] [Patternfly-angular] 'Copy to clipboard' component

Leslie Hinson lhinson at redhat.com
Tue Feb 28 11:53:24 UTC 2017


Yes, thanks you Robb. We can re-use what is done in patternfly-org for
PatternFly if we want. Let me do some investigation into whether or not
this is currently a common requirement and go from there.

I'll loop back around.

Thanks!
Leslie

On Wed, Feb 22, 2017 at 9:47 AM, Robb Hamilton <rhamilto at redhat.com> wrote:

> On Wed, Feb 22, 2017 at 9:43 AM, Alexandre Briani Kieling
> <abrianik at redhat.com> wrote:
> > The usual use case would be copying some text visible on the page
> (either in
> > a text box or not) and pasting it somewhere else, usually in another app.
> > Some examples: an URL, a console command, a snippet of code, etc. From
> an UI
> > point of view, it's just a button.
> > This library looks good: https://sachinchoolur.github.io/ngclipboard/
>
> the plain javascript version of this utility is employed on
> patternfly.org and in openshift web console.  the only “issue” we’ve
> seen with it is lack of mobile safari support; in this case, we hide
> the copy button.
>
> >
> >
> > On Wed, Feb 22, 2017 at 11:28 AM, Matt Carrano <mcarrano at redhat.com>
> wrote:
> >>
> >> Hi Alexandre,
> >>
> >> Thanks for bringing this up.  But just a couple of questions.  What
> would
> >> be the common use case for this?  Is this intended just to enable cut,
> copy,
> >> and paste from text fields on forms and similar places?  How does it
> >> interact with native browser copy and paste functionality?
> >>
> >> I've added the main PatternFly mailing list on the cc in case others
> want
> >> to comment.  I suspect that the patternfly-angular list has a smaller
> >> audience.
> >>
> >> Regards,
> >>
> >> Matt
> >>
> >> On Tue, Feb 21, 2017 at 8:19 PM, Alexandre Briani Kieling
> >> <abrianik at redhat.com> wrote:
> >>>
> >>> Hi Leslie,
> >>>
> >>> There are open-source libraries to add the 'Copy to clipboard'
> >>> functionality to Angular apps. I think it might make sense to add a
> >>> component to angular-patternfly if several users/contributors need such
> >>> component, already depend on angular-patternfly, and prefer to
> abstract the
> >>> implementation behind an AngularJS component.
> >>>
> >>> I didn't get many responses so it might not be a very useful component.
> >>>
> >>> Thanks for getting in touch.
> >>>
> >>> Alexandre
> >>>
> >>>
> >>>
> >>> On Tue, Feb 21, 2017 at 9:07 PM, Leslie Hinson <lhinson at redhat.com>
> >>> wrote:
> >>>>
> >>>> Hey Alexandre,
> >>>>
> >>>> Thanks for reaching out! Are you interested in contributing this? If
> so,
> >>>> what exactly did you have in mind? Does this include contributing the
> icon?
> >>>> What mechanism were you thinking for the impl?
> >>>>
> >>>> Look forward to chatting more,
> >>>> Leslie
> >>>>
> >>>> On Mon, Feb 6, 2017 at 11:59 AM, Alexandre Briani Kieling
> >>>> <abrianik at redhat.com> wrote:
> >>>>>
> >>>>> Hi all,
> >>>>>
> >>>>> I was wondering if it makes sense to add a 'Copy to clipboard'
> >>>>> component to the project.
> >>>>> What do you guys think?
> >>>>>
> >>>>> Best regards,
> >>>>> Alexandre Kieling
> >>>>>
> >>>>> _______________________________________________
> >>>>> Patternfly-angular mailing list
> >>>>> Patternfly-angular at redhat.com
> >>>>> https://www.redhat.com/mailman/listinfo/patternfly-angular
> >>>>>
> >>>>
> >>>
> >>>
> >>>
> >>> --
> >>> Alexandre Kieling
> >>> Senior Software Engineer
> >>> Red Hat, Inc. | JBoss Middleware
> >>>
> >>> _______________________________________________
> >>> Patternfly-angular mailing list
> >>> Patternfly-angular at redhat.com
> >>> https://www.redhat.com/mailman/listinfo/patternfly-angular
> >>>
> >>
> >>
> >>
> >> --
> >> Matt Carrano
> >> Sr. Interaction Designer
> >> Red Hat, Inc.
> >> mcarrano at redhat.com
> >
> >
> >
> >
> > --
> > Alexandre Kieling
> > Senior Software Engineer
> > Red Hat, Inc. | JBoss Middleware
> >
> > _______________________________________________
> > Patternfly mailing list
> > Patternfly at redhat.com
> > https://www.redhat.com/mailman/listinfo/patternfly
> >
>
> _______________________________________________
> Patternfly-angular mailing list
> Patternfly-angular at redhat.com
> https://www.redhat.com/mailman/listinfo/patternfly-angular
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/patternfly/attachments/20170228/9867003a/attachment.htm>


More information about the PatternFly mailing list