set multipage app emoji in st.page_config not filename
See original GitHub issueCurrently, for multipage apps, you have to put the emoji in the filename of the individual pages
For instance from your example:
01_🎈_main_page.py pages/02_❄️_page2.py pages/03_🎉_page3.py
I don’t quite like having to put emojis in filenames especially when you allow for a config method in the code itself.
Perhaps having something like st.page_config(sidebar_icon=)
?
Thanks.
Community voting on feature requests enables the Streamlit team to understand which features are most important to our users.
If you’d like the Streamlit team to prioritize this feature request, please use the 👍 (thumbs up emoji) reaction in response to the initial post.
Issue Analytics
- State:
- Created a year ago
- Reactions:16
- Comments:8
Top Results From Across the Web
Multipage app not running st.set_page_config when going ...
Hi. When I start the app and go directly to http://localhost:8051/subpage the wide layout that is set in st.set_page_config is not applied.
Read more >How to change the Page Name and Icon of Streamlit Apps
... how to change the page name and page icon of your streamlit python apps. ... ===Code=== st.beta_set_page_config(page_title='Hello.io' ...
Read more >Bug #1931497 “Patch To Fix Bug in the Linux Block Layer ...
This bug was introduced in Linux 5.1 when the block layer BIO page tracking is enhanced to support multiple pages. Without this patch ......
Read more >The documentation of the Hugo static site generator in one ...
Hugo is for people who want to hand code their own website without worrying about setting up complicated runtimes, dependencies and databases.
Read more >docs - Apple Open Source
CoreAudioCaptureSourceIOS requires the audio source be interrupted if the app has not the right background mode. It also allows interrupting ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi @jrieke sorry for the late response (holiday weekend and all). Agreed with @zachschillaci27 regarding PEP 8 guidelines but a couple other things:
If I’m developing locally and want to to do
streamlit run my_multipage_app.py
it is easy to just type outmy_multipage_app.py
. But if I have to type outstreamlit run 👍_My_Multipage_App.py
it is just difficult (I either need to copy the filename itself, list all the files in my directory and copy-paste, or go copy 👍 elsewhere). Cosmetic choices like 👍 and where letters are capitalized should go in the code itself.Furthermore, if I have to reference
my_multipage_app.py
anywhere in other code, and I want to change the emoji for some reason, I have to go track down every instance ofmy_multipage_app.py
which might be difficult. One cosmetic change about the app shouldn’t cause me to have to change any references to the app itself.I really love the multipage app functionality - it’s a HUGE improvement to Streamlit and it’s fantastic - but I do think these cosmetic changes should be included in the
st.set_page_config()
call.Hi, just wanted to check in on this to see if this was on the development pipeline, and if so, what the likely timeline was?
emojis within the filename causes me many issues, would be good for planning purposes to understand if this implementation for multipage icons was likely to be changed.
Thanks