Currently, there isn’t a way to keep current parameters or selectively modify parameters for “go to page” action.
Example use case
You have a button in a reusable header that opens some popup (for instance, cart)
You want to reflect the UI state change via URL
You have several pages that handle different URL parameters
(e.g. 1 – a product listing page allows users to filter through list via size, color, and material parameters
(e.g. 2 – a settings page that has tabs to show different sections
This cart open button can be clicked on any page that has the reusable header.
Since you define “go to page” action in a reusable element, you don’t want to “go to page” with all parameters that will be used on all pages. That will become something like
www.site.com/settings?size=&color=&material=&tab=privacyin a settings page. (or
www.site.com?size=&color=&material=&tab=in the index page that doesn’t deal with parameters at all)
So, if we have an option to:
- add a query on top of current parameters and
- remove a query from existing query parameters
We could have more dynamic URL state expressions – Any change we can have this feature?
Edit: I posted the thread as unfinished so I finished up my writing.