Okay, if I continue to move forward with this plugin, maybe i'll make a PR that allows you to skip loading the libraries (an attribute for the layout tag). For now, for the POC, skipping layout is fine.
On Sun, May 26, 2019 at 1:33 PM Ullrich Hafner <[email protected]> wrote: > I don’t think that this is feasible. While prototype (especially the > totally ancient version we are using) is breaking a lot of modern JS libs > (chartJS, jQuery, BS, etc.) it is somewhat coupled with almost every UI > thing in Jenkins. I tried to update it to the latest version, but needed to > revert the change since it broke some features (see [1] and [2]). And since > we have no UI tests for those features it looks like an impossible task. > > In order to get a better look and feel for my plugins I patched the > predefined layout as well. This does not help with prototype, but at least > it helps to get rid of several other old JS libs in Jenkins (YUI, old BS, > old jQuery). Here we have a similar problem, updating those JS libs in > Jenkins might break a lot of plugins (and core features) that have a poor > UI test coverage. > > [1] https://issues.jenkins-ci.org/browse/JENKINS-49319 > [2] https://github.com/jenkinsci/jenkins/pull/3277 > > > > Am 26.05.2019 um 19:28 schrieb 'Gavin Mogan' via Jenkins Developers < > [email protected]>: > > I'm slowly working on my proof of concept graphql server for jenkins but > ran into trouble including the development console. > > As per https://github.com/prisma/graphql-playground/issues/1008 it looks > like prototype and graphql are not playing nice. > > Is there a way to get the full layout (breadcrumbs, logo, etc) without > prototype js? Since this would be a debugging tool I am okay not using > layout, but I am curious. > > Gavin > > -- > You received this message because you are subscribed to the Google Groups > "Jenkins Developers" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-dev/c73bbec2-7cc6-4953-abd6-c0c99d1176a6%40googlegroups.com > <https://groups.google.com/d/msgid/jenkinsci-dev/c73bbec2-7cc6-4953-abd6-c0c99d1176a6%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > > > -- > You received this message because you are subscribed to a topic in the > Google Groups "Jenkins Developers" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/jenkinsci-dev/9tqYVYMWAcA/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-dev/7E148FDF-4A23-4D31-A1F8-6FD014611759%40gmail.com > <https://groups.google.com/d/msgid/jenkinsci-dev/7E148FDF-4A23-4D31-A1F8-6FD014611759%40gmail.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Jenkins Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/CAG%3D_DuuDxJ_CMwoCPeqcg2uD-nCuuaQ_w0heHQvxt3ersD4moA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
