Skip to content
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

Link to tabs via # anchors #5321

Open
fredzannarbor opened this issue Sep 7, 2022 · 1 comment
Open

Link to tabs via # anchors #5321

fredzannarbor opened this issue Sep 7, 2022 · 1 comment
Labels
feature:st.tabs type:enhancement Requests for feature enhancements or new features

Comments

@fredzannarbor
Copy link

fredzannarbor commented Sep 7, 2022

Problem: Cannot direct user to correct option on tabbed pages, forcing user to do extra decision-making and forcing developer to implement additional guidance functionality

Solution

MVP: What's the smallest possible solution that would get 80% of the problem out of the way?

Allow linking to tabs similarly to linking to headers, e.g. /page1#tab1.

Additional context

Important for consistency with other linking mechanisms. Also important because its absence will delay adoption of tabs.


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.

@fredzannarbor fredzannarbor added type:enhancement Requests for feature enhancements or new features status:needs-triage Has not been triaged by the Streamlit team labels Sep 7, 2022
@jrieke jrieke added feature:st.tabs and removed status:needs-triage Has not been triaged by the Streamlit team labels Sep 21, 2022
@jrieke jrieke changed the title ability to link to tabs Link to tabs via # anchors Sep 21, 2022
@jrieke
Copy link
Collaborator

jrieke commented Sep 21, 2022

Cool idea, thanks for suggesting! I think this is something we should definitely do.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature:st.tabs type:enhancement Requests for feature enhancements or new features
Projects
None yet
Development

No branches or pull requests

4 participants