Background: As apart of an application I do have links being displayed that one can click on to go to external pages (to the voila page), however in an attempt to make it a bit more presentable I wanted to see if I could just make some of the links into buttons.
I am attempting to create a widget button that will open a url.
This is run on a remote system (jupyterlab on a remote server) not local, as such using webbrowser.open will not work.
If I just run this on the remote system it works:
Then the new window opens fine.
When I wrap this in a button, it does not work:
When I click on the button, I ust get an entry in the jupyterlab log window saying:
I am not sure how to reason through why this is happening, any ideas of why and what a solution could be?