Solara

S

Solara

Discord for the Solara python package. NOT for the Roblox executor :)

Join

questions-issues

general

announcements

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).

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...
No description

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!
No description

Status of Solara 2.0 and 3.0?

I really like Solara and was wondering of the future upgrades?

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?...
Next