Solara text logging window on page.
Hello, I would like to know if it is possible to place a text log with scrolling on the page of my application? Is there a ready-made component?
Delay recomputation of components until "stable"
Hey,
is there a way to postpone the recompotation of a (or all) components until the system is stable?
If I change multiple reactive variables after clicking a button, a component using these reactive variables may be rebuild multiple times. I.e. the component seems to be rebuild instantly when calling
reactive_variable.set()
, even if the calling method has not been fully run yet. If the recomputation takes some time (e.g. because a matplotlib-plot is created), the performance drops significantly due to creating interim stages of the component.
...Tabs in Sidebar
Is there a way to place Tabs inside a Sidebar? For example — you click on a tab in the sidebar, and the main column loads the content (outside the sidebar).
ToggleButtonsSingle: child Button value overridden by its Tooltip
Either there is something I'm missing in the documentation, or the value set by ToggleButtonsSingle is not one of the tool-tipped child Buttons, but instead its Tooltip's.
Please have a look at that simple example (33 lines) on pycafe: https://py.cafe/snippet/solara/v1?#c=H4sIABPnVWgEA7VTUUvDMBD-KyG-VFiLCr4UCqLPgujwZRkSm1sXTJOapi1l7L97WVLncNuT3kND7vvuy93XZENLI4DmVNaNsY60RnHLmWa6lzCQIiYyC7x0soeEUSVbx-il59xFtDRYrUE7pgWsyMO0TWzPLcknkecosmidXV7mXoFgDNKtJ8rcVJWC-845o9sXqXGTBJaPnqsOCi86C8kL_zH6LQCK1--CEw1DSOTEU7MWXPKdw759jT_drxiHxxvlZINTvvrxS24Fjrrn7iJyQ5M_uptCltiR5jUUjNZCpt7JtLJSpKZzSmpgdEZ-l4UZGA2HHmN44WJuOzgGRm1xkiBAt7BDD7HoCMYZJ-JP_wsngtSxDicHTjP-zYEzt_mJV5BMk--vtp8lWhfrHrn9EGbQyYpRj-Zk45ct-sY0nVELn520UGN1iy8uVO0QNzb-DYYM7pvRrY3GTDMaIQWk_VV2c5tdI6T4iHPSXHdKzehKKkCtxXL7BSSVSZXJAwAA
Comment out the Tooltips to see the expected behavior.
...
Thread safety in Solara when DB is involved
I'm building a Solara app where some operations act on the local DB. For example (and where I'm running into issues), a user can upload a file (via
solara.FileDrop
). On upload, I create a DB entry from the content of the file. The UI should refresh and show the name of the file in some other place. The issue is that FileDrop
handles on_file
on a separate thread. When the UI refreshes and tries to access the DB entry, I get session errors. Has anyone had experience with this?Webhooks
Hi 👋 ,
I saw this great example by @MaartenBreddels to add webhooks:
https://github.com/widgetti/solara/issues/841#issuecomment-2539033646
It works like a charm.
However, I wanted to send a code as such:...
Chatbox vertical size
Hi, I (or rather Cursor) am struggling to make chatbox stay on the window. The user input box goes partially below the screen botton and I need to scroll to get there. My application would work better if the chat box would be restricted to a card or column with a fixed height. Is there a simple way to achieve this?
File upload on click
Hi.
Is there a way to upload a file via button click in a classic way and not only drag and drop?...
problem displaying image
Hi all, I'm trying to display an image in my solara app based on a dropdown selection, but the app only displays an image icon and not the actual image, I hope you guys can help me out
import solara
import os
import urllib.parse...

I'd like to find out if the the shift key is down when I click the mouse on a solara button.
This should not be hard. I should not have to write a bunch of javascript to get this to work from solara. It is very basic. What is going on with our software frameworks where it is so hard to find out if a key is down?
"Loading app" spinner
Hi,
Is it possible to customize or remove the main spinner when the app loads and it displays "Loading app" with the spinner? Also, is it possible to customize the small spinner in app?
Thanks!...
Can't get nglview to work with Solara server - works in Jupyter
Hi All,
I'm trying to get the nglview library working in Solara server. The following code works in Jupyter, but displays an empty box using
solara run
```python
import nglview
import solara...Integrating a larger Vue application with Solara
We have a large vite + vue 3.5 composition + primevui/tailwind project we'd like to integrate with the Jupyter ecosystem. The solara docs are great at showing one-off vue sfc integration, but it's not clear how we would "package" a node-bundled, full-fledged application reactilely within a solara app. Is this something potentially supportable?
Ideally, we could wrap SFCs as needed from our larger application in
component_vue
, passing props as needed. Deps could be inferred from node_modules
+ other local files, transpiled to be cdn-based, or something else...Word wrap issue in Solara.Tab
hi! i'm fairly new to Solara and encountered this problem. is there a way to disable this word wrap feature? i want the text to maximize the horizontal space. i'm using
solara.Markdown
for the text. hoping someone can help! thanks!
Does Solara support Markdown tables?
I'm trying to generate a Markdown table as part of my user guide. Other content gets rendered OK, but it looks like solara.Markdown does not recognize the table at all?
| one | two | three |
|---|---|---|
| one | two | three |
Am I missing something here?...
Anyone home?
Is anyone listening here? Is there an active Solara community or not? If there is one, is this the place to find it?
Can a Solara app listen for a keypress?
Can a Solara app listen for a keypress? I'd like to make a keyboard shortcut for a toggle button
Scrollable, updatable text (log file monitor) widget.
I wish there was a way in Solara to create a multi-line text output box widget where my code could append messages to it and it would autoscroll to the bottom (latest appended message) but keep a long history which I can scroll back through and look at.
For instance for monitoring a log file while an application is running in the background.
Has anybody written such a thing?...