IGS / gEAR

The gEAR Portal was created as a data archive and viewer for gene expression data including microarrays, bulk RNA-Seq, single-cell RNA-Seq and more.
https://umgear.org
GNU Affero General Public License v3.0
10 stars 5 forks source link

V2 - Add "history state" for expression and projection pages #683

Closed adkinsrs closed 3 weeks ago

adkinsrs commented 1 month ago

Currently if you are on the projection or expression search page and change conditions, then search, the URL state history is not updated (which was sort of by design as this is added to the User History) I believe. Currently the only way to generate a URL would be to search from the index page, which creates an expression page URL only and navigates there... there is no similar mechanism for the projection page. I am proposing that a "create URL" button be added to both pages, that would create a URL based on the currently set conditions for the search when the button is clicked. This way a user can easily return to such a search.

adkinsrs commented 1 month ago

This indirectly relates to #674

jorvis commented 1 month ago

I'd rather us use URL rewriting if we can.

adkinsrs commented 1 month ago

Acknowledged. So on the expression and projection pages, the "state history" code from v1 should be implemented again.

jorvis commented 1 month ago

That, anything newer you prefer, whatever. But users are going to naturally copy the URL in the browser so it's better to embrace that.

adkinsrs commented 3 weeks ago

resolved with commit b430841 ·