Closed markcraig closed 5 months ago
The HDAP store could save the most recent search terms and search results. If so, they ought to be cleared when the user logs out.
This should also keep the last advanced search results as well, as implemented for https://github.com/markcraig/hdap-demo/issues/15
The restored search state should depend on whether I've selected a basic search or an advanced search, and it would be nice to preserve that selection, too, when I navigate away from the search page.
As a user I'd like to search, view one of the results, navigate to the previous page in my browser, and find my search terms and results right there again.
If I actively reset the search terms or log out, then the search page should be blank again when I next navigate to it. If my session (JWT) expires, but I haven't actively logged out, it would nice to preserve the search state.