MaartenBreddels
MaartenBreddels
SSolara
Created by SeoulSKY on 1/30/2025 in #questions-issues
How to add an event listener to reacton.ipyvuetify.FileInput?
Yes, that is a bit tricker, that's why we build https://github.com/widgetti/ipyvuetify/blob/master/ipyvuetify/extra/file_input.py Also, the solara filedrop is built on top of this idea. Does this help you?
4 replies
SSolara
Created by artursp. on 2/3/2025 in #questions-issues
go.Scatter selection randomly not triggering
I've turned it into a pycafe example: https://py.cafe/maartenbreddels/solara-plotly-lasso-bug And yes, it sometimes just dosn't work, and when it starts working, it continues to work for me. I also had to use plotly < 6 for it to work. Newer plotly is using anywidget, maybe that implementation is more robust? Could you try if you can get that working?
6 replies
SSolara
Created by pnjun on 2/10/2025 in #questions-issues
multipage jupyter dashboard
Good question, and not super trivial to implement. I've hacked around a bit. I think this topic is better discussed at Github, do you want to open an issue there?
2 replies
SSolara
Created by Jovan on 1/26/2025 in #questions-issues
Solara server disconnect - settings
No, the discconnect happens because the server restarts, in general it should not happen. Does it happen in your case? I think you are talking about https://github.com/widgetti/solara/blob/ea64ba9e9e00314d27e64dc11b6ce618520f9d9e/solara/server/templates/solara.html.j2#L75 right? Althoug it is possible to override the template (see e.g. https://github.com/widgetti/solara/blob/master/solara/website/templates/index.html.j2 ) this might break future versions. But you could consider copy-pasting our jinja template and modifying it to your needs.
5 replies
SSolara
Created by MaartenBreddels on 1/23/2025 in #general
Session life
I think I need a bit more context, because I usually don't see this situation
4 replies
SSolara
Created by MaartenBreddels on 1/23/2025 in #general
Session life
yes, but how does that function execute outside of the virtual kernel. Is this a thread running?
4 replies
SSolara
Created by dguerrero on 1/10/2025 in #general
Problem with fontawesome
and not changing the cdn
11 replies
SSolara
Created by dguerrero on 1/10/2025 in #general
Problem with fontawesome
What about using solara.server.settings.assets.fontawesome_path = "/@fortawesome/[email protected]/css/all.min.css" ?
11 replies
SSolara
Created by dguerrero on 1/10/2025 in #general
Problem with fontawesome
Ah, because some files were in the CDN cache dir.. if I use SOLARA_ASSETS_PROXY=False I also have an issue
11 replies
SSolara
Created by dguerrero on 1/10/2025 in #general
Problem with fontawesome
this works for me
11 replies
SSolara
Created by dguerrero on 1/10/2025 in #general
Problem with fontawesome
Like the full script, and what you run on the command line, and the ENV vars you set
11 replies
SSolara
Created by dguerrero on 1/10/2025 in #general
Problem with fontawesome
Sorry, I don't fully understand the problem. Can you give me clear instructions so I can reproduce this?
11 replies
SSolara
Created by guillaume buffry on 1/9/2025 in #questions-issues
combining custom routes and custom layout
You almost had it 🙂 I turned it into a nice example: https://py.cafe/maartenbreddels/solara-navigation-example on PyCafe
2 replies
SSolara
Created by Ahmed Moubtahij on 1/1/2025 in #questions-issues
Clearing a component
Yeah, it will clear up if you do not display it, so using a boolean is the right idea! Hope that helps
4 replies
SSolara
Created by Jovan on 12/29/2024 in #questions-issues
Vue plugins & packages with solara
https://github.com/widgetti/solara/pull/847 should answer most of your questions, if not, please comment on that PR
4 replies