Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Modify actions in search page triggering a page reload #2798
Many actions in the search page trigger a full page reload, either because they use links to navigate to another page, or because they submit a form to the server.
That was needed in previous versions of the web interface (prior 2.0) but now can be replaced by a combination of react-router and a refresh of the reflux stores involved in the search. This has the advantage of avoiding the page reload, avoiding asking the server for the web interface assets (as described in #2488), and also avoiding flashes with the login page (as described in #2770).
This PR takes care of modifying some of those actions to avoid page reloads when:
This PR intentionally does not take care of:
Motivation and Context
The changes were motivated by #2488, and they also fix that issue.
How Has This Been Tested?
I have checked that these search elements still work after the changes: