I would like to be able to remove the menu bar when shipping to production. Is that possible?
I would think it natural to remove. The user does not need to understand that this is a Streamlit app as far as I can see. Maybe they would still need to be able to recalculate? Or clear the cache? But so far I only see the use case for that in development.
so far I only see the use case for that in development.
I agree. Weâve been thinking about how to solve that one lately. One idea is: when developing a Streamlit app youâd use streamlit run myname.py as usual, but when serving it to users youâd use streamlit serve myname.py.
The latter would start the app normally except:
The hamburger menu have fewer items (or maybe it wouldnât be there at all, as you propose)
Streamlit would not watch your filesystem for changes
Hey @zacheism, this is a functionality that weâre still building out and we donât yet have a set timeline for when it will be available. Iâd definitely recommend following, upvoting, and/or commenting on the enhancement though! Weâd to get your input on it, especially while itâs still in the development phase. Weâre always looking for feedback from the community about workflows and how Streamlit is being used in those workflows.
Sounds good! I donât really have much to add to the issue, just that this menu doesnât really serve any purpose to the user, so thereâs no reason the user should see it. I like the production / development mode idea though as it is helpful for clearing the cache / rerunning. But having two menus (the side bar and the hamburger), in my opinion, is just confusing and somewhat odd from a UI/UX perspective. But then again, I much prefer minimalistic design (which you guys otherwise nail) so this could just be my opinion.
I upvoted the Github issue to remove the hamburger menu. Itâs a non starter. I wonât use streamlit to deploy apps to non-technical content consumers without being able to hide that menu â itâs just too confusing.
Thanks @Mani, it works great. But I think it is a little insecure. For just some seconds the menu is showed. I clicked on it during this short time and could get access to the source.
I vote +1 with @Marc initial post and Thiago suggestion.
It will be better if we can customize the hamburger menu and options within it.
also I have read another topic, but the issue is still open.
is there any newer updates?
I would like to know how streamlit manages to show the pop-up window while clicking on the settings option in the hamburger menu. Specifically,
Its observable that, this pop-up window contains a drop-down list and some check boxes. Also, the rest of the page is dimmed when the pop-up window appears.
I can really use this functionality to show pop up information or even add some streamlit components in the pop up window such as buttons and drop down box.