Alexander Chernyshev

Results 93 comments of Alexander Chernyshev

@ZupoLlask could elaborate with a little more specifics please? Looks valuable to me. As of caching - my understanding was: * st.cache_data - single user session, basically same as session_state...

> thanks for the reply @ZupoLlask, well, as far as I understand cache_data is still global, although on that page streamlit does not state it explicitly it only says https://docs.streamlit.io/library/api-reference/performance/st.cache_data...

You can't use cookies in shared environments, because cookies are tied to the domain in user's browser (i.e. on client side). Session state has nothing to do with that at...

StreamlitAntDComponents might be of use. See demo at https://nicedouble-streamlitantdcomponentsdemo-app-middmy.streamlit.app/ - Steps component - same meaning, allows disabled / initial step

@renatoaraujods Not really the place for questions about another project. ![screenshot](https://github.com/Mohamed-512/Extra-Streamlit-Components/assets/14203878/825160c0-b84e-4e76-b009-d9113b0d2512)

In the demo it's a single-page app. With new multipage navigation you can hide original multipage menu and add sac menu to each page, but well, that sucks

Option not to show multipage navigation was added just recently. I wasn't able too google up docs on it fast, probably under Streamlit configuration page. But here's a config from...

It has option to return index, check the demo. Yet, it could be difficult to convert it correctly, due to tree nature. Not both, either text it index.

For flat menu - you gave a list[MenuItem]. You get index of selected item. Name=items_list[selected_index].name. Tune to your structure

I believe that's how Streamlit works. It hashes component based on all initial values - labels, starting values, options list, key, etc. If any of that changes - Streamlit treats...