-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Coming soon] Create multipages app programmatically #4866
Comments
+1, would love this |
+1 on @PaleNeutron 's suggestion,
|
Hey all! Thanks for your feedback, this is super helpful. We definitely want to fix most of the issues you mentioned, since we heard similar feedback from other users. I don't know yet in which way we'll solve it, but we are on it! ;) |
Hey @jrieke , Thanks for the update on this issue, available to discuss use cases and why we'd love finer control over the page definition for production web apps 👍 |
@gaspard-met Yeah actually it would be great to discuss if you have more advanced use cases! Want to shoot me an email at johannes.rieke@snowflake.com, and we can schedule something if you like? |
Hi @jrieke , I had missed your prompt answer, my bad |
Great idea. This would allow us to control how the labels look, independent of the filenames. For example, the landing page might be main.py, but we want to label it "My Home Page". Hope this idea makes it into streamlit. |
Note to myself: also look at #5506, which contains some ideas on how to do this with a YAML file. |
Having a configuration file would be nice, but personally I am really interested in the ability to display pages conditionally. |
I also want to show and hide pages conditionally! For different user groups. |
Currently, if we want to create a multipages app, we have to put page files into
pages
folder and give them names like1_pageapple.py
, andpageapple
will show as label on web page.This will make three problems:
I think streamlit at least should provide a manually model, just like:
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.
The text was updated successfully, but these errors were encountered: