Preserve url parameters when following a dcc.Link
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 24.4k
- Forks
- 2.3k
- Avg merge
- 2d 7h
- Merged PRs (30d)
- 13
Description
In a number of my apps I allow admin users to "ghost" in as other users using url parameters, i.e. myapp.com/?u=username. For multi-page apps it would be useful to (optionally?) maintain these parameters when following a Link. I imagine there are other use-cases for passing variables along between pages as well; this could be an alternative to using the Store feature, albeit in a more visible way.
For now I can use the flask args to parse parameters and append them to the href argument in the Link, but this feels hackey.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the dcc.Link entry point and how its href is handled during multi-page navigation. Define the optional URL-parameter preservation behavior described in the issue, then add coverage showing parameters survive Link navigation and verify that the existing use of Flask args remains unaffected.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- frontend, web-dev
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100