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?...
Load environmental variables
Hi, i specified path to .env file for solara to load my environmental variables config as follows: solara run --env-file .env main.py
my .env file contains: SOLARA_THEME_SHOW_BANNER=False
but as a result banner "This website runs on Solara" still exists
Setting environmental variable manually does hide the banner, but manually setting configs is not what i want. What am I doing wrong...
differentiating InputText keyup.enter and focusout
Hi. We have several dialog boxes with InputText that we'd like to have the following default behavior:
- upon "keyup.enter" : accept input
- upon "focusout" : discard input
I can't figure if InputText can allow this as
on_value
is event-agnostic, and there's only update_events
to restrict the call to this callback. Thus if update_events=["keyup.enter"] I lack a means to catch focusout......Message: App is disconnnected, and may not function properly. Please refresh the page.
Hello. I am running solara as blueprint in flask application. Flask contains some authorization and then redirects to the blueprint. I hav 4 workers, 20 threads, the app contains about 10 routes.
I get often after short time of inactivity the message from the subject (App i s disconnected ...)
Any idea, what could be wrong or what should be checked?
I use the code from https://solara.dev/documentation/getting_started/deploying/self-hosted#embedding-in-an-existing-fastapi-application , run the app as a service on a nonpriviledged port and redirect apache to that port. ...
InputDate with buttons
Hi there, I'm trying to replicate the "more advanced" example here: https://solara.dev/documentation/components/lab/input_date#a-more-advanced-example but with the
InputDate
component (so only one date). I want the menu to have a "Select" button (and maybe also a "Cancel" button) so that the value isn't automatically picked when the user clicks on a date.
I'm having issues getting it to work though. Even though I am passing the open_value
parameter (because I want to control when the menu closes), the menu closes whenever I click on a date. The example from the docs does work for me, though I don't understand how. (My guess is that it's because that example is using an InputDateRange
, but it does not allow the user to ever pick the second date because it's set automatically based on the stay_length
...?)
Here's my simple example (which does not work):...Making a logger per kernel/user
I'm looking to make a logger instance for each individual kernel/user.
How should I go about instantiating one and ensuring it's passed properly between different parts of the codebase?
My initial thought was:...
How to use SOLARA_ASSETS_EXTRA_LOCATIONS
Hey, I hope that you are doing well.
I tried to add a folder containing js assets by exporting the variable:
export SOLARA_ASSETS_EXTRA_LOCATIONS="/path/to/js/folder/"
.
My main issue is that when I watch the sources in my app, I cannot see the aforementionned folder within _solara/cdn/
...multipage jupyter dashboard
Is there a way to get a multipage app to work inside of a jupyter notebook? I mean, displaying the root component and then using
solara.Link()
to navigate inside jupyter?go.Scatter selection randomly not triggering
I'm using go.Scatter and its lasso selection to select points and further work with the returned indices.
However, this is unreliable. Most of the times the selection just doesn't do anything and I have to repeat it 1-5 times.
I think it gets more unreliable the bigger the total number of points is (but doesn't depend on the number of selected points).
I found this issue that might be connected, but couldn't translate it into a solution myself: https://github.com/zauberzeug/nicegui/issues/3762
...
How do i remove items from GridDraggable?
Trying to make adding and removing grid items possible. Already made the layouts reactive. adding and {item:layout} pair does create the new item, but removing the {item:layout} pair doesn't remove the item.
How to add an event listener to reacton.ipyvuetify.FileInput?
The following code correctly renders the FileInput component.
```python
import solara
from reacton import ipyvuetify as rv...
on_click with button_parent object
I have a generator create cards with object contained in them. Now i wish to connect a button inside the card to perform some action on the card elements.
how do i send the arguments with the function it is calling?...
Hiding appbar
Hi everyone,
Im trying to hide the appbar (the navigation between pages) when users are not logged in. Seemed easy enough but apparently not. Maybe im going about this all wrong. Any help or tips much appreciated. Ive sent my main.py. Let me know if more context is needed....
Solara server disconnect - settings
Hi there,
It is well known that the solara docs page is itself written in solara (nice demo!)
However, of the browser tab is left alone for too long, the server disconnects and you get a message asking you to reconnect. This is a nice feature actually! I am wondering :...