Joshua Carroll

Results 60 comments of Joshua Carroll

Hey all we just merged in the requested features: - `st.switch_page(page: str)` https://github.com/streamlit/streamlit/pull/7853 - Config `[client] showSidebarNavigation = false` https://github.com/streamlit/streamlit/pull/7852 These should both be in the next nightly build and...

Maybe also of interest: - Just released in 1.31, [st.page_link()](https://docs.streamlit.io/library/api-reference/widgets/st.page_link) - Check out our just-published [guide on custom navigation](https://docs.streamlit.io/library/advanced-features/multipage-apps/custom-navigation)

Hi all, we shipped a first version of this feature in Streamlit 1.18. You can learn more here: https://docs.streamlit.io/knowledge-base/using-streamlit/how-host-static-files Note we don't support serving arbitrary rendered html/javascript/css, it will just...

Fixed by https://github.com/streamlit/streamlit/pull/5691

Thanks @qutang ! Agreed, we want to complete the full API soon for all commands. As a workaround, you should be able to use `at.get("expandable")` to get a list of...

Sounds like a great solution to put in the JS hooks and expose the API in streamlit-extras for now. Thanks @Asaurus1 for building this and working with us to drive...

Cool idea! Thanks for the contribution and starting a PR. Should it work for `st.switch_page()` too? Although technically I think that's possible today by setting some session_state before switching the...

Great! Yeah that use case makes sense. It's definitely a common one and something we want to make easier over time. By the way, it should be possible to do...

Anyway, I will respond back soon about the API and next steps for the `st.page_link(..., query_params={})` PR.

Yep as @Asaurus1 mentioned we would most likely support this via an API like `st.rerun(scope='fragment')`. I would suggest to hold off on any contributions here until @vdonato and I can...