Custom javascript for warnings-ng plugin extensions

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Custom javascript for warnings-ng plugin extensions

Abramo Bagnara

I'm writing a plugin that extends DetailTableModel to present issues for a specific tool in custom way.

Everything works as expected, but I have not yet found a way to add some javascript to extend the functionality of issue table.

What is the preferred way to do that?




--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/72877d6f-8915-4358-a07c-ca1ee2db7c5co%40googlegroups.com.
Reply | Threaded
Open this post in threaded view
|

Re: Custom javascript for warnings-ng plugin extensions

Ulli Hafner
>
>
> I'm writing a plugin that extends DetailTableModel to present issues for a specific tool in custom way.
>
> Everything works as expected, but I have not yet found a way to add some javascript to extend the functionality of issue table.
>
> What is the preferred way to do that?

There is no extension possibility available right now. What exactly do you want to add? Maybe it is something useful for others as well?

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/8BC95B01-9498-4ED5-B613-2D8F1EF45407%40gmail.com.
Reply | Threaded
Open this post in threaded view
|

Re: Custom javascript for warnings-ng plugin extensions

Abramo Bagnara
Il 13/07/20 16:42, Ullrich Hafner ha scritto:
>>
>>
>> I'm writing a plugin that extends DetailTableModel to present issues for a specific tool in custom way.
>>
>> Everything works as expected, but I have not yet found a way to add some javascript to extend the functionality of issue table.
>>
>> What is the preferred way to do that?
>
> There is no extension possibility available right now. What exactly do you want to add? Maybe it is something useful for others as well?

In general I think it is rather useful to add arbitrary javascript
functionality to issue pages from warnings-ng modules.

In my case I want to show some iframe popup showing details available in
an external server.

Of course I can use PageDecorator to load some javascript for *every*
page, but I'd have preferred to avoid such extreme measure.

--
Abramo Bagnara

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/190f2d5f-25f4-1b17-e081-dbd4788ce22f%40gmail.com.