Solara

S

Solara

Join the community to ask questions about Solara and get answers from other members.

Join

questions-issues

general

announcements

Having some issues with children in routing

Hi, I can't get children to work. I have a small example here https://github.com/jy247/solara_experiment I'm using routes that look like these....

air-gapped installation issue

Hi, I have installed Solara in my new workplace and was held up for a while by missing Javascript dependancies due to restricted internet access. After a while I found this question and nearly solved the problem. https://github.com/widgetti/solara/discussions/116 ...

How would one go to create a fully "responsive" application?

So I like Solara. However, there are some things that I find kind of weird. Specially coming from the flutter world. I want to recreate an app that respects the aspect ration of various texts and images, and add new columns as the width of the app increases. I'm finding it difficult to do it. For example, most of the apps use pixels to define the behavior of the sidebar. That is not helpful if you don't know the size of the screen of the user. Does anyone know a set of best practices for creating a reactive app with solara?...

Is there any way to download solara ui into PDF

Is there any way to download the entire ui in the webapp. Here I'm trying to build a ui which is generating plots for the test that is entered to solara ui....

How does solara determine when to rerender a widget?

I'm building a slightly more complex flow, and a widget I'm using doesn't refresh when I change a reactive variable it depends on. I have to manipulate the UI a bit for it to rerender. I'm not sure why this is happening. The relevant things to note are that I'm passing in the reactive state, and the widget only renders it. The state is a list of objects. For state ownership I tried a frozen dataclass + reducer, like in the calculator demo, and having the parent create state with use_reactive, and then pass it in to the child widget. Both result in the same behavior. Where can I read up on how this works? Is there a way to debug the widget's rendering dependencies?...

TextAreaButton

How easy implement TextAreaButton like in bokeh? I mean not single line text input, but multiple lines?
No description

Default Modal Approach

What's your default approach to functional modals? For example I have a client master data card that shows the various addresses of a client. Now I want the "Edit" event (e.g. click on an icon or the address in question) to launch a modal (aka pop-up) for me to edit that one address and close it using a "save" or "cancel" event. Which patterns or components are you using to do that. Is there an example you might have in store?...

Component callback behavior

Is it expected for components to trigger the callback function on initial load?

Secrets file

Is there something similar to Streamlit secrets file to manage sensetive data?

Plots not rendering

I'm experimenting with basic plots such as: https://github.com/widgetti/solara/blob/master/solara/website/pages/api/plotly.py I'm running solara on clean conda env (python 3.11). Solara and other necessary packages installed. I have M2-chip Mac. And solara==1.24.0 does not render anything so I'm using 1.23.0....

download ui content in pdf

Using solara I build a web app where the user trying to analyze the data. User give a query it will give plot as output. At the end I want entire ui as a pdf. Is there any api that can used to download entire ui into a pdf file...

Banner in the footer

Hi, is it mandatory to show the banner in the footer "This website runs on Solara"?

Solara Sidebar

Is it possible with Solara use the sidebar to switch between pages?

Upgrading to Jupyterlab 4.

Is there a plan to upgrade to jupyterlab 4? I think its IpyVuetify that is pinning jupyterlab 3. I am happy to try to open a pull request if needed.

Indexing post

We are enabling indexing of this channel, so that you can also find answers posted here on google.