iossifovlab / gpfjs

MIT License
0 stars 0 forks source link

fix gene profiles state resetting #1053

Closed IvoStefanov closed 5 months ago

IvoStefanov commented 6 months ago

Background

Dataset component resets every state when switching between dataset tools. Gene profiles state must not be reset in the same manner.

Sort by is not properly loaded by the state.

Aim

Make Gene profiles state persistent between pages.

Make sort by loadable by the state.

Implementation

Replace reset all states with reset all but one.

Refactor "sort by" default value fetching. Refactor gene profiles block and table to not disturb state usage.