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 <[email protected]> wrote: > On Wed, Feb 22, 2017 at 9:43 AM, Alexandre Briani Kieling > <[email protected]> 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 <[email protected]> > 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 > >> <[email protected]> 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 <[email protected]> > >>> 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 > >>>> <[email protected]> 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 > >>>>> [email protected] > >>>>> https://www.redhat.com/mailman/listinfo/patternfly-angular > >>>>> > >>>> > >>> > >>> > >>> > >>> -- > >>> Alexandre Kieling > >>> Senior Software Engineer > >>> Red Hat, Inc. | JBoss Middleware > >>> > >>> _______________________________________________ > >>> Patternfly-angular mailing list > >>> [email protected] > >>> https://www.redhat.com/mailman/listinfo/patternfly-angular > >>> > >> > >> > >> > >> -- > >> Matt Carrano > >> Sr. Interaction Designer > >> Red Hat, Inc. > >> [email protected] > > > > > > > > > > -- > > Alexandre Kieling > > Senior Software Engineer > > Red Hat, Inc. | JBoss Middleware > > > > _______________________________________________ > > Patternfly mailing list > > [email protected] > > https://www.redhat.com/mailman/listinfo/patternfly > > > > _______________________________________________ > Patternfly-angular mailing list > [email protected] > https://www.redhat.com/mailman/listinfo/patternfly-angular >
_______________________________________________ Patternfly mailing list [email protected] https://www.redhat.com/mailman/listinfo/patternfly
