Open tmfrnz opened 10 months ago
adding some clarifications
this is not about removing the query args from the URL when navigating in the app (we actually want to keep them so that users don't have to change the view over and over)
this is only about removing them from the URL included in the print header
we already have a basic cleanup in place but need to make this smarter, i.e. dependent on current view https://github.com/dumparkltd/marine-defrag-client/blob/print-optimisations-128/app/components/Header/HeaderPrint.js#L73
the idea is that his link will allow users to go back to the view that was exported but without any bits that are not relevant to that view, e.g. when printing a list or map view, we need to keep the "view" arg, but we want to remove it when we are on a single view