You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i love the features of easy deployment when working on docker. Howevery every time some GUI parts are involved, alot of ease of use is gone as i need to make sure a X Server is setup and running correctly on the host.
A Webapp would be way easyer to interact with, as nearly every host has a webbrowser.
I would like to reach one of these to goals and am looking for assistance to achive them.
Right now i use NiceGui to buid my dashboards. I would love to have an easy way to integrate the Tree Viewer inside the NiceGUI website.
As it might be easier to achive. I would like to run a node that automaticly hosts a website under localhost:1234 which i can open and interact with the viewer as in the gui version.
It would help me alot if someone could give me some recomendations or advice on how to achive this.
The text was updated successfully, but these errors were encountered:
Right now i use NiceGui to buid my dashboards. I would love to have an easy way to integrate the Tree Viewer inside the NiceGUI website.
I'm no expert on web things, but ... some ideas:
You'll need something like QWebEngineView in which you can insert the app that includes the javascript application (e.g. see index.html)
For quick testing - write some python code in your main around NiceGui to send the app some test tree data (that's what I did in the pyqt demo). QWebEngineView has some mechanism for interacting with the app inside it from the python main. NiceGui might or might not have this capability. If not, that's ok. Just proceed to step 3.
Get yoru nicegui app to interact with an external tree. Either drop websockets in your app that your external tree can communicate with or setup python communications of some sort in your python main (this would then redirect the comms to the internal js app).
If that's all possible with NiceGui, it'd be nice to upgrade the reference demo here. It'd have no reliance then on having an X server (or equivalent) in the environment.
Hallo
i love the features of easy deployment when working on docker. Howevery every time some GUI parts are involved, alot of ease of use is gone as i need to make sure a X Server is setup and running correctly on the host.
A Webapp would be way easyer to interact with, as nearly every host has a webbrowser.
Sadly i have only very limited knowledge in this part. I tried to follow the instructions here: https://github.com/splintered-reality/py_trees_js#usage
But could not make it work.
I would like to reach one of these to goals and am looking for assistance to achive them.
It would help me alot if someone could give me some recomendations or advice on how to achive this.
The text was updated successfully, but these errors were encountered: