-
Notifications
You must be signed in to change notification settings - Fork 4k
Closed
Labels
feature:st.page_linkRelated to the `st.page_link` elementRelated to the `st.page_link` elementstatus:likelyWill probably implement but no timeline yetWill probably implement but no timeline yettype:enhancementRequests for feature enhancements or new featuresRequests for feature enhancements or new features
Description
Checklist
- I have searched the existing issues for similar feature requests.
- I added a descriptive title and summary to this issue.
Summary
Reading an writing query params using st.query_params can be quire useful. It would be handy to support passing query params with st.page_link
Why?
Useful for creating drill down page links, and improves sharing a page's state using the url.
How?
- introduce a new parameter
query_params: dict[str, str | Iterable[str]]tost.page_linkto attach query params to the link:st.page_link(page="pages/foo.py", query_params={"my": "params", "go": "here"}) - and/or allow query params in the
pageargument:st.page_link(page="pages/foo.py?my=params&go=here")
Additional Context
No response
github-actions, xgorse, filiptammergard, wtolson, silverOrdeal and 111 moredashed, StarDustEins, krizt9 and khamaileon
Metadata
Metadata
Assignees
Labels
feature:st.page_linkRelated to the `st.page_link` elementRelated to the `st.page_link` elementstatus:likelyWill probably implement but no timeline yetWill probably implement but no timeline yettype:enhancementRequests for feature enhancements or new featuresRequests for feature enhancements or new features