Alexander Martin

Results 58 comments of Alexander Martin

There a large number of complicated examples in this thread, so here's a usecase that might be overly simplified. A function that returns the same type as the object put...

@jkneer Streamlit 1.29 introduced the `enumCoercion` configuration flag which "magics" this issue away for most cases where you'd use Enums with widgets. But implementing the same kind of coercion for...

Yeah that's understandable @jkneer, I kind of went through the same process and it's what eventually led to the EnumCoersion feature in the first place. Knowing what I know now,...

@arnaudmiribel I'd be happy to throw it on a PR once I've made a few more tweaks. It absolutely does look like what's on that blog-post, just packaged a bit...

Great! And it seems like I would want to add the project like the [annotated_text](https://github.com/arnaudmiribel/streamlit-extras/blob/main/src/streamlit_extras/annotated_text/__init__.py) one, where there's a thin wrapper around the imported functions and some examples, correct? If...

@sfc-gh-jcarroll I think this might be related to but not exactly the same as https://github.com/streamlit/streamlit/issues/8089 which I just submitted. Your work-around did give me the `Block` element for the expander...

I think I would like to make this switch between the "Skeleton" and "AppSkeleton" react components depending on the height specified, but I am not sure of the best place...

@vdonato You're welcome! I certainly don't think the callback stuff is necessary, especially with the new st.partial stuff that is in the works. I would like to do some experiments...

@sfc-gh-dmatthews or @sfc-gh-jcarroll, I noticed that the Skeleton boxes and the text elements have different radii of rounded corners. I know the overall streamlit theming changed in a recent release...