Open oeb25 opened 9 months ago
That's a very good point. It would also cause confusion if the user deletes a site from liked or disliked sites, but the old sr
is used.
I think we should probably only sync the q
, gl
and optic
parameters and build the rest from localstorage.
If one goes to the settings after performing a search, toggles safe-search, and then goes back to
/search
, then?ss=
is still set to the old value. However, any new search correctly uses the new value of safe-search.This is in line what we expect when storing the query in sessions storage, but perhaps some parts of
url.search
should not be synced.What are your thoughts on this?