Troubleshooting ipydatagrid
Hi team! Does anyone can help in understanding how to troubleshoot ipydatagrid? I'm working in docker containers on a laptop with a 'prod' environment on a singleboard computer. No problem when running on a laptop, but on a singleboard I get javascript errors when adding a minimal ipydatagrid.
my code: dg = DataGrid.element( dataframe=pd.DataFrame(),...
chatbox child doesn't refresh
I use the same component , but in chatbox the component didn't countdown, how can I plus a countdown buttons for each individual message in chatbox?
Run JS script
In my application I use solara as an iframe and sometimes I need to send information to the front. I need send info after clicking the buttons. I have several buttons after some of them work, it is necessary for an alert message or a base64 image to be sent to the front.
My sending function looks like this:
```python
def sendMessageToFront(msg):...
Any API or method to know when the app is fetching data?
Hey everyone, I was wondering if there is a way to determine when the app is loading or retrieving data? Specifically, when the NProgress is showing on the top of page?
I would like to implement skeletons that show up when some of the dropdowns we have on the page change
Thanks in advance...
Theme support for extended colours and named colour in theme reference
Instead of copying-and-pasting the entire question, here's the reference to the discussion I started on GitHub.
https://github.com/widgetti/solara/discussions/646...
Issue. MismatchingStateError with Auth0 in Solara Auth Sample on AWS EC2
Hello,
I'm experiencing a persistent MismatchingStateError with the "Solara authentication sample" from your web using my custom Auth0 credentials on an Amazon Linux AWS EC2 instance.
I'm using the "Solara authentication sample" on this page: https://solara.dev/documentation/advanced/enterprise/oauth...
Reusing ipywidget composite UI in solara
I am trying to reuse some ipywidget UI components with minimal rewrite in a new solara dashboard. I noticed that using a
display
function, and I am not sure where it is from since there is no explicit import. A prior question uses this in https://discord.com/channels/1106593685241614489/1232310547794628649. I used it to reuse displaying an ipyleaflet Map, with success, working by inference from another example https://huggingface.co/spaces/FranciscoGS/solara-geospatialDashboard/blob/main/pages/Servicios_apoyo.py#L106
.
I am now trying to apply the same recipe to display a list of ipywidget Datetime pickers and FloatSliders:
```python...Issue with Event Handling in Solara Integration with Auth0 on Inactivity
Hi everyone, I am currently testing Solara with Auth0 authentication and things have been going smoothly for the most part. However, I've noticed an intermittent issue where, if the application window is left open for an extended period, the event handling seems to stop functioning as if the connection has been severed. I may be wrong in assuming this issue is related to Auth0, but from a user's perspective, it appears as though everything is still operational when it is not. I would prefer the Auth0 session being explicity closed. Perhaps I'm dealing with two different topics here...
Anyway, I am wondering if there's a way to "automatically" close the Auth0 connection after a certain period of inactivity, which I would like to define specifically, say 30 minutes, and then prompt the user to re-enter their credentials. Is this possible? Any guidance or suggestions on how to implement this would be greatly appreciated. Thank you!...
anaconda prompt launching py files error
I've complete my first solara page in jupyter notebook , and I pasted the code to a py files ,run this with solara run filename.py and the error happened. What I should do to review a fullscreen page? notebook only a little box for the page.
Common object across pages
I was wondering, what is a good way to share a common object across multiple pages, organized in separate files.
I would like to initialize a heavy object once, then use in several pages within the application. If I keep pages (solara components) in a single file, that works fine. However, I would like to keep things tidy and organize each page in a separate file. I can't quite figure out how to access the common object.
Here is what I mean:...
Initializing function.
Please help me make an initializing function.
I'm using the solara.use_router().search function to get a data. For example, I use this data as values in solara.Select.
I have a problem that after changing the value in select and clicking the button, the value returns to the one I set during initialization....
installation problem, outdated version solara-ui
poetry add solara
Using version ^1.32.0 for solara
Updating dependencies
Resolving dependencies... (0.1s)...
Server route
I need to somehow change the state depending on the behavior of the external service, I think I need some server route to accept the data, what is the best way to do it?
ipyaggrid memory leak
Hi, I have an app that uses a few sizeable
ipyaggrid
grids (one per tab) that are leading to memory leaks (when I replace them with solara.Dataframe
's for example, then there is no leak). I am using a AgGrid
component with a cleanup
function, along the lines below, and it seems to be improving things but wanted to know if there is a better approach, on either python and JS side (using js_post_grid
) ?
```
import ipyaggrid...Extract the value from an ipywidget
Hi all! I want to extract the value from an ipywidget but the values between the Solara app and the ipywidget do not coincide (I need to keep pressing the slider for a long time before they both agree). Here is the code I have:
```python
import solara
import ipywidgets as widgets
...
Quarto Solara compatibility
I'm writing a tutorial to build LLM chat apps with Solara: https://alonsosilvaallende.github.io/blog/posts/2024-04-11-Build_a_basic_LLM_chat_app_with_Solara.html
In my blog, I use Quarto, however there is some compatibility which might be simple or difficult to solve (I don't know).
I expect the cells output of jupyter notebooks to appear directly in Quarto (see for example the first two cells in this blog entry): https://alonsosilvaallende.github.io/blog/posts/2024-04-18-Quarto-Solara-Test.html
However, the cells of Solara components don't appear directly in Quarto (see for example the third cell):
https://alonsosilvaallende.github.io/blog/posts/2024-04-18-Quarto-Solara-Test.html...
PermissionError for nbextensions on startup with v1.29+
hi all, i've been trying out solara for the past month or so. i was using v1.28 with no issues. today i tried upgrading and i've been having trouble getting things running on any higher version.
i know that there were significant changes to the packaging starting with v1.31, but at this point i can't even upgrade to v1.29. i'm getting a
PermissionError
on startup:
```...Image Select
Hi all. Can you help me. I'm trying to make an image selector, like the one made here by https://github.com/jrieke/streamlit-image-select for streamlit. I tried to do this using ToggleButtonsSingle, it worked for me, but all the buttons with pictures end up in one line, and I can have a lot of pictures, I tried to add GridFixed, but now everything crashes because it can’t find the value correctly.
Remove the "Powered by Solara" Tag for production deployment?
Hey all! Knew to Solara and loving the package so far!
I'm curious if it is possible to remove the "Powered by Solara" tag that appears in the bottom right corner of the app? Potentially looking to deploy solara apps for clients in their environments where it would be innapropriate to habe this tag.
Thanks!...